Skip to content

Commit 5aff38a

Browse files
authored
Add jj specfile (#18)
1 parent 8d0d388 commit 5aff38a

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

specs/jj.spec

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
%global debug_package %{nil}
2+
3+
Name: jj
4+
Version: 0.23.0
5+
Release: 1%{?dist}
6+
Summary: A Git-compatible VCS that is both simple and powerful
7+
8+
License: Apache v2.0
9+
# https://github.com/martinvonz/jj/releases/download/v0.23.0/jj-v0.23.0-x86_64-unknown-linux-musl.tar.gz
10+
URL: https://github.com/martinvonz/jj
11+
Source: %{url}/releases/download/v%{version}/%{name}-v%{version}-x86_64-unknown-linux-musl.tar.gz
12+
Source1: https://raw.githubusercontent.com/martinvonz/jj/v%{version}/README.md
13+
Source2: https://raw.githubusercontent.com/martinvonz/jj/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 %{name} %{buildroot}%{_bindir}/%{name}
27+
28+
%files
29+
%doc CONFIGURATION.md
30+
%license LICENSE
31+
%{_bindir}/%{name}
32+
33+
%changelog
34+
%autochangelog

0 commit comments

Comments
 (0)