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