diff --git a/djvulibre-3.5.21.tar.bz2 b/djvulibre-3.5.21.tar.bz2 deleted file mode 100644 index b99c5ed..0000000 --- a/djvulibre-3.5.21.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa98d409d383fef357b48e1bc9826843b22374a05d521dca2f5add13b2e82a2a -size 2666939 diff --git a/djvulibre-3.5.21-filepath.patch b/djvulibre-3.5.22-filepath.patch similarity index 100% rename from djvulibre-3.5.21-filepath.patch rename to djvulibre-3.5.22-filepath.patch diff --git a/djvulibre-3.5.21-nsdejavu.patch b/djvulibre-3.5.22-nsdejavu.patch similarity index 100% rename from djvulibre-3.5.21-nsdejavu.patch rename to djvulibre-3.5.22-nsdejavu.patch diff --git a/djvulibre-3.5.22.tar.bz2 b/djvulibre-3.5.22.tar.bz2 new file mode 100644 index 0000000..ddfedfd --- /dev/null +++ b/djvulibre-3.5.22.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83e42aa31dea0295bd8f5cea3af413154e784ca6affc2b072169d3d2b09f1765 +size 2702433 diff --git a/djvulibre.changes b/djvulibre.changes index 9ff766e..2673415 100644 --- a/djvulibre.changes +++ b/djvulibre.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jun 8 14:33:31 CEST 2009 - mseben@suse.cz + +- updated to version 3.5.22 + * backported djview4 version of nsdejavu.so + * various bug fixes +- splitted to doc package + ------------------------------------------------------------------- Mon Aug 25 15:57:25 CEST 2008 - lmichnovic@suse.cz diff --git a/djvulibre.spec b/djvulibre.spec index 90f9f16..83269e8 100644 --- a/djvulibre.spec +++ b/djvulibre.spec @@ -1,7 +1,7 @@ # -# spec file for package djvulibre (Version 3.5.21) +# spec file for package djvulibre (Version 3.5.22) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,14 +19,12 @@ Name: djvulibre -BuildRequires: libdrm-devel libjpeg-devel libtiff-devel qt3-devel qt3-devel-tools update-desktop-files xorg-x11-devel +BuildRequires: fdupes libdrm-devel libjpeg-devel libtiff-devel qt3-devel qt3-devel-tools update-desktop-files xorg-x11-devel License: GPL v2 or later Group: Productivity/Graphics/Other AutoReqProv: on -Version: 3.5.21 +Version: 3.5.22 Release: 1 -# The following is a kludge to get updating djvulibre to after the split work -PreReq: libdjvulibre21 Url: http://djvu.sourceforge.net Summary: An Open Source Implementation of DjVu Source: %{name}-%{version}.tar.bz2 @@ -101,6 +99,23 @@ Libraries of Open Source Implementation of DjVu - djvulibre. +Authors: +-------- + Dr Bill C Riemers + Leon Bottou + Yann LeCun + +%package doc +License: GPL v2 or later +Summary: Documentation for the the DjVu - djvulibre +Group: Productivity/Graphics/Other +AutoReqProv: on + +%description doc +This package contains the documentation for the DjVu - djvulibre + + + Authors: -------- Dr Bill C Riemers @@ -143,7 +158,12 @@ install -m 644 desktopfiles/hi22-djvu.png $RPM_BUILD_ROOT/usr/share/icons/hicolo install -m 644 desktopfiles/hi32-djvu.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/mimetypes/djvu.png install -m 644 desktopfiles/hi48-djvu.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/mimetypes/djvu.png install -m 644 desktopfiles/hi32-djview3.png $RPM_BUILD_ROOT/usr/share/pixmaps/djvulibre-djview3.png +#fix wrong permissions +%__chmod 644 desktopfiles/djvulibre-djview3.desktop +#delete shebank from desktop file +%__sed -i '/#!\/usr\/bin\/env xdg-open/d' desktopfiles/djvulibre-djview3.desktop %suse_update_desktop_file -r -i djvulibre-djview3 Graphics Viewer +%fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT @@ -153,19 +173,17 @@ rm -rf $RPM_BUILD_ROOT /sbin/ldconfig %postun -n libdjvulibre21 -# LIBS: Run ldconfig -/sbin/ldconfig -exit 0 +# LIBS: Run ldconfig +/sbin/ldconfig +exit 0 %files %defattr(-,root,root) -%doc COPYING COPYRIGHT INSTALL NEWS README TODO doc/* +%doc COPYING COPYRIGHT INSTALL NEWS README TODO %doc %{_mandir}/man1/* %doc %{_mandir}/ja/* %{_datadir}/djvu %{_bindir}/* -#%{_datadir}/icons/* -#%{_datadir}/pixmaps/djvu3.png %dir %{_prefix}/share/icons/hicolor %dir %{_prefix}/share/icons/hicolor/22x22 %dir %{_prefix}/share/icons/hicolor/22x22/mimetypes @@ -193,7 +211,6 @@ exit 0 %doc %{_mandir}/man1/nsdejavu* %doc %{_mandir}/ja/man1/nsdejav* %{_prefix}/share/pixmaps/djvulibre-djview3.png -%{_datadir}/djvu/djview3 %{_libdir}/browser-plugins/nsdejavu.so %{_bindir}/djview* %{_prefix}/share/applications/djvulibre-djview3.desktop @@ -212,7 +229,16 @@ exit 0 %{_prefix}/include/libdjvu/*.h %{_libdir}/pkgconfig/ddjvuapi.pc +%files doc +%defattr(-,root,root,-) +%doc doc/* + %changelog +* Mon Jun 08 2009 mseben@suse.cz +- updated to version 3.5.22 + * backported djview4 version of nsdejavu.so + * various bug fixes +- splitted to doc package * Mon Aug 25 2008 lmichnovic@suse.cz - update to version 3.5.21 * Speed improvement on multicore platforms @@ -282,7 +308,7 @@ exit 0 upgrade fixes missing binary any2djvu (#131761) * Wed Oct 19 2005 lmichnovic@suse.cz - fixed invalid extra qualification for build with new gcc 4.1 -* Thu Sep 29 2005 dmueller@suse.de +* Wed Sep 28 2005 dmueller@suse.de - add norootforbuild * Wed May 25 2005 ltinkl@suse.cz - fix build with gcc41