From 552f7e5fd25caf3a4ae271fecf69073b90aa03b3 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 12 Jan 2012 19:18:13 -0600 Subject: [PATCH] import --- .gitignore | 1 + kdegraphics-mobipocket.spec | 70 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 72 insertions(+) create mode 100644 kdegraphics-mobipocket.spec diff --git a/.gitignore b/.gitignore index e69de29..347979e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/mobipocket-4.7.97.tar.bz2 diff --git a/kdegraphics-mobipocket.spec b/kdegraphics-mobipocket.spec new file mode 100644 index 0000000..4acaf64 --- /dev/null +++ b/kdegraphics-mobipocket.spec @@ -0,0 +1,70 @@ +Name: kdegraphics-mobipocket +Summary: A collection of plugins to handle mobipocket files +Version: 4.7.97 +Release: 2%{?dist} + +License: GPLv2+ +URL: https://projects.kde.org/projects/kde/kdegraphics/mobipocket +Source0: http://download.kde.org/unstable/%{version}/src/mobipocket-%{version}.tar.bz2 + +BuildRequires: desktop-file-utils +BuildRequires: kdelibs4-devel >= %{version} +BuildRequires: okular-devel >= %{version} +BuildRequires: pkgconfig(libstreams) + +Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}} +# when split occurred +Conflicts: kdegraphics < 7:4.6.95-10 + +# pkg renamed +Obsoletes: mobipocket < 4.7.97 +Provides: mobipocket = %{version}-%{release} + +%description +%{summary}. + + +%prep +%setup -q -n mobipocket-%{version} + + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake_kde4} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + + +%check +desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/okularApplication_mobi.desktop + + +%files +%doc COPYING +%{_kde4_libdir}/kde4/mobithumbnail.so +%{_kde4_libdir}/kde4/okularGenerator_mobi.so +%{_kde4_libdir}/strigi/strigila_mobi.so +%{_kde4_datadir}/applications/kde4/okularApplication_mobi.desktop +%{_kde4_datadir}/kde4/services/libokularGenerator_mobi.desktop +%{_kde4_datadir}/kde4/services/mobithumbnail.desktop +%{_kde4_datadir}/kde4/services/okularMobi.desktop + + +%changelog +* Thu Jan 12 2012 Rex Dieter 4.7.97-2 +- fix typo Provides: mobipocket +- run desktop-file-validate on app .desktop file + +* Fri Jan 06 2012 Rex Dieter 4.7.97-1 +- 4.7.97 +- pkg renamed to kdegraphics-mobipocket + +* Fri Dec 09 2011 Rex Dieter 4.7.90-1 +- 4.7.90 + diff --git a/sources b/sources index e69de29..dde51e8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a1f2fd4b858c2f86f5c146d41020a692 mobipocket-4.7.97.tar.bz2