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
%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
%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
%attr(755,root,root) %{_libdir}/libdjvulibre.so
%{_libdir}/libdjvulibre.la
%{_includedir}/libdjvu
+%{_pkgconfigdir}/*.pc
%if %{with qt}
%files djview
%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