Skip to content

Commit 7cafa3f

Browse files
authored
Add lazygit and lazynpm specfile (#15)
* Add lazygit and lazynpm specfile * Update lazynpm.spec
1 parent dcaed9c commit 7cafa3f

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

specs/lazygit.spec

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
%global debug_package %{nil}
2+
3+
Name: lazygit
4+
Version: 0.44.1
5+
Release: 1%{?dist}
6+
Summary: simple terminal UI for git commands
7+
8+
License: MIT
9+
URL: https://github.com/jesseduffield/lazygit
10+
Source: %{url}/releases/download/v%{version}/%{name}_%{version}_Linux_x86_64.tar.gz
11+
Source1: https://raw.githubusercontent.com/jesseduffield/lazygit/v%{version}/README.md
12+
Source2: https://raw.githubusercontent.com/jesseduffield/lazygit/v%{version}/LICENSE
13+
14+
%description
15+
%{summary}
16+
17+
%prep
18+
%autosetup -c
19+
cp %{SOURCE1} CONFIGURATION.md
20+
cp %{SOURCE2} LICENSE
21+
22+
%build
23+
24+
%install
25+
install -p -D %{name} %{buildroot}%{_bindir}/%{name}
26+
27+
%files
28+
%doc CONFIGURATION.md
29+
%license LICENSE
30+
%{_bindir}/%{name}
31+
32+
%changelog
33+
%autochangelog

specs/lazynpm.spec

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
%global debug_package %{nil}
2+
3+
Name: lazynpm
4+
Version: 0.1.4
5+
Release: 1%{?dist}
6+
Summary: terminal UI for npm
7+
8+
License: MIT
9+
URL: https://github.com/jesseduffield/lazynpm
10+
Source: %{url}/releases/download/v%{version}/%{name}_%{version}_Linux_x86_64.tar.gz
11+
Source1: https://raw.githubusercontent.com/jesseduffield/lazynpm/v%{version}/README.md
12+
Source2: https://raw.githubusercontent.com/jesseduffield/lazynpm/v%{version}/LICENSE
13+
14+
%description
15+
%{summary}
16+
17+
%prep
18+
%autosetup -c
19+
cp %{SOURCE1} CONFIGURATION.md
20+
cp %{SOURCE2} LICENSE
21+
22+
%build
23+
24+
%install
25+
install -p -D %{name} %{buildroot}%{_bindir}/%{name}
26+
27+
%files
28+
%doc CONFIGURATION.md
29+
%license LICENSE
30+
%{_bindir}/%{name}
31+
32+
%changelog
33+
%autochangelog

0 commit comments

Comments
 (0)