[packages/syncthing: 2/2] package all bin, manuals
glen
glen at pld-linux.org
Mon Jun 13 19:53:42 CEST 2016
commit 39a738b8ab3986bdb77d5b57700e5060ad836491
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jun 13 20:52:56 2016 +0300
package all bin, manuals
syncthing.spec | 35 +++++++++++++++++++++++++++++++++--
1 file changed, 33 insertions(+), 2 deletions(-)
---
diff --git a/syncthing.spec b/syncthing.spec
index 6b3fa9b..97bc174 100644
--- a/syncthing.spec
+++ b/syncthing.spec
@@ -41,8 +41,11 @@ go run build.go -version "v%{version}" -no-upgrade
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-install -p bin/syncthing $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5,7}}
+install -p bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -p man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p man/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
+cp -p man/*.7 $RPM_BUILD_ROOT%{_mandir}/man7
%clean
rm -rf $RPM_BUILD_ROOT
@@ -50,4 +53,32 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README.md AUTHORS CONTRIBUTING.md
+%attr(755,root,root) %{_bindir}/discosrv
+%attr(755,root,root) %{_bindir}/relaysrv
+%attr(755,root,root) %{_bindir}/stbench
+%attr(755,root,root) %{_bindir}/stcompdirs
+%attr(755,root,root) %{_bindir}/stdisco
+%attr(755,root,root) %{_bindir}/stevents
+%attr(755,root,root) %{_bindir}/stfileinfo
+%attr(755,root,root) %{_bindir}/stfinddevice
+%attr(755,root,root) %{_bindir}/stgenfiles
+%attr(755,root,root) %{_bindir}/stindex
+%attr(755,root,root) %{_bindir}/stsigtool
+%attr(755,root,root) %{_bindir}/stvanity
+%attr(755,root,root) %{_bindir}/stwatchfile
%attr(755,root,root) %{_bindir}/syncthing
+%attr(755,root,root) %{_bindir}/testutil
+%{_mandir}/man1/syncthing.1*
+%{_mandir}/man5/syncthing-config.5*
+%{_mandir}/man5/syncthing-stignore.5*
+%{_mandir}/man7/syncthing-bep.7*
+%{_mandir}/man7/syncthing-device-ids.7*
+%{_mandir}/man7/syncthing-event-api.7*
+%{_mandir}/man7/syncthing-faq.7*
+%{_mandir}/man7/syncthing-globaldisco.7*
+%{_mandir}/man7/syncthing-localdisco.7*
+%{_mandir}/man7/syncthing-networking.7*
+%{_mandir}/man7/syncthing-relay.7*
+%{_mandir}/man7/syncthing-rest-api.7*
+%{_mandir}/man7/syncthing-security.7*
+%{_mandir}/man7/syncthing-versioning.7*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/syncthing.git/commitdiff/39a738b8ab3986bdb77d5b57700e5060ad836491
More information about the pld-cvs-commit
mailing list