]>
Commit | Line | Data |
---|---|---|
e87c1ccc | 1 | Summary: DjVu viewers, encoders and utilities |
cf9a38ec | 2 | Summary(pl.UTF-8): DjVu - przeglądarki, dekodery oraz narzędzia |
04670ce6 | 3 | Name: djvulibre |
3adca6b8 | 4 | Version: 3.5.28 |
d53224db | 5 | Release: 2 |
31a2c3b2 | 6 | License: GPL v2+ |
04670ce6 | 7 | Group: Applications/Graphics |
d26d8f70 | 8 | Source0: http://downloads.sourceforge.net/djvu/%{name}-%{version}.tar.gz |
3adca6b8 | 9 | # Source0-md5: 6cb8caf53634edbc91cdcf0f9108c478 |
ff84a788 | 10 | Patch0: %{name}-opt.patch |
a8a1616c | 11 | Patch1: djvulibre-3.5.22-cdefs.patch |
4c178625 | 12 | URL: http://djvu.sourceforge.net/ |
c4236fa5 | 13 | BuildRequires: autoconf >= 2.65 |
9a5bc9c1 | 14 | BuildRequires: automake >= 1.6 |
04670ce6 | 15 | BuildRequires: libjpeg-devel |
4c178625 | 16 | BuildRequires: libstdc++-devel |
9a5bc9c1 | 17 | BuildRequires: libtiff-devel |
c4236fa5 | 18 | BuildRequires: libtool >= 2:2 |
dcb130c9 | 19 | BuildRequires: pkgconfig |
dd69650c | 20 | BuildRequires: rpmbuild(macros) >= 1.357 |
5f641572 | 21 | Obsoletes: djvu < 3.0-1 |
04670ce6 PG |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
04670ce6 | 24 | %description |
04670ce6 PG |
25 | DjVu is a web-centric format and software platform for distributing |
26 | documents and images. DjVu content downloads faster, displays and | |
27 | renders faster, looks nicer on a screen, and consume less client | |
01e551f7 | 28 | resources than competing formats. DjVu was originally developed at |
04670ce6 PG |
29 | AT&T Labs-Research by Leon Bottou, Yann LeCun, Patrick Haffner, and |
30 | many others. In March 2000, AT&T sold DjVu to LizardTech Inc. who now | |
31 | distributes Windows/Mac plug-ins, and commercial encoders (mostly on | |
4c178625 | 32 | Windows). |
04670ce6 PG |
33 | |
34 | In an effort to promote DjVu as a Web standard, the LizardTech | |
35 | management was enlightened enough to release the reference | |
36 | implementation of DjVu under the GNU GPL in October 2000. DjVuLibre | |
37 | (which means free DjVu), is an enhanced version of that code | |
38 | maintained by the original inventors of DjVu. It is compatible with | |
39 | version 3.5 of the LizardTech DjVu software suite. | |
40 | ||
4c178625 | 41 | This package of DjVulibre 3.5 contains: |
04670ce6 PG |
42 | - A full-fledged wavelet-based compressor for pictures. |
43 | - A simple compressor for bitonal (black and white) scanned pages. | |
44 | - A compressor for palettized images (a la GIF/PNG). | |
45 | - A set of utilities to manipulate and assemble DjVu images and | |
46 | documents. | |
47 | - A set of decoders to convert DjVu to a number of other formats. | |
48 | - An up-to-date version of the C++ DjVu Reference Library. | |
49 | ||
65979b9a JR |
50 | %description -l pl.UTF-8 |
51 | DjVu jest przeznaczonym głównie dla WWW formatem i platformą | |
52 | programową do dystrybucji dokumentów i obrazków. Dane w DjVu ściągają | |
53 | się szybciej, wyświetlają szybciej, wyglądają ładniej na ekranie i | |
54 | zajmują mniej zasobów po stronie klienckiej niż inne formaty. DjVu | |
55 | oryginalnie został stworzony w AT&T Labs-Research przez Leona Bottou, | |
4c178625 | 56 | Yanna LeCun, Patricka Haffnera i wielu innych. W marcu 2000 AT&T |
65979b9a JR |
57 | sprzedało DjVu firmie LizardTech Inc., które teraz rozpowszechnia |
58 | wtyczki dla Windows i Maca oraz komercyjne kodery (głównie dla | |
4c178625 JB |
59 | Windows). |
60 | ||
65979b9a JR |
61 | Aby wypromować DjVu jako sieciowy standard, LizardTech udostępnił |
62 | wzorcową implementację DjVu na licencji GPL w październiku 2000. | |
63 | DjVuLibre (czyli wolne DjVu) jest rozszerzoną wersją tego kodu | |
64 | rozwijaną przez pomysłodawców DjVu. Jest kompatybilna z wersją 3.5 | |
f53c6b30 | 65 | oprogramowania LizardTech DjVu. |
4c178625 | 66 | |
65979b9a | 67 | Ten pakiet zawiera: bibliotekę w C++, zestaw kompresorów, dekoderów i |
c4236fa5 | 68 | narzędzi do plików w formacie DjVu. |
4c178625 | 69 | |
735aa760 | 70 | %package devel |
c4236fa5 JB |
71 | Summary: Header files for DjVu library |
72 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki DjVu | |
735aa760 JB |
73 | Group: Development/Libraries |
74 | Requires: %{name} = %{version}-%{release} | |
75 | Requires: libjpeg-devel | |
76 | Requires: libstdc++-devel | |
77 | ||
78 | %description devel | |
c4236fa5 | 79 | Header files for DjVu library. |
735aa760 | 80 | |
65979b9a | 81 | %description devel -l pl.UTF-8 |
c4236fa5 | 82 | Pliki nagłówkowe biblioteki DjVu. |
735aa760 | 83 | |
e16ff60a | 84 | %prep |
9a5bc9c1 | 85 | %setup -q |
04670ce6 | 86 | %patch0 -p1 |
4c178625 | 87 | %patch1 -p1 |
04670ce6 PG |
88 | |
89 | %build | |
c4236fa5 | 90 | %{__libtoolize} |
43ffeeaa | 91 | %{__aclocal} -I config |
bca43ffb | 92 | %{__autoconf} |
9a5bc9c1 JB |
93 | %{__autoheader} |
94 | %{__automake} | |
735aa760 | 95 | %configure \ |
d26d8f70 | 96 | PTHREAD_LIBS="-lpthread" \ |
9a5bc9c1 | 97 | --disable-silent-rules |
04670ce6 | 98 | |
943cad8b | 99 | %{__make} -j1 |
4c178625 | 100 | |
04670ce6 PG |
101 | %install |
102 | rm -rf $RPM_BUILD_ROOT | |
4c178625 JB |
103 | |
104 | %{__make} install \ | |
c4236fa5 | 105 | DESTDIR=$RPM_BUILD_ROOT |
43ffeeaa | 106 | |
04670ce6 PG |
107 | %clean |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | ||
3adca6b8 JB |
110 | %post |
111 | /sbin/ldconfig | |
112 | %update_icon_cache hicolor | |
113 | ||
114 | %postun | |
115 | /sbin/ldconfig | |
116 | %update_icon_cache hicolor | |
04670ce6 PG |
117 | |
118 | %files | |
119 | %defattr(644,root,root,755) | |
9a5bc9c1 | 120 | %doc COPYRIGHT NEWS README doc/{*.djvu,*.txt,*.pdf} |
d26d8f70 JB |
121 | %attr(755,root,root) %{_bindir}/any2djvu |
122 | %attr(755,root,root) %{_bindir}/bzz | |
123 | %attr(755,root,root) %{_bindir}/c44 | |
124 | %attr(755,root,root) %{_bindir}/cjb2 | |
125 | %attr(755,root,root) %{_bindir}/cpaldjvu | |
126 | %attr(755,root,root) %{_bindir}/csepdjvu | |
127 | %attr(755,root,root) %{_bindir}/ddjvu | |
128 | %attr(755,root,root) %{_bindir}/djvm | |
129 | %attr(755,root,root) %{_bindir}/djvmcvt | |
130 | %attr(755,root,root) %{_bindir}/djvu* | |
735aa760 | 131 | %attr(755,root,root) %{_libdir}/libdjvulibre.so.*.*.* |
d47e385c | 132 | %attr(755,root,root) %ghost %{_libdir}/libdjvulibre.so.21 |
d26d8f70 JB |
133 | %{_mandir}/man1/any2djvu.1* |
134 | %{_mandir}/man1/bzz.1* | |
135 | %{_mandir}/man1/c44.1* | |
136 | %{_mandir}/man1/cjb2.1* | |
137 | %{_mandir}/man1/cpaldjvu.1* | |
138 | %{_mandir}/man1/csepdjvu.1* | |
139 | %{_mandir}/man1/ddjvu.1* | |
140 | %{_mandir}/man1/djvm.1* | |
141 | %{_mandir}/man1/djvmcvt.1* | |
142 | %{_mandir}/man1/djvu*.1* | |
4c178625 | 143 | %dir %{_datadir}/djvu |
4c178625 | 144 | %dir %{_datadir}/djvu/osi |
43ffeeaa | 145 | %{_datadir}/djvu/osi/languages.xml |
94d96e74 | 146 | %lang(cs) %{_datadir}/djvu/osi/cs |
f7681c5c | 147 | %lang(de) %{_datadir}/djvu/osi/de |
4c178625 | 148 | %{_datadir}/djvu/osi/en |
f7681c5c JB |
149 | %lang(fr) %{_datadir}/djvu/osi/fr |
150 | %lang(ja) %{_datadir}/djvu/osi/ja | |
151 | %lang(zh) %{_datadir}/djvu/osi/zh | |
152 | %{_datadir}/djvu/pubtext | |
3adca6b8 JB |
153 | %{_iconsdir}/hicolor/*x*/mimetypes/image-vnd.djvu.png |
154 | %{_iconsdir}/hicolor/scalable/mimetypes/image-vnd.djvu.svgz | |
4c178625 | 155 | |
735aa760 JB |
156 | %files devel |
157 | %defattr(644,root,root,755) | |
158 | %attr(755,root,root) %{_libdir}/libdjvulibre.so | |
159 | %{_libdir}/libdjvulibre.la | |
160 | %{_includedir}/libdjvu | |
43ffeeaa | 161 | %{_pkgconfigdir}/ddjvuapi.pc |