Skip to content

Commit cc8637a

Browse files
committed
Initial commit
0 parents  commit cc8637a

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

SPECS/syncthing.spec

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Name: syncthing
2+
Version: 0.12.18
3+
Release: 0%{?dist}
4+
Summary: Open, trustworthy and decentralized sync
5+
6+
Group: Applications/System
7+
License: MPLv2
8+
URL: https://github.com/syncthing/syncthing
9+
Source0: https://github.com/syncthing/syncthing/releases/download/v0.12.17/syncthing-linux-386-v%{version}.tar.gz
10+
11+
Requires: policycoreutils-python
12+
13+
%description
14+
Syncthing replaces proprietary sync and cloud services with something open,
15+
trustworthy and decentralized. Your data is your data alone and you deserve
16+
to choose where it is stored, if it is shared with some third party and how
17+
it's transmitted over the Internet.
18+
19+
%prep
20+
tar -zxf %{SOURCE0}
21+
cd syncthing-linux-386-v%{version}/
22+
23+
%install
24+
mkdir -p %{buildroot}/usr/bin/
25+
cd syncthing-linux-386-v%{version}/
26+
cp syncthing %{buildroot}/usr/bin/
27+
28+
mkdir -p %{buildroot}/etc/systemd/system/
29+
cp etc/linux-systemd/system/syncthing\@.service %{buildroot}/etc/systemd/system/
30+
mkdir -p %{buildroot}/etc/systemd/user/
31+
cp etc/linux-systemd/user/syncthing.service %{buildroot}/etc/systemd/user/
32+
33+
34+
%files
35+
%defattr(-,root,root)
36+
/usr/bin/syncthing
37+
/etc/systemd/system/syncthing@.service
38+
/etc/systemd/user/syncthing.service
39+
40+
%changelog
41+
* Mon Feb 08 2016 Martin Lazarov <martin@lazarov.bg>
42+
- Initial spec version
43+

0 commit comments

Comments
 (0)