- Split AkonadiCore, AkonadiAgentBase and AkonadiWidgets libraries

to separate subpackages, as per the SLPP

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/akonadi-server?expand=0&rev=39
This commit is contained in:
Luca Beltrame 2016-05-19 21:11:22 +00:00 committed by Git OBS Bridge
parent eb684b1559
commit f1e792463f
2 changed files with 51 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 19 21:09:58 UTC 2016 - lbeltrame@kde.org
- Split AkonadiCore, AkonadiAgentBase and AkonadiWidgets libraries
to separate subpackages, as per the SLPP
------------------------------------------------------------------- -------------------------------------------------------------------
Sat May 7 10:10:06 UTC 2016 - tittiatcoke@gmail.com Sat May 7 10:10:06 UTC 2016 - tittiatcoke@gmail.com

View File

@ -78,16 +78,36 @@ Provides: libKF5AkonadiPrivate5 = %{version}
This package contains the data files of Akonadi, the KDE PIM storage This package contains the data files of Akonadi, the KDE PIM storage
service. service.
%description %package -n libKF5AkonadiCore5
This package contains the data files of Akonadi, the KDE PIM storage Summary: Core Akonadi Server library
service. Group: System/Libraries
Requires: %{name}
%description -n libKF5AkonadiCore5
This package includes the core Akonadi library, the KDE PIM storage service.
%package -n libKF5AkonadiAgentBase5
Summary: Akonadi Agent base library
Group: System/Libraries
Requires: %{name}
%description -n libKF5AkonadiAgentBase5
This package includes the agent library for Akonadi, the KDE PIM storage service.
%package -n libKF5AkonadiWidgets5
Summary: Akonadi Agent base library
Group: System/Libraries
Requires: %{name}
%description -n libKF5AkonadWidgets5
This package provides the basic GUI widgets for Akonadi, the KDE PIM storage service.
%package devel %package devel
Summary: Akonadi Framework: Build Environment Summary: Akonadi Framework: Build Environment
Group: Development/Libraries/X11 Group: Development/Libraries/X11
Requires: %{name} = %{version} Requires: %{name} = %{version}
Obsoletes: libKF5AkonadiPrivate-devel < %{version}
Obsoletes: akonadi-devel < %{version} Obsoletes: akonadi-devel < %{version}
Obsoletes: libKF5AkonadiPrivate-devel < %{version}
Provides: libKF5AkonadiPrivate-devel = %{version} Provides: libKF5AkonadiPrivate-devel = %{version}
Conflicts: libakonadiprotocolinternals-devel Conflicts: libakonadiprotocolinternals-devel
@ -113,6 +133,15 @@ service.
/sbin/ldconfig /sbin/ldconfig
%{_kf5_bindir}/update-mime-database %{_kf5_sharedir}/mime &> /dev/null || : %{_kf5_bindir}/update-mime-database %{_kf5_sharedir}/mime &> /dev/null || :
%post -n libKF5AkonadiWidgets5 -p /sbin/ldconfig
%postun -n libKF5AkonadiWidgets5 -p /sbin/ldconfig
%post -n libKF5AkonadiCore5 -p /sbin/ldconfig
%postun -n libKF5AkonadiCore5 -p /sbin/ldconfig
%post -n libKF5AkonadiAgentBase5 -p /sbin/ldconfig
%postun -n libKF5AkonadiAgentBase5 -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_kf5_bindir}/asapcat %{_kf5_bindir}/asapcat
@ -133,14 +162,23 @@ service.
%{_kf5_configkcfgdir}/resourcebase.kcfg %{_kf5_configkcfgdir}/resourcebase.kcfg
%{_kf5_plugindir}/designer/ %{_kf5_plugindir}/designer/
%{_libdir}/libKF5AkonadiPrivate.so.* %{_libdir}/libKF5AkonadiPrivate.so.*
%{_libdir}/libKF5AkonadiCore.so.*
%{_libdir}/libKF5AkonadiAgentBase.so.*
%{_libdir}/libKF5AkonadiWidgets.so.*
%{_libdir}/libKF5AkonadiXml.so.* %{_libdir}/libKF5AkonadiXml.so.*
%{_kf5_plugindir}/akonadi/ %{_kf5_plugindir}/akonadi/
%{_datadir}/akonadi/ %{_datadir}/akonadi/
%{_datadir}/kf5/akonadi_knut_resource/ %{_datadir}/kf5/akonadi_knut_resource/
%files -n libKF5AkonadiAgentBase5
%defattr(-,root,root)
%{_libdir}/libKF5AkonadiAgentBase.so.*
%files -n libKF5AkonadiCore5
%defattr(-,root,root)
%{_libdir}/libKF5AkonadiCore.so.*
%files -n libKF5AkonadiWidgets5
%defattr(-,root,root)
%{_libdir}/libKF5AkonadiWidgets.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_kf5_bindir}/akonadi2xml %{_kf5_bindir}/akonadi2xml