Skip to content

Commit d6e9a97

Browse files
authored
feature/add chezmoi (#13)
* add luckycommit specs * Update luckycommit.spec * Update luckycommit.spec * Update luckycommit.spec * Update luckycommit.spec * Update luckycommit.spec * Update luckycommit.spec * Update luckycommit.spec * Update luckycommit.spec * Update luckycommit.spec * Update luckycommit.spec * Update luckycommit.spec * Add chezmoi specfile * Delete specs/luckycommit.spec
1 parent 07538c3 commit d6e9a97

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
__pycache__/
2-
graphql_id_cache.json
2+
graphql_id_cache.json
3+
4+
specs/test/*

specs/chezmoi.spec

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
%global debug_package %{nil}
2+
3+
Name: chezmoi
4+
Version: 2.54.0
5+
Release: 1%{?dist}
6+
Summary: Manage your dotfiles across multiple diverse machines, securely.
7+
8+
# https://github.com/twpayne/chezmoi/releases/download/v2.54.0/chezmoi_2.54.0_linux-musl_amd64.tar.gz
9+
License: MIT
10+
URL: https://github.com/twpayne/chezmoi
11+
Source: %{url}/releases/download/v%{version}/%{name}_%{version}_linux-musl_amd64.tar.gz
12+
Source1: https://raw.githubusercontent.com/twpayne/chezmoi/v%{version}/README.md
13+
Source2: https://raw.githubusercontent.com/twpayne/chezmoi/v%{version}/LICENSE
14+
15+
%description
16+
Manage your dotfiles across multiple diverse machines, securely.
17+
18+
%prep
19+
%autosetup -c
20+
cp %{SOURCE1} CONFIGURATION.md
21+
cp %{SOURCE2} LICENSE
22+
23+
%build
24+
25+
%install
26+
ls -la
27+
install -p -D %{name} %{buildroot}%{_bindir}/%{name}
28+
ls -la completions
29+
install -pvD -m 0644 completions/%{name}-completion.bash %{buildroot}%{bash_completions_dir}/%{name}.bash
30+
install -pvD -m 0644 completions/%{name}.zsh %{buildroot}%{zsh_completions_dir}/%{name}.zsh
31+
install -pvD -m 0644 completions/%{name}.fish %{buildroot}%{fish_completions_dir}/%{name}.fish
32+
33+
%files
34+
%doc CONFIGURATION.md
35+
%license LICENSE
36+
%{_bindir}/%{name}
37+
%{bash_completions_dir}/%{name}.bash
38+
%{zsh_completions_dir}/%{name}.zsh
39+
%{fish_completions_dir}/%{name}.fish
40+
41+
%changelog
42+
%autochangelog

0 commit comments

Comments
 (0)