]> git.pld-linux.org Git - packages/djvulibre.git/blame_incremental - djvulibre.spec
rebuild with separate debuginfo build-ids
[packages/djvulibre.git] / djvulibre.spec
... / ...
CommitLineData
1Summary: DjVu viewers, encoders and utilities
2Summary(pl.UTF-8): DjVu - przeglądarki, dekodery oraz narzędzia
3Name: djvulibre
4Version: 3.5.28
5Release: 2
6License: GPL v2+
7Group: Applications/Graphics
8Source0: http://downloads.sourceforge.net/djvu/%{name}-%{version}.tar.gz
9# Source0-md5: 6cb8caf53634edbc91cdcf0f9108c478
10Patch0: %{name}-opt.patch
11Patch1: djvulibre-3.5.22-cdefs.patch
12URL: http://djvu.sourceforge.net/
13BuildRequires: autoconf >= 2.65
14BuildRequires: automake >= 1.6
15BuildRequires: libjpeg-devel
16BuildRequires: libstdc++-devel
17BuildRequires: libtiff-devel
18BuildRequires: libtool >= 2:2
19BuildRequires: pkgconfig
20BuildRequires: rpmbuild(macros) >= 1.357
21Obsoletes: djvu < 3.0-1
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
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
28resources than competing formats. DjVu was originally developed at
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
32Windows).
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
41This package of DjVulibre 3.5 contains:
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
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,
56Yanna LeCun, Patricka Haffnera i wielu innych. W marcu 2000 AT&T
57sprzedało DjVu firmie LizardTech Inc., które teraz rozpowszechnia
58wtyczki dla Windows i Maca oraz komercyjne kodery (głównie dla
59Windows).
60
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
65oprogramowania LizardTech DjVu.
66
67Ten pakiet zawiera: bibliotekę w C++, zestaw kompresorów, dekoderów i
68narzędzi do plików w formacie DjVu.
69
70%package devel
71Summary: Header files for DjVu library
72Summary(pl.UTF-8): Pliki nagłówkowe biblioteki DjVu
73Group: Development/Libraries
74Requires: %{name} = %{version}-%{release}
75Requires: libjpeg-devel
76Requires: libstdc++-devel
77
78%description devel
79Header files for DjVu library.
80
81%description devel -l pl.UTF-8
82Pliki nagłówkowe biblioteki DjVu.
83
84%prep
85%setup -q
86%patch0 -p1
87%patch1 -p1
88
89%build
90%{__libtoolize}
91%{__aclocal} -I config
92%{__autoconf}
93%{__autoheader}
94%{__automake}
95%configure \
96 PTHREAD_LIBS="-lpthread" \
97 --disable-silent-rules
98
99%{__make} -j1
100
101%install
102rm -rf $RPM_BUILD_ROOT
103
104%{__make} install \
105 DESTDIR=$RPM_BUILD_ROOT
106
107%clean
108rm -rf $RPM_BUILD_ROOT
109
110%post
111/sbin/ldconfig
112%update_icon_cache hicolor
113
114%postun
115/sbin/ldconfig
116%update_icon_cache hicolor
117
118%files
119%defattr(644,root,root,755)
120%doc COPYRIGHT NEWS README doc/{*.djvu,*.txt,*.pdf}
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*
131%attr(755,root,root) %{_libdir}/libdjvulibre.so.*.*.*
132%attr(755,root,root) %ghost %{_libdir}/libdjvulibre.so.21
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*
143%dir %{_datadir}/djvu
144%dir %{_datadir}/djvu/osi
145%{_datadir}/djvu/osi/languages.xml
146%lang(cs) %{_datadir}/djvu/osi/cs
147%lang(de) %{_datadir}/djvu/osi/de
148%{_datadir}/djvu/osi/en
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
153%{_iconsdir}/hicolor/*x*/mimetypes/image-vnd.djvu.png
154%{_iconsdir}/hicolor/scalable/mimetypes/image-vnd.djvu.svgz
155
156%files devel
157%defattr(644,root,root,755)
158%attr(755,root,root) %{_libdir}/libdjvulibre.so
159%{_libdir}/libdjvulibre.la
160%{_includedir}/libdjvu
161%{_pkgconfigdir}/ddjvuapi.pc
This page took 0.037608 seconds and 4 git commands to generate.