forked from WikiSuite/syncthing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsyncthing.spec
59 lines (49 loc) · 1.97 KB
/
syncthing.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
Name: syncthing
Version: 0.14.49
Release: 0%{?dist}
Summary: Open, trustworthy and decentralized sync
# Set to amd64 or 386
%define arch amd64
Group: Applications/System
License: MPLv2
URL: https://github.com/syncthing/syncthing
Source0: https://github.com/syncthing/syncthing/releases/download/v%{version}/syncthing-linux-%{arch}-v%{version}.tar.gz
Requires: policycoreutils-python
%description
Syncthing replaces proprietary sync and cloud services with something open,
trustworthy and decentralized. 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
tar -zxf %{SOURCE0}
cd syncthing-linux-%{arch}-v%{version}/
%install
mkdir -p %{buildroot}/usr/bin/
cd syncthing-linux-%{arch}-v%{version}/
cp syncthing %{buildroot}/usr/bin/
mkdir -p %{buildroot}/etc/systemd/system/
cp etc/linux-systemd/system/syncthing\@.service %{buildroot}/etc/systemd/system/
cp etc/linux-systemd/system/syncthing-resume.service %{buildroot}/etc/systemd/system/
mkdir -p %{buildroot}/etc/systemd/user/
cp etc/linux-systemd/user/syncthing.service %{buildroot}/etc/systemd/user/
%files
%defattr(-,root,root)
/usr/bin/syncthing
/etc/systemd/system/[email protected]
/etc/systemd/system/syncthing-resume.service
/etc/systemd/user/syncthing.service
%changelog
* Sat Aug 04 2018 Serge Kishiko <[email protected]>
- Bump synthing version 0.14.47 -> 0.14.49
* Thu Dec 14 2017 Benjamin Chambers <[email protected]>
- Bump synthing version 0.14.26 -> 0.14.41
* Mon Apr 03 2017 Benjamin Chambers <[email protected]>
- Bump synthing version 0.14.13 -> 0.14.26
* Wed Nov 30 2016 Benjamin Chambers <[email protected]>
- Bump synthing version 0.14.9 -> 0.14.13
* Mon Oct 24 2016 Benjamin Chambers <[email protected]>
- Bump synthing version 0.13.1 -> 0.14.7
* Thu Sep 22 2016 Logan Owen <[email protected]>
- Bump synthing version 0.13.1 -> 0.14.7
* Mon Feb 08 2016 Martin Lazarov <[email protected]>
- Initial spec version