source: projects/specs/trunk/p/poppler/poppler-vl.spec @ 9791

Revision 9791, 10.7 KB checked in by Takemikaduchi, 7 years ago (diff)

GNOME 3.18.1, BlueZ 5.35, ICU 56.1, Mesa 11.0.4, PulseAudio 7.1, xserver 1.17.4, etc.

Line 
1%define name    poppler
2%define version 0.37.0
3%define release 1%{?_dist_release}
4
5Summary:        PDF rendering library.
6Summary(ja):    PDF レンダリング用ライブラリ
7Name:           %{name}
8Version:        %{version}
9Release:        %{release}
10
11Source0:        http://poppler.freedesktop.org/%{name}-%{version}.tar.xz
12
13License:        GPLv2
14Group:          System Environment/Libraries
15URL:            http://poppler.freedesktop.org/
16
17BuildRequires:  gtk2-devel >= 2.2.0
18BuildRequires:  zlib-devel
19BuildRequires:  libjpeg-devel
20BuildRequires:  openjpeg-devel
21BuildRequires:  cairo-devel
22BuildRequires:  qt4-devel >= 4.4.0
23BuildRequires:  libXmu-devel
24BuildRequires:  lcms2-devel
25BuildRequires:  libtiff-devel
26
27Requires:       poppler-data >= 0.3.0
28
29BuildRoot:      %{_tmppath}/%{name}-%{version}-root
30
31Obsoletes:      %{name}-qt < 0.18
32Obsoletes:      %{name}-qt-devel < 0.18
33
34Vendor:         Project Vine
35Distribution:   Vine Linux
36Packager:       kazutaka, inagaki, daisuke, Takemikaduchi
37
38%description
39Poppler is a PDF rendering library based on the xpdf-3.0 code base.
40
41%description -l ja
42Popplerは xpdf-3.0 のコードをベースにした PDF レンダリング用ライブラリ
43です。
44
45#-----------------------------------------------------------------------------
46
47%package devel
48Summary:        Libraries and headers for poppler
49Summary(ja):    poppler用の開発ライブラリおよびヘッダファイル
50Group:          Development/Libraries
51Requires:       %{name} = %{version}-%{release}
52Requires:       gtk2-devel
53
54%description devel
55This package includes the files needed for developing and compiling
56applications which use the poppler library.
57
58You should install the poppler-devel package if you would like to
59develop applications based on poppler.
60
61%description devel -l ja
62このパッケージは poppler ライブラリを使用するアプリケーションを開発
63するのに必要なライブラリやヘッダファイルを含んでいます。
64
65poppler をベースにしたアプリケーションを開発するなら、このパッケージ
66をインストールしてください。
67
68#-----------------------------------------------------------------------------
69
70%package qt4
71Summary:        Qt4 wrapper for poppler
72Group:          System Environment/Libraries
73Requires:       %{name} = %{version}-%{release}
74Requires:       qt4 >= 4.4.0
75
76%description qt4
77Qt4 wrapper for poppler.
78
79%package qt4-devel
80Summary:        Development files for poppler Qt4 wrapper
81Group:          Development/Libraries
82Requires:       %{name}-qt4 = %{version}-%{release}
83Requires:       %{name}-devel = %{version}-%{release}
84Requires:       qt4-devel >= 4.4.0
85
86%description qt4-devel
87Development files for poppler Qt4 wrapper
88
89#-----------------------------------------------------------------------------
90
91%package utils
92Summary:        Command line utilities for converting PDF files
93Group:          Applications/Text
94Requires:       %{name} = %{version}-%{release}
95
96%description utils
97This utils package installs a number of command line tools for
98converting PDF files to a number of other formats.
99
100#-----------------------------------------------------------------------------
101
102%prep
103%setup -q
104
105%build
106%configure \
107           --enable-silent-rules \
108           --enable-shared \
109           --disable-static \
110           --enable-xpdf-headers \
111           --enable-zlib \
112           --enable-introspection=yes \
113           --disable-gtk-doc \
114           --enable-poppler-qt4
115
116%{__make}
117
118
119%install
120%{__rm} -rf ${RPM_BUILD_ROOT}
121%makeinstall
122
123# remove unnecessary files.
124%{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/libpoppler.la
125%{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/libpoppler-cpp.la
126%{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/libpoppler-glib.la
127%{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/libpoppler-qt4.la
128
129%clean
130%{__rm} -rf ${RPM_BUILD_ROOT}
131
132%post -p /sbin/ldconfig
133
134%postun -p /sbin/ldconfig
135
136%post qt4 -p /sbin/ldconfig
137
138%postun qt4 -p /sbin/ldconfig
139
140%files
141%defattr(-,root,root)
142%doc AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO
143%{_libdir}/lib*.so.*
144%{_libdir}/girepository-1.0/*.typelib
145%exclude %{_libdir}/libpoppler-qt4.so.*
146
147%files devel
148%defattr(-, root, root)
149%{_libdir}/lib*.so
150%{_libdir}/pkgconfig/*.pc
151%{_includedir}/poppler
152%{_datadir}/gir-1.0/*.gir
153%{_datadir}/gtk-doc/html/poppler
154%exclude %{_libdir}/libpoppler-qt4.so
155%exclude %{_libdir}/pkgconfig/poppler-qt4.pc
156%exclude %{_includedir}/poppler/qt4
157
158%files qt4
159%defattr(-, root, root)
160%{_libdir}/libpoppler-qt4.so.*
161
162%files qt4-devel
163%defattr(-, root, root)
164%{_libdir}/libpoppler-qt4.so
165%{_libdir}/pkgconfig/poppler-qt4.pc
166%{_includedir}/poppler/qt4
167
168%files utils
169%defattr(-, root, root)
170%{_bindir}/pdf*
171%{_mandir}/man1/pdf*
172
173%changelog
174* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.37.0-1
175- new upstream release
176
177* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.26.5-1
178- new upstream release
179
180* Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.26.2-1
181- new upstream release
182
183* Wed Apr 30 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.24.5-1
184- new upstream release with security fixes
185
186* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.24.2-2
187- rebuild with VineSeed environment
188
189* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.24.2-1
190- new upstream release
191
192* Sat Sep 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.4-1
193- new upstream release
194- change BuildRequires: lcms2-devel instead of lcms-devel
195- add BuildRequires: libtiff-devel
196
197* Wed Apr 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18.4-1
198- new upstream release
199- remove Patch10
200- remove qt, qt-devel sub packages
201
202* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.6-2
203- add Requires: gtk2-devel (-devel package)
204
205* Tue May 31 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.16.6-1
206- new upstream release
207
208* Tue Apr 19 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.16.4-2
209- rebuild again on ppc with openjpeg-1.4
210
211* Thu Apr 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.16.4-1
212- new upstream release
213- built with openjpeg-1.4
214
215* Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.16.3-1
216- new upstream release
217- added utils subpackage
218
219* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.2-1
220- new upstream release
221- add BuildRequires: libXmu-devel
222
223* Sun Mar 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.4-1
224- new upstream release (including security fix CVE-2009-3607)
225- built with new toolchain
226- changed --enable-gtk-doc to --disable-gtk-doc
227
228* Mon Nov  2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12.1-1
229- new upstream release (including security fix based xpdf 3.02pl4)
230- added BR: openjpeg-devel
231
232* Sun Aug 16 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.10.7-3
233- added qt4 wrapper subpackage
234- added BuildRequires: qt4-devel
235
236* Mon Jul 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.10.7-2
237- add Patch10 to support otf font with TrueType format. (<BTS:0727>)
238  (thanks to tomop)
239
240* Mon May 18 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.7-1
241- new upstream release
242
243* Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.6-3
244- added qt3 wrapper subpackage
245
246* Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.6-2
247- add configure option --enable-shared and --disable-static
248- drop *.a from devel sub package
249
250* Fri Apr 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.6-1
251- new upstream release
252- add Packager: kazutaka
253
254* Sun Mar 15 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.5-1
255- new upstream release
256
257* Mon Feb 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.4-1
258- new upstream release
259
260* Sun Feb 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.3-1
261- new upstream release
262
263* Sat Dec 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10.2-1
264- new upstream release
265
266* Fri Oct 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.7-1
267- new upstream release
268- built with cairo-1.8.0
269
270* Sat Aug 30 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.6-1
271- new upstream release
272
273* Tue Jul 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.5-1
274- new upstream release
275
276* Tue Jul 01 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.4-1
277- new upstream release
278
279* Thu Jun  5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.3-1
280- new upstream release
281- spec in UTF-8
282
283* Tue Apr  1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.2-1
284- new upstream release.
285- rebuilt with cairo-1.6.4
286
287* Mon Mar 31 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.0-1
288- new upstream release.
289- apply new versioning policy.
290
291* Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.4-0vl1
292- new upstream release.
293
294* Sun Dec 30 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.3-0vl1
295- new upstream release.
296
297* Tue Dec 11 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.2-0vl1
298- new upstream release.
299
300* Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.1-0vl1
301- new upstream release.
302
303* Sun Sep 09 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6-0vl1
304- new upstream release.
305- add Requires to poppler-data.
306
307* Mon Jun 18 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.9-0vl1
308- new upstream release.
309- drop Patch100. (Fixed in upstream)
310
311* Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.4-0vl3
312- rebuild with new environment/toolchain
313
314* Mon Feb 05 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.5.4-0vl2
315- rebuilt for VineSeed
316
317* Sat Jan 20 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.5.4-0vl1.1
318- add patch100 for fix CVE-2007-0104 (Catalog Dictionary Handling Dos)
319- add Vendor/Distribution Tag
320
321* Tue Sep 26 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.4-0vl1
322- source update.
323- remove unnecessary .la files in %%install section.
324
325* Thu Jun 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.3-0vl2
326- add Requires: xpdf-common >= 3.01
327- fix Url
328
329* Sat Jun 17 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.3-0vl1
330- source update.
331- add BuildRequires gtk-doc.
332
333* Sun May 28 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.2-0vl1
334- source update.
335
336* Sat Mar 11 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.1-0vl2
337- add --enable-xpdf-headers configure option.
338
339* Wed Mar 01 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.1-0vl1
340- source update.
341- add %%{_datadir}/gtk-doc/html/poppler in %%files section.
342- add --disable-utils and --enable-zlib configure option.
343  (--disable-utis needed to aboid conflict with xpdf)
344- delete --enable-a4-paper configure option.(no longer supported)
345
346* Wed Jan 25 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.4-0vl1
347- source update.
348
349* Wed Sep 21 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.2-0vl1
350- source update.
351- add configure option --disable-poppler-{qt.qt4}, --enable-a4-paper.
352- del BuildReq: libpixman-devel.(Obsolete by cairo)
353
354* Thu Aug 18 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.0-0vl1
355- source update.
356
357* Sat Jun 25 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.3-0vl1
358- source update.
359
360* Thu May 19 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.2-0vl1
361- source update.
362
363* Thu May 05 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.1-0vl1
364- initial build for VineSeed Plus.
Note: See TracBrowser for help on using the repository browser.