|
|
|
@ -15,11 +15,10 @@ Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar
|
|
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: kdelibs4-devel >= %{version}
|
|
|
|
|
BuildRequires: okular-devel >= %{version}
|
|
|
|
|
BuildRequires: pkgconfig(libstreams)
|
|
|
|
|
|
|
|
|
|
Requires: qmobipocket%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}}
|
|
|
|
|
Requires: okular-libs%{?_isa}%{?_kde4_version: >= %{_kde4_version}}
|
|
|
|
|
|
|
|
|
|
# when split occurred
|
|
|
|
|
Conflicts: kdegraphics < 7:4.6.95-10
|
|
|
|
@ -31,6 +30,18 @@ Provides: mobipocket = %{version}-%{release}
|
|
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%package -n qmobipocket
|
|
|
|
|
Summary: Mobipocket Qt bindings
|
|
|
|
|
%description -n qmobipocket
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%package -n qmobipocket-devel
|
|
|
|
|
Summary: Development files for qmobipocket
|
|
|
|
|
Requires: qmobipocket%{?_isa} = %{version}-%{release}
|
|
|
|
|
%description -n qmobipocket-devel
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
@ -49,19 +60,23 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
%post -n qmobipocket -p /sbin/ldconfig
|
|
|
|
|
%postun -n qmobipocket -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -n qmobipocket
|
|
|
|
|
%{_kde4_libdir}/libqmobipocket.so.1*
|
|
|
|
|
|
|
|
|
|
%files -n qmobipocket-devel
|
|
|
|
|
%{_kde4_libdir}/libqmobipocket.so
|
|
|
|
|
%{_kde4_includedir}/qmobipocket/
|
|
|
|
|
%dir %{_kde4_libdir}/cmake/
|
|
|
|
|
%{_kde4_libdir}/cmake/QMobipocket/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|