cosmetics, update URL, use %license, own %{_kf5_datadir}/kservices5/qimageioplugins/

This commit is contained in:
Rex Dieter 2016-01-14 10:29:52 -06:00
parent 05190c1723
commit ee78df7dba
2 changed files with 15 additions and 29 deletions

20
.gitignore vendored
View File

@ -1,21 +1 @@
/kimageformats-4.99.0.tar.xz
/kimageformats-4.100.0.tar.xz
/kimageformats-5.0.0.tar.xz
/kimageformats-5.1.0.tar.xz
/kimageformats-5.2.0.tar.xz
/kimageformats-5.3.0.tar.xz
/kimageformats-5.4.0.tar.xz
/kimageformats-5.5.0.tar.xz
/kimageformats-5.6.0.tar.xz
/kimageformats-5.7.0.tar.xz
/kimageformats-5.8.0.tar.xz
/kimageformats-5.9.0.tar.xz
/kimageformats-5.10.0.tar.xz
/kimageformats-5.11.0.tar.xz
/kimageformats-5.12.0.tar.xz
/kimageformats-5.13.0.tar.xz
/kimageformats-5.14.0.tar.xz
/kimageformats-5.15.0.tar.xz
/kimageformats-5.16.0.tar.xz
/kimageformats-5.17.0.tar.xz
/kimageformats-5.18.0.tar.xz

View File

@ -2,11 +2,11 @@
Name: kf5-%{framework}
Version: 5.18.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 1 addon with additional image plugins for QtGui
License: LGPLv2+
URL: http://www.kde.org
URL: http://projects.kde.org/kimageformats
%global versiondir %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3)
@ -17,11 +17,10 @@ URL: http://www.kde.org
%endif
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
BuildRequires: jasper-devel
BuildRequires: OpenEXR-devel
BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: extra-cmake-modules >= %{version}
BuildRequires: jasper-devel
BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: pkgconfig(OpenEXR)
BuildRequires: qt5-qtbase-devel
Requires: kf5-filesystem >= %{version}
@ -36,28 +35,35 @@ image formats.
%prep
%setup -q -n %{framework}-%{version}
%build
mkdir -p %{_target_platform}
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
%make_install -C %{_target_platform}
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING.LIB README.md
%doc README.md
license COPYING.LIB
%{_kf5_qtplugindir}/imageformats/*.so
%dir %{_kf5_datadir}/kservices5/qimageioplugins/
%{_kf5_datadir}/kservices5/qimageioplugins/*.desktop
%changelog
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
- cosmetics, update URL, use %%license, own %%{_kf5_datadir}/kservices5/qimageioplugins/
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
- KDE Frameworks 5.18.0