Created
November 14, 2014 02:14
-
-
Save javierwilson/c4ef9707437063109b31 to your computer and use it in GitHub Desktop.
spec file for pulse
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%define debug_package %{nil} | |
Name: pulse | |
Version: 0.10.5 | |
Release: 1%{?dist} | |
Summary: Open Source Continuous File Synchronization | |
Group: Applications/Internet | |
License: GPLv3 | |
URL: https://ind.ie/pulse/ | |
Source0: https://github.com/syncthing/syncthing/archive/v%{version}.tar.gz | |
BuildRequires: golang | |
#Requires: | |
%description | |
Pulse (previously Syncthing) replaces proprietary sync and cloud services with something open, trustworthy and distributed. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party, and how it's transmitted over the Internet. | |
%prep | |
%setup -q -n syncthing-%{version} | |
%build | |
export GOPATH="$(pwd)" | |
mkdir -p src/github.com/syncthing | |
ln -s "$(pwd)" src/github.com/syncthing/syncthing | |
./build.sh | |
%install | |
mkdir -p %{buildroot}/%{_bindir} | |
cp bin/stevents bin/stindex bin/syncthing %{buildroot}/%{_bindir}/ | |
%files | |
%doc LICENSE CONTRIBUTORS CONTRIBUTING.md README.md | |
%{_bindir}/stevents | |
%{_bindir}/stindex | |
%{_bindir}/syncthing | |
%changelog | |
* Thu Nov 13 2014 Javier Wilson <[email protected]> - 0.10.5-1 | |
- Initial Packaging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment