Create -libs subpackage

epel9
Dan Vrátil 10 years ago
parent 7b195a1050
commit 3e14b7658e

@ -27,9 +27,11 @@ BuildRequires: qt5-qttools-devel
Requires: kf5-filesystem
Provides: kf5-solid-runtime = %{version}-%{release}
Provides: kf5-solid-runtime%{?_isa} = %{version}-%{release}
Obsoletes: kf5-solid-runtime < 4.99.0.1
Provides: %{name}-runtime = %{version}-%{release}
Provides: %{name}-runtime%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-runtime < 4.99.0.1
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description
Solid provides the following features for application developers:
@ -37,6 +39,13 @@ Solid provides the following features for application developers:
- Power Management
- Network Management
%package libs
Summary: Runtime libraries for Solid Framework
# When the split occured
Conflicts: %{name} < 5.4.0-1
Requires: %{name} = %{version}-%{release}
%description libs
%{summary}.
%package devel
Summary: Development files for %{name}
@ -63,14 +72,16 @@ make %{?_smp_mflags} -C %{_target_platform}
%find_lang solid5_qt --with-qt --all-name
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f solid5_qt.lang
%files
%doc COPYING.LIB README.md TODO
%{_kf5_bindir}/solid-hardware5
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files libs -f solid5_qt.lang
%{_kf5_qmldir}/org/kde/solid
%{_kf5_libdir}/libKF5Solid.so.*
%{_kf5_bindir}/solid-hardware5
%files devel
%{_kf5_includedir}/solid_version.h
@ -83,6 +94,7 @@ make %{?_smp_mflags} -C %{_target_platform}
%changelog
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
- KDE Frameworks 5.4.0
- Create -libs subpkg
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
- KDE Frameworks 5.3.0

Loading…
Cancel
Save