-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcroc.spec
63 lines (55 loc) · 2.05 KB
/
croc.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
%global debug_package %{nil}
Name: croc
Version: 9.6.1
Release: 1%{?dist}
Summary: croc - secure and easy data transfer
Group: System Environment/Shells
License: MIT
URL: https://github.com/schollz/%{name}
Source0: https://github.com/schollz/%{name}/archive/v%{version}/%{name}-v%{version}.tar.gz
BuildRequires: git,golang-bin
%description
croc is a tool that allows any two computers to simply and securely transfer files and folders
%prep
%setup -q -n %{name}-%{version}
%build
mkdir -p ./_build/src/github.com/schollz
ln -s $(pwd) ./_build/src/github.com/schollz/%{name}
export GOPATH=$(pwd)/_build:%{gopath}
go build -o %{name}
%install
install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name}
%files
%defattr(-,root,root,-)
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%changelog
* Sat Oct 29 2022 James Flynn <[email protected]> - 9.6.1-1
- Update to croc-9.6.1
* Mon Aug 8 2022 James Flynn <[email protected]> - 9.6.0-1
- Update to croc-9.6.0
* Wed May 18 2022 James Flynn <[email protected]> - 9.5.6-1
- Update to croc-9.5.5
* Thu Apr 28 2022 James Flynn <[email protected]> - 9.5.5-1
- Update to croc-9.5.5
* Thu Apr 7 2022 James Flynn <[email protected]> - 9.5.3-1
- Update to croc-9.5.3
* Sat Mar 12 2022 James Flynn <[email protected]> - 9.5.2-1
- Update to croc-9.5.2
* Tue Feb 8 2022 James Flynn <[email protected]> - 9.5.1-1
- Update to croc-9.5.1
* Thu Nov 18 2021 James Flynn <[email protected]> - 9.5.0-1
- Update to croc-9.5.0
* Mon Oct 11 2021 James Flynn <[email protected]> - 9.4.2-1
- Update to croc-9.4.2
* Mon Aug 16 2021 James Flynn <[email protected]> - 9.3.0-1
- Update to croc-9.3.0
* Mon Aug 16 2021 James Flynn <[email protected]> - 9.2.1-1
- Update to croc-9.2.1
* Thu May 13 2021 James Flynn <[email protected]> - 9.1.4-1
- Update to croc-9.1.4
* Fri Mar 26 2021 James Flynn <[email protected]> - 8.6.12-1
- Update to croc-8.6.12
* Sun Mar 21 2021 James Flynn <[email protected]> - 8.6.11-1
- Initial with croc-8.6.11