]> git.pld-linux.org Git - packages/djvulibre.git/blob - djvulibre.spec
- initial release (completely rewritten from temptate spec)
[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.5
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/Graphics
8 Source0:        http://prdownloads.sourceforge.net/djvu/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-DESTDIR.patch
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  libjpeg-devel
13 BuildRequires:  qt-devel >= 2.2.0
14 URL:            http://djvu.sourceforge.net
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 #%define                _prefix         /usr/X11R6
18
19 %description
20
21 DjVu is a web-centric format and software platform for distributing
22 documents and images. DjVu content downloads faster, displays and
23 renders faster, looks nicer on a screen, and consume less client
24 resources than competing formats. DjVu was originally developped at
25 AT&T Labs-Research by Leon Bottou, Yann LeCun, Patrick Haffner, and
26 many others. In March 2000, AT&T sold DjVu to LizardTech Inc. who now
27 distributes Windows/Mac plug-ins, and commercial encoders (mostly on
28 Windows)
29
30 In an effort to promote DjVu as a Web standard, the LizardTech
31 management was enlightened enough to release the reference
32 implementation of DjVu under the GNU GPL in October 2000. DjVuLibre
33 (which means free DjVu), is an enhanced version of that code
34 maintained by the original inventors of DjVu. It is compatible with
35 version 3.5 of the LizardTech DjVu software suite.
36
37 DjVulibre-3.5 contains:
38 - a standalone DjVu viewer based on the Qt library.
39 - A browser plugin that works with most Unix browsers.
40 - A full-fledged wavelet-based compressor for pictures.
41 - A simple compressor for bitonal (black and white) scanned pages.
42 - A compressor for palettized images (a la GIF/PNG).
43 - A set of utilities to manipulate and assemble DjVu images and
44   documents.
45 - A set of decoders to convert DjVu to a number of other formats.
46 - An up-to-date version of the C++ DjVu Reference Library.
47
48 %prep -q
49 %setup -q
50 %patch0 -p1
51
52 %build
53 aclocal
54 autoconf
55 %configure
56 make depend
57 make
58
59 gzip -9nf README INSTALL NEWS TODO
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
64
65 %{__make} DESTDIR=$RPM_BUILD_ROOT install
66
67 cd $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins && ln -sf ../../netscape/plugins/nsdejavu.so .
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post
73 /sbin/ldconfig
74
75 %postun
76 /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %doc *.gz doc/*
81 %attr(755,root,root) %{_bindir}/*
82 %{_libdir}
83 %{_datadir}/djvu
84 %{_mandir}
This page took 0.054728 seconds and 3 git commands to generate.