Summary: DjVu viewers, encoders and utilities. Name: djvulibre Version: 3.5.24 Release: 1ark License: GPL Group: Applications/Publishing Source: http://switch.dl.sourceforge.net/project/djvu/DjVuLibre/%version/djvulibre-%{version}.tar.gz Patch: djvulibre-3.5.24-gcc-4.6.patch BuildRoot: %{_tmppath}/%{name}-root URL: http://djvulibre.djvuzone.org/ Requires: qt, libstdc++ BuildRequires: qt-devel, libstdc++-devel %track prog %name = { url = http://djvu.sourceforge.net/ regex = %name-(__VER__).tar.gz version = %version } %description DjVu is a web-centric format and software platform for distributing documents and images. DjVu content downloads faster, displays and renders faster, looks nicer on a screen, and consume less client resources than competing formats. DjVu was originally developed at AT&T Labs-Research by Leon Bottou, Yann LeCun, Patrick Haffner, and many others. In March 2000, AT&T sold DjVu to LizardTech Inc. who now distributes Windows/Mac plug-ins, and commercial encoders (mostly on Windows) In an effort to promote DjVu as a Web standard, the LizardTech management was enlightened enough to release the reference implementation of DjVu under the GNU GPL in October 2000. DjVuLibre (which means free DjVu), is an enhanced version of that code maintained by the original inventors of DjVu. It is compatible with version 3.5 of the LizardTech DjVu software suite. DjVulibre-3.5 contains: - a standalone DjVu viewer based on the Qt library. - A browser plugin that works with most Unix browsers. - A full-fledged wavelet-based compressor for pictures. - A simple compressor for bitonal (black and white) scanned pages. - A compressor for palettized images (a la GIF/PNG). - A set of utilities to manipulate and assemble DjVu images and documents. - A set of decoders to convert DjVu to a number of other formats. - An up-to-date version of the C++ DjVu Reference Library. %package devel Summary: Development files for the DjVu reference library Requires: %name = %version-%release Group: Development/Libraries/C++ %description devel Development files for the DjVu reference library %prep %setup -q %patch -p1 -b .gcc46~ %build %configure --without-qt make %?_smp_mflags %install rm -rf %{buildroot} make install DESTDIR="$RPM_BUILD_ROOT" # Quick fix to stop ldconfig from complaining find %{buildroot}%{_libdir} -name "*.so*" -exec chmod 755 {} \; # Quick cleanup of the docs rm -rf doc/CVS 2>/dev/null || : # We don't neet g_dirt rm -rf $RPM_BUILD_ROOT%_datadir/application-registry %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc README COPYRIGHT COPYING INSTALL NEWS TODO doc %_bindir/* %_libdir/*.so* %_datadir/djvu %_mandir/man*/*.* %files devel %_includedir/libdjvu %_libdir/pkgconfig/ddjvuapi.pc %changelog * Sat Apr 16 2011 Bernhard Rosenkraenzer <bero@arklinux.org> 3.5.24-1ark - 3.5.24 * Sat May 22 2010 Bernhard Rosenkraenzer <bero@arklinux.org> 3.5.22-2ark - Rebuild (libjpeg.so.8) * Fri Dec 12 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 3.5.21-1ark - 3.5.21 - Remove viewer application, there is a new Qt4 based one * Fri Sep 14 2007 Bernhard Rosenkraenzer <bero@arklinux.org> 3.5.19-1ark - 3.5.19 - Split out -devel and -mozilla packages - Remove libtool files * Mon Jul 24 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 3.5.17-1ark - 3.5.17 * Fri Oct 28 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 3.5.15-1ark - 3.5.15 - Fix conflict with kdelibs - Fix some spec file braindamages * Fri Sep 23 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 3.5.14-2ark - Rebuild w/ KDE 3.5 * Sun Aug 22 2004 David Tio <deux@arklinux.org> 3.5.14-1ark - 3.5.14 * Sun Nov 9 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 3.5.12-1ark - Update * Fri Nov 08 2002 Bernhard Rosenkraenzer <bero@arklinux.org> 3.5.9-3ark - First Ark release