[packages/ka5-okular] - updated files
arekm
arekm at pld-linux.org
Sat Sep 12 10:14:21 CEST 2015
commit 35c60c15abcc301f1b894586953122339c35b8bc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Sep 12 10:14:16 2015 +0200
- updated files
ka5-okular.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 60 insertions(+), 9 deletions(-)
---
diff --git a/ka5-okular.spec b/ka5-okular.spec
index fd12d13..67494bf 100644
--- a/ka5-okular.spec
+++ b/ka5-okular.spec
@@ -4,7 +4,7 @@
Summary: KDE universal document viewer
Name: ka5-%{kaname}
Version: 15.08.0
-Release: 0.1
+Release: 1
License: GPL v2+/LGPL v2.1+
Group: X11/Libraries
Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
@@ -17,7 +17,6 @@ BuildRequires: exiv2-devel
BuildRequires: freetype-devel
BuildRequires: gettext-tools
BuildRequires: ka5-libkexiv2-devel
-BuildRequires: kde4-libkexiv2-devel
BuildRequires: kp5-libkscreen-devel
BuildRequires: libjpeg-turbo-devel
BuildRequires: libspectre-devel
@@ -37,6 +36,18 @@ KDE universal document viewer.
%prep
%setup -q -n %{kaname}-%{version}
+%package devel
+Summary: Header files for %{kaname} development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kaname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kaname}.
+
%build
install -d build
cd build
@@ -50,7 +61,7 @@ rm -rf $RPM_BUILD_ROOT
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
-#%find_lang %{kaname} --all-name
+%find_lang %{kaname} --all-name --with-kde
%clean
rm -rf $RPM_BUILD_ROOT
@@ -58,10 +69,50 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%files
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/okular
+%attr(755,root,root) %ghost %{_libdir}/libokularcore.so.6
+%attr(755,root,root) %{_libdir}/libokularcore.*.*.*
+%dir %{_libdir}/kde4/imports/org/kde/okular
+%attr(755,root,root) %{_libdir}/kde4/imports/org/kde/okular/libokularplugin.so
+%{_libdir}/kde4/imports/org/kde/okular/qmldir
+%attr(755,root,root) %{_libdir}/kde4/kio_msits.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_chmlib.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_comicbook.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_djvu.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_dvi.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_epub.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_fax.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_fb.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_ghostview.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_kimgio.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_mobi.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_ooo.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_plucker.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_poppler.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_tiff.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_txt.so
+%attr(755,root,root) %{_libdir}/kde4/okularGenerator_xps.so
+%attr(755,root,root) %{_libdir}/kde4/okularpart.so
+%{_desktopdir}/kde4/active-documentviewer*.desktop
+%{_desktopdir}/kde4/okular*.desktop
+%{_datadir}/apps/kconf_update/okular.upd
+%{_datadir}/apps/okular
+%{_datadir}/config.kcfg/gssettings.kcfg
+%{_datadir}/config.kcfg/okular.kcfg
+%{_datadir}/config.kcfg/okular_core.kcfg
+%{_datadir}/config.kcfg/pdfsettings.kcfg
+%{_iconsdir}/hicolor/*/apps/okular.png
+%{_iconsdir}/hicolor/scalable/apps/okular.svgz
+%{_datadir}/kde4/services/libokularGenerator*.desktop
+%{_datadir}/kde4/services/msits.protocol
+%{_datadir}/kde4/services/okular*.desktop
+%{_datadir}/kde4/servicetypes/okularGenerator.desktop
+%{_mandir}/man1/okular.1*
+
+%files devel
%defattr(644,root,root,755)
-# -f %{kaname}.lang
-#%attr(755,root,root) %{_bindir}/gwenview
-#%attr(755,root,root) %{_libdir}/libgwenviewlib.so.*.*.*
-#%attr(755,root,root) %ghost %{_libdir}/libgwenviewlib.so.5
-#%attr(755,root,root) %{_libdir}/qt5/plugins/gvpart.so
+%attr(755,root,root) %{_libdir}/libokularcore.so
+%{_includedir}/okular
+%{_libdir}/cmake/Okular
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-okular.git/commitdiff/35c60c15abcc301f1b894586953122339c35b8bc
More information about the pld-cvs-commit
mailing list