]> git.pld-linux.org Git - packages/djvulibre.git/blob - djvulibre.spec
- fixed md5
[packages/djvulibre.git] / djvulibre.spec
1 Summary:        DjVu viewers, encoders and utilities
2 Summary(pl):    DjVu - przegl±darki, dekodery oraz narzêdzia
3 Name:           djvulibre
4 Version:        3.5.12
5 Release:        1
6 License:        GPL
7 Group:          Applications/Graphics
8 Source0:        http://dl.sourceforge.net/djvu/%{name}-%{version}.tar.gz
9 # Source0-md5:  4adeb92beb8295aa330b9c6b042ba02d
10 Patch0:         %{name}-opt.patch
11 Patch1:         %{name}-nostrip.patch
12 URL:            http://djvu.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libjpeg-devel
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  qt-devel >= 3.0.5
18 Obsoletes:      djvu
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         mozdir          /usr/lib/mozilla/plugins
22 %define         nsdir           /usr/lib/netscape/plugins
23
24 %description
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
28 resources than competing formats. DjVu was originally developed at
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
32 Windows).
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
41 This 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 Following elements are placed in other subpackages:
51 - a standalone DjVu viewer based on the Qt library.
52 - A browser plugin that works with most Unix browsers.
53
54 %description -l pl
55 DjVu jest przeznaczonym g³ównie dla WWW formatem i platform±
56 programow± do dystrybucji dokumentów i obrazków. Dane w DjVu ¶ci±gaj±
57 siê szybciej, wy¶wietlaj± szybciej, wygl±daj± ³adniej na ekranie i
58 zajmuj± mniej zasobów po stronie klienckiej ni¿ inne formaty. DjVu
59 oryginalnie zosta³ stworzony w AT&T Labs-Research przez Leona Bottou,
60 Yanna LeCun, Patricka Haffnera i wielu innych. W marcu 2000 AT&T
61 sprzeda³o DjVu firmie LizardTech Inc., które teraz rozpowszechnia
62 wtyczki dla Windows i Maca oraz komercyjne kodery (g³ównie dla
63 Windows).
64
65 Aby wypromowaæ DjVu jako sieciowy standard, LizardTech udostêpni³
66 wzorcow± implementacjê DjVu na licencji GPL w pa¼dzierniku 2000.
67 DjVuLibre (czyli wolne DjVu) jest rozszerzon± wersj± tego kodu
68 rozwijan± przez pomys³odawców DjVu. Jest kompatybilna z wersj±
69 3.5 oprogramowania LizardTech DjVu.
70
71 Ten pakiet zawiera: bibliotekê w C++, zestaw kompresorów, dekoderów
72 i narzêdzi do plików w formacie DjVu. Przegl±darka oraz wtyczki do
73 przegl±darek znajduj± siê w innych podpakietach.
74
75 %package djview
76 Summary:        Qt-based DjVu viewer
77 Summary(pl):    Oparta o Qt przegl±darka DjVu
78 Group:          X11/Applications
79 Requires:       %{name} = %{version}
80 Obsoletes:      djview
81
82 %description djview
83 Qt-based DjVu viewer.
84
85 %description djview -l pl
86 Oparta o Qt przegl±darka DjVu.
87
88 %package -n mozilla-plugin-%{name}
89 Summary:        DjVu plugin for Mozilla
90 Summary(pl):    Wtyczka DjVu do Mozilli
91 Group:          X11/Libraries
92 Requires:       %{name}-djview = %{version}
93 Requires:       mozilla-embedded
94
95 %description -n mozilla-plugin-%{name}
96 DjVu plugin for Mozilla and Mozilla-based browsers.
97
98 %description -n mozilla-plugin-%{name} -l pl
99 Wtyczka DjVu do Mozilli i przegl±darek na niej bazuj±cych.
100
101 %package -n netscape-plugin-%{name}
102 Summary:        DjVu plugin for Netscape
103 Summary(pl):    Wtyczka DjVu do Netscape
104 Group:          X11/Libraries
105 Requires:       %{name}-djview = %{version}
106 Requires:       netscape-common
107 Obsoletes:      djview-netscape
108
109 %description -n netscape-plugin-%{name}
110 DjVu plugin for Netscape.
111
112 %description -n netscape-plugin-%{name} -l pl
113 Wtyczka DjVu do Netscape.
114
115 %prep -q
116 %setup -q
117 %patch0 -p1
118 %patch1 -p1
119
120 %build
121 %{__aclocal}
122 %{__autoconf}
123 %configure
124
125 %{__make} depend
126 %{__make}
127
128 %install
129 rm -rf $RPM_BUILD_ROOT
130 install -d $RPM_BUILD_ROOT{%{mozdir},%{nsdir}}
131
132 %{__make} install \
133         DESTDIR=$RPM_BUILD_ROOT
134
135 mv -f $RPM_BUILD_ROOT%{_libdir}/netscape/plugins/nsdejavu.so \
136         $RPM_BUILD_ROOT%{mozdir}
137 cp -f $RPM_BUILD_ROOT%{mozdir}/nsdejavu.so $RPM_BUILD_ROOT%{nsdir}
138
139 %clean
140 rm -rf $RPM_BUILD_ROOT
141
142 %post   -p /sbin/ldconfig
143 %postun -p /sbin/ldconfig
144
145 %files
146 %defattr(644,root,root,755)
147 %doc COPYRIGHT NEWS README TODO doc/*
148 %attr(755,root,root) %{_bindir}/[!d]*
149 %attr(755,root,root) %{_bindir}/d[!j]*
150 %attr(755,root,root) %{_bindir}/djv[!i]*
151 %attr(755,root,root) %{_libdir}/lib*.so
152 %{_mandir}/man1/[!d]*
153 %{_mandir}/man1/d[!j]*
154 %{_mandir}/man1/djv[!i]*
155 %dir %{_datadir}/djvu
156 %{_datadir}/djvu/languages.xml
157 %dir %{_datadir}/djvu/osi
158 %lang(zh) %{_datadir}/djvu/osi/Chinese_PRC
159 %lang(de) %{_datadir}/djvu/osi/de_DE
160 %{_datadir}/djvu/osi/en
161 %lang(fr) %{_datadir}/djvu/osi/fr_FR
162 %lang(ja) %{_datadir}/djvu/osi/ja_JP
163
164 %files djview
165 %defattr(644,root,root,755)
166 %attr(755,root,root) %{_bindir}/djview
167 %{_mandir}/man1/djview.1*
168
169 %files -n mozilla-plugin-%{name}
170 %defattr(644,root,root,755)
171 %attr(755,root,root) %{mozdir}/*.so
172
173 %files -n netscape-plugin-%{name}
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{nsdir}/*.so
This page took 0.243774 seconds and 4 git commands to generate.