]> git.pld-linux.org Git - packages/djvulibre.git/blobdiff - djvulibre.spec
- support mozilla-firefox-bin; rel++
[packages/djvulibre.git] / djvulibre.spec
index 9c74f6a7665c8cfddf1bd92f5d6f2d70b6749c9c..152c13726aa6a13844f4f9c6c92cd074b96265cc 100644 (file)
@@ -8,11 +8,11 @@ Summary:      DjVu viewers, encoders and utilities
 Summary(pl):   DjVu - przegl±darki, dekodery oraz narzêdzia
 Name:          djvulibre
 Version:       3.5.17
-Release:       0.1
+Release:       3
 License:       GPL
 Group:         Applications/Graphics
 Source0:       http://dl.sourceforge.net/djvu/%{name}-%{version}.tar.gz
-# Source0-md5: e870c77ee2647ccd6f5df053d7b8195e
+# Source0-md5: 18e71eec1f7d59ef4710b405ea64650e
 Patch0:                %{name}-opt.patch
 Patch1:                %{name}-nostrip.patch
 Patch2:                %{name}-desktop.patch
@@ -29,7 +29,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _plugindir      %{_libdir}/browser-plugins
 
 # list of supported browsers, in free form text
-%define                browsers mozilla, mozilla-firefox, netscape, seamonkey
+%define                browsers mozilla, mozilla-firefox, mozilla-firefox-bin, netscape, seamonkey
 
 %description
 DjVu is a web-centric format and software platform for distributing
@@ -183,6 +183,12 @@ rm -rf $RPM_BUILD_ROOT
 %triggerun -n browser-plugin-%{name} -- mozilla-forefox
 %nsplugin_uninstall -d %{_libdir}/mozilla-firefox/plugins nsdejavu.so
 
+%triggerin -n browser-plugin-%{name} -- mozilla-firefox-bin
+%nsplugin_install -d %{_libdir}/mozilla-firefox-bin/plugins nsdejavu.so
+
+%triggerun -n browser-plugin-%{name} -- mozilla-forefox-bin
+%nsplugin_uninstall -d %{_libdir}/mozilla-firefox-bin/plugins nsdejavu.so
+
 %triggerin -n browser-plugin-%{name} -- netscape-common
 %nsplugin_install -d %{_libdir}/netscape/plugins nsdejavu.so
 
@@ -231,6 +237,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libdjvulibre.so
 %{_libdir}/libdjvulibre.la
 %{_includedir}/libdjvu
+%{_pkgconfigdir}/*.pc
 
 %if %{with qt}
 %files djview
@@ -238,7 +245,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/djview
 %{_mandir}/man1/djview.1*
 %lang(ja) %{_mandir}/ja/man1/djview.1*
-%{_datadir}/mimelnk/image/x-djvu.desktop
+# don't include here - conflicts with kdelibs
+# %{_datadir}/mimelnk/image/x-djvu.desktop
 %{_desktopdir}/djview.desktop
 %{_iconsdir}/hicolor/*/mimetypes/djvu.png
 %{_pixmapsdir}/djvu.png
This page took 0.082902 seconds and 4 git commands to generate.