packages: akonadi/akonadi.spec - separate libs and .xmls needed to build kd...

shadzik shadzik at pld-linux.org
Tue Aug 11 14:10:27 CEST 2009


Author: shadzik                      Date: Tue Aug 11 12:10:27 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- separate libs and .xmls needed to build kde4-kdepimlibs to -libs subpackage
- that way you won't need akonadi binaries to run kde4 and therefore you won't need to install mysql
- rel 5

---- Files affected:
packages/akonadi:
   akonadi.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: packages/akonadi/akonadi.spec
diff -u packages/akonadi/akonadi.spec:1.32 packages/akonadi/akonadi.spec:1.33
--- packages/akonadi/akonadi.spec:1.32	Tue Aug 11 13:25:51 2009
+++ packages/akonadi/akonadi.spec	Tue Aug 11 14:10:22 2009
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Akonadi - usługa przechowywania danych dla aplikacji PIM
 Name:		akonadi
 Version:	1.2.0
-Release:	4
+Release:	5
 License:	GPL v2
 Group:		X11/Applications
 Source0:	http://download.akonadi-project.org/%{name}-%{version}.tar.bz2
@@ -26,6 +26,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.293
 BuildRequires:	shared-mime-info
 BuildRequires:	soprano-devel
+Requires:	%{name}-libs = %{version}-%{release}
 Requires:	mysql
 Requires:	QtSql-mysql
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -52,7 +53,7 @@
 Summary:	Header files for Akonadi
 Summary(pl.UTF-8):	Pliki nagłówkowe dla Akonadi
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 
 %description devel
 Header files needed to build Akonadi client libraries and
@@ -62,6 +63,17 @@
 Pliki nagłówkowe do tworzenia bibliotek klienckich i aplikacji
 używających Akonadi.
 
+%package libs
+Summary:	Akonadi libraries
+Summary(pl.UTF-8):	Biblioteki Akonadi
+Group:		Libraries
+
+%description libs
+Akonadi libraries.
+
+%description libs -l pl.UTF-8
+Biblioteki Akonadi.
+
 %prep
 %setup -q
 %patch0 -p0
@@ -88,36 +100,39 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/akonadi_control
 %attr(755,root,root) %{_bindir}/akonadictl
 %attr(755,root,root) %{_bindir}/akonadiserver
-%attr(755,root,root) %ghost %{_libdir}/libakonadiprivate.so.?
-%attr(755,root,root) %{_libdir}/libakonadiprivate.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libakonadiprotocolinternals.so.?
-%attr(755,root,root) %{_libdir}/libakonadiprotocolinternals.so.*.*.*
 %dir %{_datadir}/config/akonadi
 %{_datadir}/config/akonadi/mysql-global.conf
 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Agent.Control.xml
-%{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Agent.Status.xml
-%{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.AgentManager.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.ControlManager.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.DebugInterface.xml
-%{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.NotificationManager.xml
-%{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Resource.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Search.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.SearchQuery.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.SearchQueryIterator.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Server.xml
-%{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Tracer.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.TracerNotification.xml
 %{_datadir}/dbus-1/services/org.freedesktop.Akonadi.Control.service
 %{_datadir}/mime/packages/akonadi-mime.xml
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %ghost %{_libdir}/libakonadiprivate.so.?
+%attr(755,root,root) %{_libdir}/libakonadiprivate.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libakonadiprotocolinternals.so.?
+%attr(755,root,root) %{_libdir}/libakonadiprotocolinternals.so.*.*.*
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.AgentManager.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Agent.Status.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.NotificationManager.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Tracer.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Akonadi.Resource.xml
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libakonadiprivate.so
@@ -133,6 +148,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2009/08/11 12:10:22  shadzik
+- separate libs and .xmls needed to build kde4-kdepimlibs to -libs subpackage
+- that way you won't need akonadi binaries to run kde4 and therefore you won't need to install mysql
+- rel 5
+
 Revision 1.32  2009/08/11 11:25:51  shadzik
 - add -mysqlpath.patch
 - rel 4
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/akonadi/akonadi.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list