[521] | 1 | Summary: DjVu viewers, encoders and utilities. |
---|
| 2 | Summary(ja): DjVu 画像形式ファイル操作用ライブラリ、ツール |
---|
| 3 | Name: djvulibre |
---|
[3762] | 4 | Version: 3.5.24 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | License: GPL |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | Source0: http://prdownloads.sourceforge.net/djvu/djvulibre-%{version}.tar.gz |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 10 | URL: http://djvu.sourceforge.net |
---|
| 11 | BuildRequires: qt-devel, qt-designer |
---|
| 12 | BuildRequires: libtiff-devel |
---|
| 13 | BuildRequires: libjpeg-devel |
---|
| 14 | BuildRequires: glibc-devel |
---|
| 15 | Requires: qt, libtiff, libjpeg, glibc-devel |
---|
| 16 | Distribution: Project Vine |
---|
| 17 | Vendor: Vine Linux |
---|
[3762] | 18 | Packager: owa |
---|
[521] | 19 | |
---|
| 20 | %description |
---|
| 21 | DjVu is a web-centric format and software platform for distributing documents |
---|
| 22 | and images. DjVu content downloads faster, displays and renders faster, looks |
---|
| 23 | nicer on a screen, and consume less client resources than competing formats. |
---|
| 24 | DjVu was originally developed at AT&T Labs-Research by Leon Bottou, Yann |
---|
| 25 | LeCun, Patrick Haffner, and many others. In March 2000, AT&T sold DjVu to |
---|
| 26 | LizardTech Inc. who now distributes Windows/Mac plug-ins, and commercial |
---|
| 27 | encoders (mostly on Windows) |
---|
| 28 | |
---|
| 29 | In an effort to promote DjVu as a Web standard, the LizardTech management was |
---|
| 30 | enlightened enough to release the reference implementation of DjVu under the |
---|
| 31 | GNU GPL in October 2000. DjVuLibre (which means free DjVu), is an enhanced |
---|
| 32 | version of that code maintained by the original inventors of DjVu. It is |
---|
| 33 | compatible with version 3.5 of the LizardTech DjVu software suite. |
---|
| 34 | |
---|
| 35 | DjVulibre-3.5 contains: |
---|
| 36 | - a standalone DjVu viewer based on the Qt library. |
---|
| 37 | - A browser plugin that works with most Unix browsers. |
---|
| 38 | - A full-fledged wavelet-based compressor for pictures. |
---|
| 39 | - A simple compressor for bitonal (black and white) scanned pages. |
---|
| 40 | - A compressor for palettized images (a la GIF/PNG). |
---|
| 41 | - A set of utilities to manipulate and assemble DjVu images and documents. |
---|
| 42 | - A set of decoders to convert DjVu to a number of other formats. |
---|
| 43 | - An up-to-date version of the C++ DjVu Reference Library. |
---|
| 44 | |
---|
| 45 | %package devel |
---|
| 46 | Summary: The libraries and header files needed for djvulibre development. |
---|
| 47 | Group: Development/Libraries |
---|
| 48 | Requires: djvulibre = %{version} |
---|
| 49 | %description devel |
---|
| 50 | DjVulibre libraries and header files for development. |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %prep |
---|
| 54 | %setup -q |
---|
| 55 | |
---|
[3762] | 56 | |
---|
[521] | 57 | %build |
---|
| 58 | %ifarch i386 |
---|
| 59 | export CXXFLAGS="-march=i686" |
---|
| 60 | %endif |
---|
[3762] | 61 | %configure --with-qt=`pkg-config --variable=prefix qt-mt` |
---|
[521] | 62 | |
---|
[3762] | 63 | # don't set smp option (-j n) |
---|
[521] | 64 | make depend |
---|
| 65 | make |
---|
| 66 | |
---|
| 67 | %install |
---|
| 68 | rm -rf %{buildroot} |
---|
| 69 | make DESTDIR=%{buildroot} install |
---|
| 70 | |
---|
| 71 | # fix to stop ldconfig from complaining |
---|
| 72 | find %{buildroot}%{_libdir} -name "*.so*" -exec chmod 755 {} \; |
---|
| 73 | |
---|
| 74 | # cleanup of the docs |
---|
| 75 | rm -rf doc/CVS 2>/dev/null || : |
---|
| 76 | |
---|
| 77 | |
---|
[3762] | 78 | %preun -p /sbin/ldconfig |
---|
| 79 | %postun -p /sbin/ldconfig |
---|
[521] | 80 | %clean |
---|
| 81 | rm -rf %{buildroot} |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | %files |
---|
| 85 | %defattr(-, root, root) |
---|
| 86 | %doc README COPYRIGHT COPYING INSTALL NEWS TODO doc |
---|
| 87 | %{_bindir} |
---|
| 88 | %{_libdir} |
---|
| 89 | %exclude %{_libdir}/pkgconfig |
---|
| 90 | %exclude %{_libdir}/libdjvulibre.la |
---|
[3762] | 91 | %exclude %{_datadir}/djvu/osi/de/* |
---|
| 92 | %exclude %{_datadir}/djvu/osi/fr/* |
---|
| 93 | %exclude %{_datadir}/djvu/osi/zh/* |
---|
[521] | 94 | %{_datadir}/djvu/pubtext |
---|
[3762] | 95 | %{_datadir}/djvu/osi/desktop |
---|
[521] | 96 | %{_datadir}/djvu/osi/languages.xml |
---|
| 97 | %{_datadir}/djvu/osi/en |
---|
| 98 | %{_datadir}/djvu/osi/cs/messages.xml |
---|
| 99 | %lang(ja) %{_datadir}/djvu/osi/ja* |
---|
| 100 | %{_mandir}/man? |
---|
| 101 | %lang(ja) %{_mandir}/ja* |
---|
| 102 | |
---|
| 103 | %files devel |
---|
| 104 | %defattr(-, root, root) |
---|
| 105 | %{_includedir}/libdjvu |
---|
| 106 | %{_libdir}/pkgconfig/ddjvuapi.pc |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | %changelog |
---|
[3762] | 110 | * Sun May 01 2011 Shu KONNO <owa@bg.wakwak.com> 3.5.24-1 |
---|
| 111 | - updated djvulibre to 3.5.24 |
---|
| 112 | - obsoletes djvulibre-plugin (new is djview-plugin) |
---|
| 113 | |
---|
| 114 | * Sat Apr 30 2011 Shu KONNO <owa@bg.wakwak.com> 3.5.22-4 |
---|
| 115 | - installed djview3.png |
---|
| 116 | |
---|
[1919] | 117 | * Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 3.5.22-3 |
---|
| 118 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 119 | |
---|
[650] | 120 | * Wed Jul 01 2009 Shu KONNO <owa@bg.wakwak.com> 3.5.22-2 |
---|
| 121 | - rebuilt with new toolchain |
---|
| 122 | |
---|
[521] | 123 | * Wed Jul 01 2009 Shu KONNO <owa@bg.wakwak.com> 3.5.22-1 |
---|
| 124 | - updated djvulibre to 3.5.22 |
---|
| 125 | |
---|
| 126 | * Tue Dec 30 2008 Shu KONNO <owa@bg.wakwak.com> 3.5.21-1 |
---|
| 127 | - initial build for VineSeed |
---|
| 128 | - spec in utf-8, and applied vine versioning policy |
---|
| 129 | - updated djvulibre to 3.5.21 |
---|
| 130 | - added CXXFLAG="-march=i686" if i386 |
---|
| 131 | - added djview desktop file |
---|
| 132 | |
---|
| 133 | * Tue Apr 03 2007 Shu KONNO <owa@bg.wakwak.com> 3.5.19-uvl1 |
---|
| 134 | - updated djvulibre to 3.5.19 |
---|
| 135 | - added scripts to alternative djview at %%post, %%preun |
---|
| 136 | |
---|
| 137 | * Thu Dec 01 2005 Shu KONNO <owa@bg.wakwak.com> 3.5.16-uvl1 |
---|
| 138 | - updated djvulibre to 3.5.16 |
---|
| 139 | - changed suffix |
---|
| 140 | - divided into djvulibre, djvulibre-devel, djvulibre-plugin |
---|
| 141 | |
---|
| 142 | * Tue Nov 09 2004 Shu KONNO <owa@bg.wakwak.com> 3.5.14-uvl2 |
---|
| 143 | - updated djvulibre to 3.5.14 (realese 2) |
---|
| 144 | |
---|
| 145 | * Thu Jun 17 2004 Leon Bottou <leon@bottou.org> 3.5.13-4 |
---|
| 146 | - changed runtime generation of file list. |
---|
| 147 | * Mon May 31 2004 Leon Bottou <leon@bottou.org> 3.5.13-3 |
---|
| 148 | - removed 'make install-desktop-files' |
---|
| 149 | * Wed May 5 2004 Leon Bottou <leon@bottou.org> 3.5.13-2 |
---|
| 150 | * Fri Apr 9 2004 Leon Bottou <leon@bottou.org> 3.5.13-1 |
---|
| 151 | - added runtime generation of file list. |
---|
| 152 | - using DESTDIR instead of %makeinstall. |
---|
| 153 | - added 'make install-desktop-files' |
---|
| 154 | * Wed Nov 5 2003 Leon Bottou <leon@bottou.org> 3.5.12-3 |
---|
| 155 | - added support for i18n |
---|
| 156 | - renamed symlink in mozilla plugin dirs. |
---|
| 157 | * Mon Jul 7 2003 Leon Bottou <leon@bottou.org> 3.5.12-1 |
---|
| 158 | * Thu Apr 24 2003 Leon Bottou <leon@bottou.org> 3.5.11-1 |
---|
| 159 | * Thu Feb 6 2003 Leon Bottou <leon@bottou.org> 3.5.10-2 |
---|
| 160 | * Fri Jan 24 2003 Leon Bottou <leon@bottou.org> 3.5.10-1 |
---|
| 161 | * Wed Oct 9 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.9-2 |
---|
| 162 | - fixed logic for uninstalling nsdejavu links. |
---|
| 163 | - learned a few tricks from the freshrpms spec file. |
---|
| 164 | * Sun Oct 6 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.9-1 |
---|
| 165 | - added logic to install nsdejavu for mozilla. |
---|
| 166 | * Wed May 29 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.6-1 |
---|
| 167 | * Mon Apr 1 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.5-2 |
---|
| 168 | - changed group to Applications/Publishing. |
---|
| 169 | * Tue Mar 25 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.5-2 |
---|
| 170 | * Tue Jan 22 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.4-2 |
---|
| 171 | - added macros to locate man directory. |
---|
| 172 | * Wed Jan 16 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.3-1 |
---|
| 173 | * Fri Dec 7 2001 Leon Bottou <leonb@users.sourceforge.net> 3.5.2-1 |
---|
| 174 | * Wed Dec 5 2001 Leon Bottou <leonb@users.sourceforge.net> 3.5.1-1 |
---|
| 175 | - created initial file. |
---|
| 176 | |
---|