diff --git a/djvulibre-3.5.17-utf8.patch b/djvulibre-3.5.17-utf8.patch deleted file mode 100644 index a92de35..0000000 --- a/djvulibre-3.5.17-utf8.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- README -+++ README -@@ -2,7 +2,7 @@ - 1- WHAT IS DJVU. - ================ - --DjVu (pronounced "déjà vu") a set of compression technologies, a file format, -+DjVu (pronounced "déjà vu") a set of compression technologies, a file format, - and a software platform for the delivery over the Web of digital documents, - scanned documents, and high resolution images. - -@@ -48,7 +48,7 @@ - - In an effort to promote DjVu as a Web standard, LizardTech's management was - enlightened enough to release the reference implementation of DjVu under the --GNU GPL in October 2000. DjVuLibre (pronounced like the French "déjà vu -+GNU GPL in October 2000. DjVuLibre (pronounced like the French "déjà vu - libre"), is an enhanced version of that code maintained by the original - inventors of DjVu. It is compatible with LizardTech's DjVu software v3.5. - diff --git a/djvulibre-3.5.17.tar.bz2 b/djvulibre-3.5.17.tar.bz2 deleted file mode 100644 index 15474bd..0000000 --- a/djvulibre-3.5.17.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:804f0853d9f9026b28daccd1c4f531d4b5d13e5996e99282450a4099799dcaab -size 1970347 diff --git a/djvulibre-3.5.18.tar.bz2 b/djvulibre-3.5.18.tar.bz2 new file mode 100644 index 0000000..280189f --- /dev/null +++ b/djvulibre-3.5.18.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97b8af5cf053d54aedaf29a6531e8a7c9734f0aa94afb1f1bd313ae04a7a0585 +size 2013906 diff --git a/djvulibre-3.5.17-filepath.patch b/djvulibre-3.5.19-filepath.patch similarity index 100% rename from djvulibre-3.5.17-filepath.patch rename to djvulibre-3.5.19-filepath.patch diff --git a/djvulibre-3.5.17-nsdejavu.patch b/djvulibre-3.5.19-nsdejavu.patch similarity index 100% rename from djvulibre-3.5.17-nsdejavu.patch rename to djvulibre-3.5.19-nsdejavu.patch diff --git a/djvulibre-3.5.17-strip.patch b/djvulibre-3.5.19-strip.patch similarity index 81% rename from djvulibre-3.5.17-strip.patch rename to djvulibre-3.5.19-strip.patch index 533b4e1..b57a1b4 100644 --- a/djvulibre-3.5.17-strip.patch +++ b/djvulibre-3.5.19-strip.patch @@ -4,11 +4,11 @@ install-bin: ${PROGRAM} FORCE ${INSTALL} -d ${DESTDIR}${bindir} ${LIBTOOL} --mode=install \ -- ${INSTALL_PROGRAM} -s ${PROGRAM} ${DESTDIR}${bindir} -+ ${INSTALL_PROGRAM} ${PROGRAM} ${DESTDIR}${bindir} +- ${INSTALL_PROGRAM} -s ${PROGRAM} ${DESTDIR}${bindir}/djview3 ++ ${INSTALL_PROGRAM} ${PROGRAM} ${DESTDIR}${bindir}/djview3 + cd ${DESTDIR}${bindir} && ${LN_S} djview3 djview || true install-man: FORCE - ${INSTALL} -d ${DESTDIR}${mandir}/man1 --- tools/Makefile.in +++ tools/Makefile.in @@ -75,7 +75,7 @@ diff --git a/djvulibre-3.5.19.tar.bz2 b/djvulibre-3.5.19.tar.bz2 new file mode 100644 index 0000000..1949be4 --- /dev/null +++ b/djvulibre-3.5.19.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6259116a38617b0bdf0c1eada3ec5c8caefe111090ecc743566d3285873350b4 +size 2042864 diff --git a/djvulibre.changes b/djvulibre.changes index 253e645..abccea5 100644 --- a/djvulibre.changes +++ b/djvulibre.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Tue Apr 3 18:52:51 CEST 2007 - lmichnovic@suse.cz + +- installing icons and desktop file in %install section + +------------------------------------------------------------------- +Tue Mar 27 17:04:03 CEST 2007 - lmichnovic@suse.cz + +- update to version 3.5.19 + * DjVuLibre is distributed under either version 2 of the GPL or + (at your option) any later version. + since 3.5.18 + * Renamed djview as djview3. + * Various enhancement of DDJVUAPI. + * Partial support for page titles instead of page numbers. + * Clarification of metadata information. + * Fixed djvumake mask separation feature. + * Complain when given a so-called "secure" djvu file. + * Fixed handling of urls with cgi arguments. + * Fixed bug related to caching and ddjvuapi. + * Reorganized ${datadir}/djvu. + * Provide scripts in ${datadir}/djvu/*/desktop to register + the djvu mime types and the djview menu entries. + - obsoletes utf8.patch + ------------------------------------------------------------------- Sat Aug 5 16:53:50 CEST 2006 - lmichnovic@suse.cz diff --git a/djvulibre.spec b/djvulibre.spec index 061ec22..07b3bf6 100644 --- a/djvulibre.spec +++ b/djvulibre.spec @@ -1,7 +1,7 @@ # -# spec file for package djvulibre (Version 3.5.17) +# spec file for package djvulibre (Version 3.5.19) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -12,18 +12,17 @@ Name: djvulibre BuildRequires: libdrm-devel libjpeg-devel libtiff-devel qt3-devel qt3-devel-tools update-desktop-files xorg-x11-devel -License: GPL +License: GNU General Public License (GPL) Group: Productivity/Graphics/Other Autoreqprov: on -Version: 3.5.17 -Release: 2 +Version: 3.5.19 +Release: 1 URL: http://djvu.sourceforge.net Summary: An Open Source Implementation of DjVu Source: %{name}-%{version}.tar.bz2 -Patch: %{name}-%{version}-nsdejavu.patch -Patch1: %{name}-%{version}-utf8.patch -Patch3: %{name}-%{version}-filepath.patch -Patch4: %{name}-%{version}-strip.patch +Patch1: %{name}-%{version}-nsdejavu.patch +Patch2: %{name}-%{version}-filepath.patch +Patch3: %{name}-%{version}-strip.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -49,10 +48,11 @@ Authors: %prep %setup -%patch %patch1 +%patch2 %patch3 -%patch4 +# removing cvsignore files in version 3.5.19 +rm -rf doc/minilisp/.cvsignore %build # specifying --x-libraries and -includes is needed due to new paths in X.org 7.x @@ -71,10 +71,32 @@ make OPTS="$RPM_OPT_FLAGS -Wall -fmessage-length=0 -DNO_DEBUG" %install make install DESTDIR=$RPM_BUILD_ROOT +# Installing desktop file and icons in this section is more sane +# then in %post section as author intended because of SuSE translation +# process and little less pain with getting those scripts working +mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/mimetypes/ +mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/mimetypes/ +mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/mimetypes/ +mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps +install -m 644 desktopfiles/hi22-djvu.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/mimetypes/djvu.png +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 +ls +%suse_update_desktop_file -r -i djvulibre-djview3 Graphics Viewer %clean rm -rf $RPM_BUILD_ROOT +%post +# LIBS: Run ldconfig +/sbin/ldconfig + +%postun +# LIBS: Run ldconfig +/sbin/ldconfig +exit 0 + %files %defattr(-,root,root) %doc COPYING COPYRIGHT INSTALL NEWS README TODO doc/* @@ -84,13 +106,46 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/* %{_libdir}/libdjvulibre* %{_libdir}/browser-plugins/nsdejavu.so -%{_datadir}/icons/* -%{_datadir}/pixmaps/djvu.png +#%{_datadir}/icons/* +#%{_datadir}/pixmaps/djvu3.png +%dir %{_prefix}/share/icons/hicolor +%dir %{_prefix}/share/icons/hicolor/22x22 +%dir %{_prefix}/share/icons/hicolor/22x22/mimetypes +%dir %{_prefix}/share/icons/hicolor/32x32 +%dir %{_prefix}/share/icons/hicolor/32x32/mimetypes +%dir %{_prefix}/share/icons/hicolor/48x48 +%dir %{_prefix}/share/icons/hicolor/48x48/mimetypes +%dir %{_prefix}/include/libdjvu +%dir %{_prefix}/include/libdjvu %dir %{_prefix}/include/libdjvu %{_prefix}/include/libdjvu/*.h %{_libdir}/pkgconfig/ddjvuapi.pc +%{_prefix}/share/applications/djvulibre-djview3.desktop +%{_prefix}/share/icons/hicolor/22x22/mimetypes/djvu.png +%{_prefix}/share/icons/hicolor/32x32/mimetypes/djvu.png +%{_prefix}/share/icons/hicolor/48x48/mimetypes/djvu.png +%{_prefix}/share/pixmaps/djvulibre-djview3.png -%changelog -n djvulibre +%changelog +* Tue Apr 03 2007 - lmichnovic@suse.cz +- installing icons and desktop file in %%install section +* Tue Mar 27 2007 - lmichnovic@suse.cz +- update to version 3.5.19 + * DjVuLibre is distributed under either version 2 of the GPL or + (at your option) any later version. + since 3.5.18 + * Renamed djview as djview3. + * Various enhancement of DDJVUAPI. + * Partial support for page titles instead of page numbers. + * Clarification of metadata information. + * Fixed djvumake mask separation feature. + * Complain when given a so-called "secure" djvu file. + * Fixed handling of urls with cgi arguments. + * Fixed bug related to caching and ddjvuapi. + * Reorganized ${datadir}/djvu. + * Provide scripts in ${datadir}/djvu/*/desktop to register + the djvu mime types and the djview menu entries. + - obsoletes utf8.patch * Sat Aug 05 2006 - lmichnovic@suse.cz - specifying --x-libraries and --x-include due to new paths in new X.org 7.x. @@ -98,11 +153,11 @@ rm -rf $RPM_BUILD_ROOT enhance functionality * Wed Jul 12 2006 - lmichnovic@suse.cz - update to version 3.5.17 -- Various enhancement of DDJVUAPI. -- Compiles with the GCC-4.1. -- using MSVC using the provided project files. -- Minor bug fixes in csepdjvu text extraction. -- Fixed leak in csepdjvu, cpaldjvu and cjb2. + - Various enhancement of DDJVUAPI. + - Compiles with the GCC-4.1. + - using MSVC using the provided project files. + - Minor bug fixes in csepdjvu text extraction. + - Fixed leak in csepdjvu, cpaldjvu and cjb2. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 20 2006 - schwab@suse.de