[packages/ocsync] - Added devel package with header and library files
caleb
caleb at pld-linux.org
Fri Sep 6 17:47:08 CEST 2013
commit 236c7f0b535d2c8ce189fce1e0b1439230bf0961
Author: Caleb Maclennan <caleb at pld-linux.org>
Date: Fri Sep 6 18:46:44 2013 +0300
- Added devel package with header and library files
ocsync.spec | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/ocsync.spec b/ocsync.spec
index 70f70d9..571ee42 100644
--- a/ocsync.spec
+++ b/ocsync.spec
@@ -32,6 +32,14 @@ community to support the ownCloud client. csync is an implementation of a
file synchronizer which provides the feature of roaming home directories
for Linux clients. csync makes use of libsmbclient in Samba/Windows environments.
+%package devel
+Summary: Development header files and libraries for %{name}
+Group: Developer/Libraries
+Requires: %{name} = %{version}
+
+%description devel
+Development header files and libraries for %{name}
+
%prep
%setup -q
@@ -77,7 +85,7 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) %{_sysconfdir}/ocsync/ocsync_exclude.conf
%attr(755,root,root) %{_bindir}/ocsync
%dir %{_sysconfdir}/ocsync
-%{_libdir}/libocsync.so.*
+%attr(755,root,root) %{_libdir}/libocsync.so.*
%dir %{_libdir}/ocsync-0
%{_mandir}/man1/ocsync.1.gz
@@ -85,3 +93,8 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%{_libdir}/ocsync-0/ocsync_owncloud.so
%{_libdir}/libhttpbflib.a
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libocsync.so
+%{_includedir}/%{name}/*.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocsync.git/commitdiff/236c7f0b535d2c8ce189fce1e0b1439230bf0961
More information about the pld-cvs-commit
mailing list