Christophe Giboudeaux 2017-08-05 22:56:10 +00:00 committed by Git OBS Bridge
parent d402fae730
commit 740affd274

View File

@ -55,8 +55,6 @@ BuildRequires: libtag-devel
BuildRequires: openslp-devel
BuildRequires: phonon4qt5-devel
BuildRequires: pkgconfig
BuildRequires: solid-devel
BuildRequires: xz
BuildRequires: pkgconfig(Qt5DBus) >= 5.4.0
BuildRequires: pkgconfig(Qt5Network) >= 5.4.0
BuildRequires: pkgconfig(Qt5Sql)
@ -66,18 +64,40 @@ BuildRequires: pkgconfig(Qt5Widgets) >= 5.4.0
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(exiv2)
BuildRequires: pkgconfig(smbclient)
BuildRequires: solid-devel
BuildRequires: xz
Recommends: kimageformats
# we want some imageformats in
Recommends: libqt5-qtimageformats
#BuildRequires: update-desktop-files
Provides: kfileaudiopreview = 4.100.0
Obsoletes: kfileaudiopreview < 4.100.0
%if %{with lang}
Recommends: %{name}-lang
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Additional KIO slaves for KDE applications.
%package -n libkioarchive5
Group: System/Libraries
Summary: The archiver base class library
%description -n libkioarchive5
So that support for other archive formats can be built outside
of the kio-extras source tree. The archiver base class is now
a separately installed library, with the specific archive formats
using it.
%package -n libkioarchive-devel
Group: Development/Libraries/C and C++
Summary: Development package for libkioarchive5
Requires: libkioarchive5 = %{version}
%description -n libkioarchive-devel
This is the development package for libkioarchive
%if %{with lang}
%lang_package
%endif
@ -104,6 +124,9 @@ sed -i '/^add_subdirectory( doc )/d' CMakeLists.txt
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n libkioarchive5 -p /sbin/ldconfig
%postun -n libkioarchive5 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_kf5_libdir}/libmolletnetwork5.so.*
@ -120,6 +143,16 @@ sed -i '/^add_subdirectory( doc )/d' CMakeLists.txt
%{_kf5_sharedir}/solid/
%{_kf5_sharedir}/mime/packages/kf5_network.xml
%files -n libkioarchive-devel
%defattr(-,root,root)
%{_includedir}/KF5/kio_archivebase.h
%{_includedir}/KF5/libkioarchive_export.h
%{_libdir}/cmake/KioArchive/
%files -n libkioarchive5
%defattr(-,root,root)
%{_libdir}/libkioarchive.so.5*
%if %{with lang}
%files lang -f %{name}.lang
%endif