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