.spec cosmetics, update URL, use %license

epel9
Rex Dieter 9 years ago
parent 2ba710d049
commit 78e1b60ca5

@ -1,10 +1,10 @@
Name: kio-extras
Name: kio-extras
Version: 15.08.1
Release: 1%{?dist}
Summary: Additional components to increase the functionality of KIO Framework
Release: 2%{?dist}
Summary: Additional components to increase the functionality of KIO Framework
License: GPLv2+
URL: https://projects.kde.org/projects/kde/workspace/kio-extras
License: GPLv2+
URL: https://projects.kde.org/kio-extras
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
@ -12,43 +12,37 @@ URL: https://projects.kde.org/projects/kde/workspace/kio-extras
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: kf5-rpm-macros
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtsvg-devel
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: bzip2-devel
BuildRequires: cmake
BuildRequires: exiv2-devel
BuildRequires: extra-cmake-modules
BuildRequires: kf5-karchive-devel
BuildRequires: kf5-kconfig-devel
BuildRequires: kf5-kconfigwidgets-devel
BuildRequires: kf5-kcoreaddons-devel
BuildRequires: kf5-kdbusaddons-devel
BuildRequires: kf5-kdoctools-devel
BuildRequires: kf5-kdelibs4support-devel
BuildRequires: kf5-kdnssd-devel
BuildRequires: kf5-kiconthemes-devel
BuildRequires: kf5-ki18n-devel
# ktrash5 was moved to kf5-kio in 5.3.0 - prevent missing file
BuildRequires: kf5-kio-devel >= 5.3.0-1
BuildRequires: kf5-kdoctools-devel
BuildRequires: kf5-khtml-devel
BuildRequires: kf5-kdelibs4support-devel
BuildRequires: kf5-solid-devel
BuildRequires: kf5-ki18n-devel
BuildRequires: kf5-kiconthemes-devel
BuildRequires: kf5-kio-devel
BuildRequires: kf5-kpty-devel
BuildRequires: phonon-qt5-devel
BuildRequires: openslp-devel
BuildRequires: kf5-rpm-macros
BuildRequires: kf5-solid-devel
BuildRequires: libjpeg-devel
BuildRequires: libmtp-devel
BuildRequires: libsmbclient-devel
BuildRequires: libssh-devel
BuildRequires: bzip2-devel
BuildRequires: exiv2-devel
BuildRequires: OpenEXR-devel
BuildRequires: libjpeg-devel
BuildRequires: lzma-devel
BuildRequires: libsmbclient-devel
Requires: kf5-filesystem
BuildRequires: OpenEXR-devel
BuildRequires: openslp-devel
BuildRequires: phonon-qt5-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtsvg-devel
# short-lived subpkg, locale conflicts fixed in kio_mtp instead
Obsoletes: kio-extras-mtp-common < 5.2.2-3
@ -99,6 +93,8 @@ fi
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%files
# include *a* copy, others are in mtp/
%license fish/COPYING
%{_libdir}/libmolletnetwork5.so.*
%{_kf5_plugindir}/kio/archive.so
%{_kf5_plugindir}/kio/bookmarks.so
@ -153,6 +149,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%changelog
* Thu Dec 03 2015 Rex Dieter <rdieter@fedoraproject.org> 15.08.1-2
- .spec cosmetics, update URL, use %%license
* Sat Sep 12 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.08.1-1
- 15.08.1

Loading…
Cancel
Save