Summary: Portable C library for dynamically generating PDF files. Summary(ja): PDF ファイルをダイナミックに生成する C ライブラリ Name: pdflib Version: 4.0.1 Release: 1%{?_dist_release} Group: Development/Libraries License: Aladdin Free Public License URL: http://www.pdflib.com/ Source: http://www.pdflib.com/pdflib/download/%{name}-%{version}.tar.gz Patch0: pdflib-4.0.1-config_sub.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Vendor: Project Vine Distribution: Vine Linux %description PDFlib is a C library for generating PDF files. It offers a graphics API with support for drawing, text, fonts, images, and hypertext. Call PDFlib routines from within your client program and voila: dynamic PDF files! For detailed instructions on PDFlib programming and the associated API, see the PDFlib Programming Manual, included in PDF format in the PDFlib distribution. %description -l ja PDFlib は PDF ファイルを作成するのに使われる C のライブラリです. グラフィクス API が提供されており,図形,テキスト,フォント,画像, ハイパーテキスト等がサポートされています.PDFlib のルーチンを プログラムから利用すれば,ダイナミック PDF ファイルの出来上がりです. PDFlib プログラミングや API に関するくわしい説明は,PDFlib プログラミング マニュアルに書かれており,その PDF ファイルが附属しています. %package devel Group: Development/Libraries Summary: Header file for pdflib Summary(ja): PDFlib 用のヘッダファイル %description devel This package contains the files needed for compiling programs using the PDF library. %description devel -l ja このパッケージには PDF ライブラリを使ったプログラムのコンパイルに 必要な各種ファイルが収められています. #%package perl5 #Group: Development/Libraries #Summary: PDFlib bindings for Perl5 #Summary(ja): Perl5 用 PDFlib バインディング # # #%description perl5 #This package contains perl bindings for the pdflib library. # #%description perl5 -l ja #このパッケージには PDFlib ライブラリへの Perl バインディングが #収められています. #%package python1.5 #Group: Development/Libraries #Summary: PDFlib bindings for Python 1.5 #Summary(ja): Python 1.5 用 PDFlib バインディング # # #%description python1.5 #This package contains python bindings for the pdflib library. # #%description python1.5 -l ja #このパッケージには PDFlib ライブラリへの Python バインディングが #収められています. #%package tcl8.0 #Group: Development/Libraries #Summary: PDFlib bindings for Tcl 8.0 #Summary(ja): Tcl 8.0 用 PDFlib バインディング # # #%description tcl8.0 #This package contains tcl bindings for the pdflib library. # #%description tcl8.0 -l ja #このパッケージには PDFlib ライブラリへの Tcl バインディングが #収められています. #%package java1.2 #Group: Development/Libraries #Summary: PDFlib bindings for Java 1.2 #Summary(ja): Java 1.2 用 PDFlib バインディング # # #%description java1.2 #This package contains java bindings for the pdflib library. # #%description java1.2 -l ja #このパッケージには PDFlib ライブラリへの Java バインディングが #収められています. %prep %setup -q %patch0 -p1 -b .config_sub %build %configure --with-perl=no --with-py=no --with-tcl=no --with-java=no make %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} %makeinstall %clean rm -rf ${RPM_BUILD_ROOT} %post /sbin/ldconfig %postun /sbin/ldconfig #%post java1.2 #/sbin/ldconfig #%postun java1.2 #/sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/libpdf.so.* %exclude %{_libdir}/libpdf.la %files devel %defattr(-,root,root) %doc readme.txt doc/* %{_includedir}/pdflib.h %{_libdir}/libpdf.so %exclude %{_libdir}/libpdf.a #%files perl5 #%defattr(-,root,root) #/usr/lib/perl5 #%files python1.5 #%defattr(-,root,root) #/usr/lib/python1.5 #%files tcl8.0 #%defattr(-,root,root) #/usr/lib/tcl8.0 #%files java1.2 #%defattr(-,root,root) #%doc /usr/local/jdk1.2/docs #/usr/lib/libpdf_java.* #/usr/local/jdk1.2/jre %changelog * Mon Dec 20 2010 Shu KONNO 4.0.1-1 - changed spec file as vine5 style, and spec in utf-8 - s/Copyright/License/ - added pdflib-4.0.1-config_sub.patch - exclude %{_libdir}/libpdf.{a,la} * Sun Sep 02 2001 MATSUBAYASHI Kohji 4.0.1-0vl3 - fixed %%defattr * Fri Jun 22 2001 - 4.0.1-0vl2: correct Group * Thu Jun 21 2001 MATSUBAYASHI 'Shaolin' Kohji - updated to new upstream 4.0.1 release - disable {perl,python,tcl} subpackages at the moment * Sun May 20 2001 Henrik Seidel - upgraded to 4.0.0 * Thu Oct 19 2000 Henrik Seidel - upgraded to 3.02 * Thu Mar 9 2000 Henrik Seidel - upgraded to 3.0 * Tue Sep 14 1999 Henrik Seidel - upgraded to 2.01 * Tue Jul 27 1999 Henrik Seidel - initial revision