source: projects/specs/trunk/d/djvulibre/djvulibre-vl.spec @ 9387

Revision 9387, 6.2 KB checked in by inagaki, 9 years ago (diff)

2015-02-26 Ryoichi INAGAKI <ryo1@…>

  • djvulibre: rebuilt
  • libnet: updated
  • net-snmp: fixed dependency


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