cleanup, use %license

epel9
Rex Dieter 9 years ago
parent af50f163a2
commit 70b18b15bc

5
.gitignore vendored

@ -1,6 +1 @@
/kdegraphics-mobipocket-15.04.0.tar.xz
/kdegraphics-mobipocket-15.04.1.tar.xz
/kdegraphics-mobipocket-15.04.2.tar.xz
/kdegraphics-mobipocket-15.08.0.tar.xz
/kdegraphics-mobipocket-15.08.3.tar.xz
/kdegraphics-mobipocket-15.12.1.tar.xz /kdegraphics-mobipocket-15.12.1.tar.xz

@ -1,10 +1,10 @@
Name: kdegraphics-mobipocket Name: kdegraphics-mobipocket
Summary: A collection of plugins to handle mobipocket files Summary: A collection of plugins to handle mobipocket files
Version: 15.12.1 Version: 15.12.1
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://projects.kde.org/projects/kde/kdegraphics/mobipocket URL: https://projects.kde.org/mobipocket
%global revision %(echo %{version} | cut -d. -f3) %global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50 %if %{revision} >= 50
%global stable unstable %global stable unstable
@ -21,7 +21,6 @@ BuildRequires: kdelibs4-devel >= 4.14
BuildRequires: pkgconfig(libstreams) BuildRequires: pkgconfig(libstreams)
Requires: qmobipocket%{?_isa} = %{version}-%{release} Requires: qmobipocket%{?_isa} = %{version}-%{release}
%{?kde_runtime_requires}
# when split occurred # when split occurred
Conflicts: kdegraphics < 7:4.6.95-10 Conflicts: kdegraphics < 7:4.6.95-10
@ -53,7 +52,7 @@ Requires: qmobipocket%{?_isa} = %{version}-%{release}
%build %build
mkdir -p %{_target_platform} mkdir %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}
%{cmake_kde4} .. %{cmake_kde4} ..
popd popd
@ -66,7 +65,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%files %files
%doc COPYING %license COPYING
%{_kde4_libdir}/kde4/mobithumbnail.so %{_kde4_libdir}/kde4/mobithumbnail.so
%{_kde4_libdir}/strigi/strigila_mobi.so %{_kde4_libdir}/strigi/strigila_mobi.so
%{_kde4_datadir}/kde4/services/mobithumbnail.desktop %{_kde4_datadir}/kde4/services/mobithumbnail.desktop
@ -75,6 +74,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%postun -n qmobipocket -p /sbin/ldconfig %postun -n qmobipocket -p /sbin/ldconfig
%files -n qmobipocket %files -n qmobipocket
%license COPYING
%{_kde4_libdir}/libqmobipocket.so.1* %{_kde4_libdir}/libqmobipocket.so.1*
%files -n qmobipocket-devel %files -n qmobipocket-devel
@ -85,6 +85,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog %changelog
* Thu Feb 04 2016 Rex Dieter <rdieter@fedoraproject.org> 15.12.1-3
- cleanup, use %%license
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.12.1-2 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.12.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save