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