packages: syncevolution/syncevolution.spec - -libs, -devel and -static subp...

jajcus jajcus at pld-linux.org
Tue Mar 30 19:52:03 CEST 2010


Author: jajcus                       Date: Tue Mar 30 17:52:03 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- -libs, -devel and -static subpackages
- Release: 1

---- Files affected:
packages/syncevolution:
   syncevolution.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/syncevolution/syncevolution.spec
diff -u packages/syncevolution/syncevolution.spec:1.14 packages/syncevolution/syncevolution.spec:1.15
--- packages/syncevolution/syncevolution.spec:1.14	Thu Mar 11 19:52:52 2010
+++ packages/syncevolution/syncevolution.spec	Tue Mar 30 19:51:58 2010
@@ -1,13 +1,10 @@
 # $Revision$, $Date$
 #
-# TODO:
-#    - a -devel and -static subpackages
-#
 Summary:	Synchronization for contacts and calendars for Evolution
 Summary(pl.UTF-8):	Synchronizacja kontaktów i kalendarzy dla Evolution
 Name:		syncevolution
 Version:	0.9.2
-Release:	0.1
+Release:	1
 License:	GPL v2+ + OpenSSL exception
 Group:		Applications
 Source0:	http://downloads.syncevolution.org/syncevolution/sources/%{name}-%{version}.tar.gz
@@ -20,6 +17,7 @@
 BuildRequires:	glib2-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	sqlite3-devel
+Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,6 +34,40 @@
 %description -l pl.UTF-8
 Synchronizacja kontaktów i kalendarzy dla Evolution.
 
+%package libs
+Summary:	Syncevolution libraries
+Summary(pl.UTF-8):	Biblioteki Syncevolution
+Group:		Libraries
+
+%description libs
+Syncevolution shared libraries.
+
+%description libs -l pl.UTF-8
+Biblioteki dzielone Syncevolution.
+
+%package static
+Summary:	Syncevolution static libs
+Summary(pl.UTF-8):	Biblioteki statyczne Syncevolution
+Group:		Libraries
+
+%description static
+Syncevolution static libraries.
+
+%description static -l pl.UTF-8
+Biblioteki statyczne Syncevolution.
+
+%package devel
+Summary:	Header files for Syncevolution libraries
+Summary(pl.UTF-8):	Pliki nagłówkowe bibliotek Syncevolution
+Group:		Development/Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+
+%description devel
+Header files for Syncevolution libraries
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe bibliotek Syncevolution.
+
 %prep
 %setup -q
 
@@ -66,6 +98,7 @@
 %defattr(644,root,root,755)
 # COPYING contains additional notes
 %doc AUTHORS COPYING ChangeLog NEWS README test/README.*
+%dir %{_datadir}/syncevolution
 %dir %{_datadir}/syncevolution/templates
 %dir %{_datadir}/syncevolution/templates/Funambol
 %{_datadir}/syncevolution/templates/Funambol/*
@@ -73,18 +106,36 @@
 %{_datadir}/syncevolution/templates/ScheduleWorld/*
 %attr(755,root,root) %{_bindir}/synccompare
 %attr(755,root,root) %{_bindir}/syncevolution
-%ghost  %{_libdir}/lib*.so.0
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %ghost  %{_libdir}/lib*.so.0
 %attr(755,root,root) %{_libdir}/lib*.so.0.*
 %dir %{_libdir}/syncevolution
 %dir %{_libdir}/syncevolution/backends
 %attr(755,root,root) %{_libdir}/syncevolution/backends/*.so
 
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/lib*.la
+%{_libdir}/lib*.so
+%{_includedir}/*
+%{_pkgconfigdir}/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2010/03/30 17:51:58  jajcus
+- -libs, -devel and -static subpackages
+- Release: 1
+
 Revision 1.14  2010/03/11 18:52:52  jajcus
 - Version: 0.9.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/syncevolution/syncevolution.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list