source: projects/specs/branches/6/d/djvulibre/djvulibre-vl.spec @ 3762

Revision 3762, 6.0 KB checked in by owa, 13 years ago (diff)

update:djvulibre, new:djview

Line 
1Summary: DjVu viewers, encoders and utilities.
2Summary(ja): DjVu 画像形式ファイル操作用ライブラリ、ツール
3Name: djvulibre
4Version: 3.5.24
5Release: 1%{?_dist_release}
6License: GPL
7Group: System Environment/Libraries
8Source0: http://prdownloads.sourceforge.net/djvu/djvulibre-%{version}.tar.gz
9BuildRoot: %{_tmppath}/%{name}-%{version}-root
10URL: http://djvu.sourceforge.net
11BuildRequires: qt-devel, qt-designer
12BuildRequires: libtiff-devel
13BuildRequires: libjpeg-devel
14BuildRequires: glibc-devel
15Requires: qt, libtiff, libjpeg, glibc-devel
16Distribution: Project Vine
17Vendor: Vine Linux
18Packager: owa
19
20%description
21DjVu is a web-centric format and software platform for distributing documents
22and images.  DjVu content downloads faster, displays and renders faster, looks
23nicer on a screen, and consume less client resources than competing formats.
24DjVu was originally developed at AT&T Labs-Research by Leon Bottou, Yann
25LeCun, Patrick Haffner, and many others.  In March 2000, AT&T sold DjVu to
26LizardTech Inc. who now distributes Windows/Mac plug-ins, and commercial
27encoders (mostly on Windows)
28
29In an effort to promote DjVu as a Web standard, the LizardTech management was
30enlightened enough to release the reference implementation of DjVu under the
31GNU GPL in October 2000.  DjVuLibre (which means free DjVu), is an enhanced
32version of that code maintained by the original inventors of DjVu. It is
33compatible with version 3.5 of the LizardTech DjVu software suite.
34
35DjVulibre-3.5 contains:
36- a standalone DjVu viewer based on the Qt library.
37- A browser plugin that works with most Unix browsers.
38- A full-fledged wavelet-based compressor for pictures.
39- A simple compressor for bitonal (black and white) scanned pages.
40- A compressor for palettized images (a la GIF/PNG).
41- A set of utilities to manipulate and assemble DjVu images and documents.
42- A set of decoders to convert DjVu to a number of other formats.
43- An up-to-date version of the C++ DjVu Reference Library.
44
45%package devel
46Summary: The libraries and header files needed for djvulibre development.
47Group: Development/Libraries
48Requires: djvulibre = %{version}
49%description devel
50DjVulibre libraries and header files for development.
51
52
53%prep
54%setup -q
55
56
57%build
58%ifarch i386
59export CXXFLAGS="-march=i686"
60%endif
61%configure --with-qt=`pkg-config --variable=prefix qt-mt`
62
63# don't set smp option (-j n)
64make depend
65make
66
67%install
68rm -rf %{buildroot}
69make DESTDIR=%{buildroot} install
70
71# fix to stop ldconfig from complaining
72find %{buildroot}%{_libdir} -name "*.so*" -exec chmod 755 {} \;
73
74# cleanup of the docs
75rm -rf doc/CVS 2>/dev/null || :
76
77
78%preun -p /sbin/ldconfig
79%postun -p /sbin/ldconfig
80%clean
81rm -rf %{buildroot}
82
83
84%files
85%defattr(-, root, root)
86%doc README COPYRIGHT COPYING INSTALL NEWS TODO doc
87%{_bindir}
88%{_libdir}
89%exclude %{_libdir}/pkgconfig
90%exclude %{_libdir}/libdjvulibre.la
91%exclude %{_datadir}/djvu/osi/de/*
92%exclude %{_datadir}/djvu/osi/fr/*
93%exclude %{_datadir}/djvu/osi/zh/*
94%{_datadir}/djvu/pubtext
95%{_datadir}/djvu/osi/desktop
96%{_datadir}/djvu/osi/languages.xml
97%{_datadir}/djvu/osi/en
98%{_datadir}/djvu/osi/cs/messages.xml
99%lang(ja) %{_datadir}/djvu/osi/ja*
100%{_mandir}/man?
101%lang(ja) %{_mandir}/ja*
102
103%files devel
104%defattr(-, root, root)
105%{_includedir}/libdjvu
106%{_libdir}/pkgconfig/ddjvuapi.pc
107
108
109%changelog
110* Sun May 01 2011 Shu KONNO <owa@bg.wakwak.com> 3.5.24-1
111- updated djvulibre to 3.5.24
112- obsoletes djvulibre-plugin (new is djview-plugin)
113
114* Sat Apr 30 2011 Shu KONNO <owa@bg.wakwak.com> 3.5.22-4
115- installed djview3.png
116
117* Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 3.5.22-3
118- rebuilt with rpm-4.8.1 for pkg-config
119
120* Wed Jul 01 2009 Shu KONNO <owa@bg.wakwak.com> 3.5.22-2
121- rebuilt with new toolchain
122
123* Wed Jul 01 2009 Shu KONNO <owa@bg.wakwak.com> 3.5.22-1
124- updated djvulibre to 3.5.22
125
126* Tue Dec 30 2008 Shu KONNO <owa@bg.wakwak.com> 3.5.21-1
127- initial build for VineSeed
128- spec in utf-8, and applied vine versioning policy
129- updated djvulibre to 3.5.21
130- added CXXFLAG="-march=i686" if i386
131- added djview desktop file
132
133* Tue Apr 03 2007 Shu KONNO <owa@bg.wakwak.com> 3.5.19-uvl1
134- updated djvulibre to 3.5.19
135- added scripts to alternative djview at %%post, %%preun
136
137* Thu Dec 01 2005 Shu KONNO <owa@bg.wakwak.com> 3.5.16-uvl1
138- updated djvulibre to 3.5.16
139- changed suffix
140- divided into djvulibre, djvulibre-devel, djvulibre-plugin
141
142* Tue Nov 09 2004 Shu KONNO <owa@bg.wakwak.com> 3.5.14-uvl2
143- updated djvulibre to 3.5.14 (realese 2)
144
145* Thu Jun 17 2004 Leon Bottou <leon@bottou.org> 3.5.13-4
146- changed runtime generation of file list.
147* Mon May 31 2004 Leon Bottou <leon@bottou.org> 3.5.13-3
148- removed 'make install-desktop-files'
149* Wed May  5 2004 Leon Bottou <leon@bottou.org> 3.5.13-2
150* Fri Apr  9 2004 Leon Bottou <leon@bottou.org> 3.5.13-1
151- added runtime generation of file list.
152- using DESTDIR instead of %makeinstall.
153- added 'make install-desktop-files'
154* Wed Nov  5 2003 Leon Bottou <leon@bottou.org> 3.5.12-3
155- added support for i18n
156- renamed symlink in mozilla plugin dirs.
157* Mon Jul  7 2003 Leon Bottou <leon@bottou.org> 3.5.12-1
158* Thu Apr 24 2003 Leon Bottou <leon@bottou.org> 3.5.11-1
159* Thu Feb  6 2003 Leon Bottou <leon@bottou.org> 3.5.10-2
160* Fri Jan 24 2003 Leon Bottou <leon@bottou.org> 3.5.10-1
161* Wed Oct  9 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.9-2
162- fixed logic for uninstalling nsdejavu links.
163- learned a few tricks from the freshrpms spec file.
164* Sun Oct  6 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.9-1
165- added logic to install nsdejavu for mozilla.
166* Wed May 29 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.6-1
167* Mon Apr 1 2002  Leon Bottou <leonb@users.sourceforge.net> 3.5.5-2
168- changed group to Applications/Publishing.
169* Tue Mar 25 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.5-2
170* Tue Jan 22 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.4-2
171- added macros to locate man directory.
172* Wed Jan 16 2002 Leon Bottou <leonb@users.sourceforge.net> 3.5.3-1
173* Fri Dec  7 2001 Leon Bottou <leonb@users.sourceforge.net> 3.5.2-1
174* Wed Dec  5 2001 Leon Bottou <leonb@users.sourceforge.net> 3.5.1-1
175- created initial file.
176
Note: See TracBrowser for help on using the repository browser.