pdflib-vl.spec 4.5 KB

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