SPECS: libsyncml.spec - added -devel

qboosh qboosh at pld-linux.org
Sat Oct 7 14:27:09 CEST 2006


Author: qboosh                       Date: Sat Oct  7 12:27:09 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -devel

---- Files affected:
SPECS:
   libsyncml.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/libsyncml.spec
diff -u SPECS/libsyncml.spec:1.1 SPECS/libsyncml.spec:1.2
--- SPECS/libsyncml.spec:1.1	Sun Sep 24 20:59:48 2006
+++ SPECS/libsyncml.spec	Sat Oct  7 14:27:04 2006
@@ -1,8 +1,6 @@
 # $Revision$, $Date$
-#TODO	- split devel package
-
-Summary:	Libsyncml is a implementation of the SyncML protocol
-Summary(pl):	Libsyncml jest implementacja protokołu SyncML
+Summary:	Libsyncml - an implementation of the SyncML protocol
+Summary(pl):	Libsyncml - implementacja protokołu SyncML
 Name:		libsyncml
 Version:	0.4.0
 Release:	0.1
@@ -15,10 +13,22 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Libsyncml is a implementation of the SyncML protocol
+Libsyncml is a implementation of the SyncML protocol.
 
 %description -l pl
-Libsyncml jest implementacja protokołu SyncML
+Libsyncml jest implementacją protokołu SyncML.
+
+%package devel
+Summary:	Header files for libsyncml library
+Summary(pl):	Pliki nagłówkowe biblioteki libsyncml
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for libsyncml library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki libsyncml.
 
 %prep
 %setup -q
@@ -36,14 +46,21 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/syncml*
+%attr(755,root,root) %{_libdir}/libsyncml.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libsyncml.so*
-%{_pkgconfigdir}/libsyncml-1.0.pc
-%{_libdir}//libsyncml.la
+%{_libdir}/libsyncml.la
 %{_includedir}/libsyncml-1.0
+%{_pkgconfigdir}/libsyncml-1.0.pc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -51,6 +68,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/10/07 12:27:04  qboosh
+- added -devel
+
 Revision 1.1  2006/09/24 18:59:48  luzik
 - PLD initial release
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libsyncml.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list