Skip to content

Commit 8d0d388

Browse files
authored
Add superfile specfile (#16)
1 parent 7cafa3f commit 8d0d388

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

specs/superfile.spec

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

0 commit comments

Comments
 (0)