[521] | 1 | Summary: Portable C library for dynamically generating PDF files. |
---|
[2371] | 2 | Summary(ja): PDF ファイルをダイナミックに生成する C ライブラリ |
---|
[521] | 3 | Name: pdflib |
---|
| 4 | Version: 4.0.1 |
---|
[2371] | 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | Group: Development/Libraries |
---|
[2371] | 7 | License: Aladdin Free Public License |
---|
[521] | 8 | URL: http://www.pdflib.com/ |
---|
| 9 | Source: http://www.pdflib.com/pdflib/download/%{name}-%{version}.tar.gz |
---|
[2371] | 10 | Patch0: pdflib-4.0.1-config_sub.patch |
---|
[521] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | Vendor: Project Vine |
---|
| 13 | Distribution: Vine Linux |
---|
| 14 | |
---|
| 15 | %description |
---|
| 16 | PDFlib is a C library for generating PDF files. It offers a graphics |
---|
| 17 | API with support for drawing, text, fonts, images, and hypertext. Call PDFlib |
---|
| 18 | routines from within your client program and voila: dynamic PDF files! |
---|
| 19 | For detailed instructions on PDFlib programming and the associated API, |
---|
| 20 | see the PDFlib Programming Manual, included in PDF format in the |
---|
| 21 | PDFlib distribution. |
---|
| 22 | |
---|
| 23 | %description -l ja |
---|
[2371] | 24 | PDFlib は PDF ファイルを作成するのに使われる C のライブラリです. |
---|
| 25 | グラフィクス API が提供されており,図形,テキスト,フォント,画像, |
---|
| 26 | ハイパーテキスト等がサポートされています.PDFlib のルーチンを |
---|
| 27 | プログラムから利用すれば,ダイナミック PDF ファイルの出来上がりです. |
---|
| 28 | PDFlib プログラミングや API に関するくわしい説明は,PDFlib プログラミング |
---|
| 29 | マニュアルに書かれており,その PDF ファイルが附属しています. |
---|
[521] | 30 | |
---|
| 31 | |
---|
| 32 | %package devel |
---|
| 33 | Group: Development/Libraries |
---|
| 34 | Summary: Header file for pdflib |
---|
[2371] | 35 | Summary(ja): PDFlib 用のヘッダファイル |
---|
[521] | 36 | |
---|
| 37 | |
---|
| 38 | %description devel |
---|
| 39 | This package contains the files needed for compiling programs using |
---|
| 40 | the PDF library. |
---|
| 41 | |
---|
| 42 | %description devel -l ja |
---|
[2371] | 43 | このパッケージには PDF ライブラリを使ったプログラムのコンパイルに |
---|
| 44 | 必要な各種ファイルが収められています. |
---|
[521] | 45 | |
---|
| 46 | |
---|
| 47 | #%package perl5 |
---|
| 48 | #Group: Development/Libraries |
---|
| 49 | #Summary: PDFlib bindings for Perl5 |
---|
[2371] | 50 | #Summary(ja): Perl5 用 PDFlib バインディング |
---|
[521] | 51 | # |
---|
| 52 | # |
---|
| 53 | #%description perl5 |
---|
| 54 | #This package contains perl bindings for the pdflib library. |
---|
| 55 | # |
---|
| 56 | #%description perl5 -l ja |
---|
[2371] | 57 | #このパッケージには PDFlib ライブラリへの Perl バインディングが |
---|
| 58 | #収められています. |
---|
[521] | 59 | |
---|
| 60 | |
---|
| 61 | #%package python1.5 |
---|
| 62 | #Group: Development/Libraries |
---|
| 63 | #Summary: PDFlib bindings for Python 1.5 |
---|
[2371] | 64 | #Summary(ja): Python 1.5 用 PDFlib バインディング |
---|
[521] | 65 | # |
---|
| 66 | # |
---|
| 67 | #%description python1.5 |
---|
| 68 | #This package contains python bindings for the pdflib library. |
---|
| 69 | # |
---|
| 70 | #%description python1.5 -l ja |
---|
[2371] | 71 | #このパッケージには PDFlib ライブラリへの Python バインディングが |
---|
| 72 | #収められています. |
---|
[521] | 73 | |
---|
| 74 | |
---|
| 75 | #%package tcl8.0 |
---|
| 76 | #Group: Development/Libraries |
---|
| 77 | #Summary: PDFlib bindings for Tcl 8.0 |
---|
[2371] | 78 | #Summary(ja): Tcl 8.0 用 PDFlib バインディング |
---|
[521] | 79 | # |
---|
| 80 | # |
---|
| 81 | #%description tcl8.0 |
---|
| 82 | #This package contains tcl bindings for the pdflib library. |
---|
| 83 | # |
---|
| 84 | #%description tcl8.0 -l ja |
---|
[2371] | 85 | #このパッケージには PDFlib ライブラリへの Tcl バインディングが |
---|
| 86 | #収められています. |
---|
[521] | 87 | |
---|
| 88 | |
---|
| 89 | #%package java1.2 |
---|
| 90 | #Group: Development/Libraries |
---|
| 91 | #Summary: PDFlib bindings for Java 1.2 |
---|
[2371] | 92 | #Summary(ja): Java 1.2 用 PDFlib バインディング |
---|
[521] | 93 | # |
---|
| 94 | # |
---|
| 95 | #%description java1.2 |
---|
| 96 | #This package contains java bindings for the pdflib library. |
---|
| 97 | # |
---|
| 98 | #%description java1.2 -l ja |
---|
[2371] | 99 | #このパッケージには PDFlib ライブラリへの Java バインディングが |
---|
| 100 | #収められています. |
---|
[521] | 101 | |
---|
| 102 | |
---|
| 103 | %prep |
---|
| 104 | %setup -q |
---|
[2371] | 105 | %patch0 -p1 -b .config_sub |
---|
[521] | 106 | |
---|
| 107 | %build |
---|
| 108 | %configure --with-perl=no --with-py=no --with-tcl=no --with-java=no |
---|
| 109 | make |
---|
| 110 | |
---|
| 111 | |
---|
| 112 | %install |
---|
| 113 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 114 | mkdir -p ${RPM_BUILD_ROOT}%{_bindir} |
---|
| 115 | %makeinstall |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | %clean |
---|
| 119 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 120 | |
---|
| 121 | |
---|
| 122 | %post |
---|
| 123 | /sbin/ldconfig |
---|
| 124 | |
---|
| 125 | |
---|
| 126 | %postun |
---|
| 127 | /sbin/ldconfig |
---|
| 128 | |
---|
| 129 | |
---|
| 130 | #%post java1.2 |
---|
| 131 | #/sbin/ldconfig |
---|
| 132 | |
---|
| 133 | |
---|
| 134 | #%postun java1.2 |
---|
| 135 | #/sbin/ldconfig |
---|
| 136 | |
---|
| 137 | |
---|
| 138 | %files |
---|
| 139 | %defattr(-,root,root) |
---|
[2371] | 140 | %{_bindir}/* |
---|
[521] | 141 | %attr(755,root,root) %{_libdir}/libpdf.so.* |
---|
[2371] | 142 | %exclude %{_libdir}/libpdf.la |
---|
[521] | 143 | |
---|
| 144 | |
---|
| 145 | %files devel |
---|
| 146 | %defattr(-,root,root) |
---|
| 147 | %doc readme.txt doc/* |
---|
| 148 | %{_includedir}/pdflib.h |
---|
| 149 | %{_libdir}/libpdf.so |
---|
[2371] | 150 | %exclude %{_libdir}/libpdf.a |
---|
[521] | 151 | |
---|
| 152 | |
---|
| 153 | #%files perl5 |
---|
| 154 | #%defattr(-,root,root) |
---|
| 155 | #/usr/lib/perl5 |
---|
| 156 | |
---|
| 157 | |
---|
| 158 | #%files python1.5 |
---|
| 159 | #%defattr(-,root,root) |
---|
| 160 | #/usr/lib/python1.5 |
---|
| 161 | |
---|
| 162 | |
---|
| 163 | #%files tcl8.0 |
---|
| 164 | #%defattr(-,root,root) |
---|
| 165 | #/usr/lib/tcl8.0 |
---|
| 166 | |
---|
| 167 | |
---|
| 168 | #%files java1.2 |
---|
| 169 | #%defattr(-,root,root) |
---|
| 170 | #%doc /usr/local/jdk1.2/docs |
---|
| 171 | #/usr/lib/libpdf_java.* |
---|
| 172 | #/usr/local/jdk1.2/jre |
---|
| 173 | |
---|
| 174 | |
---|
[2371] | 175 | %changelog |
---|
| 176 | * Mon Dec 20 2010 Shu KONNO <owa@bg.wakwak.com> 4.0.1-1 |
---|
| 177 | - changed spec file as vine5 style, and spec in utf-8 |
---|
| 178 | - s/Copyright/License/ |
---|
| 179 | - added pdflib-4.0.1-config_sub.patch |
---|
| 180 | - exclude %{_libdir}/libpdf.{a,la} |
---|
[521] | 181 | |
---|
| 182 | * Sun Sep 02 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.0.1-0vl3 |
---|
| 183 | - fixed %%defattr |
---|
| 184 | |
---|
| 185 | * Fri Jun 22 2001 <sagami@vinelinux.org> |
---|
| 186 | - 4.0.1-0vl2: correct Group |
---|
| 187 | |
---|
| 188 | * Thu Jun 21 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org> |
---|
| 189 | - updated to new upstream 4.0.1 release |
---|
| 190 | - disable {perl,python,tcl} subpackages at the moment |
---|
| 191 | |
---|
| 192 | * Sun May 20 2001 Henrik Seidel <Henrik.Seidel@gmx.de> |
---|
| 193 | - upgraded to 4.0.0 |
---|
| 194 | |
---|
| 195 | * Thu Oct 19 2000 Henrik Seidel <Henrik.Seidel@gmx.de> |
---|
| 196 | - upgraded to 3.02 |
---|
| 197 | |
---|
| 198 | * Thu Mar 9 2000 Henrik Seidel <Henrik.Seidel@gmx.de> |
---|
| 199 | - upgraded to 3.0 |
---|
| 200 | |
---|
| 201 | * Tue Sep 14 1999 Henrik Seidel <Henrik.Seidel@gmx.de> |
---|
| 202 | - upgraded to 2.01 |
---|
| 203 | |
---|
| 204 | * Tue Jul 27 1999 Henrik Seidel <Henrik.Seidel@gmx.de> |
---|
| 205 | - initial revision |
---|