paps-vl.spec 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. Summary: Plain Text to PostScript converter
  2. Summary(ja): プレインテキストから Postscript へのコンバータ
  3. Name: paps
  4. Version: 0.6.8
  5. Release: 3%{?_dist_release}
  6. Group: Applications/Publishing
  7. License: LGPLv2+
  8. URL: http://paps.sourceforge.net/
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: daisuke
  12. Source0: http://prdownloads.sourceforge.net/paps/paps-%{version}.tar.gz
  13. ## https://sourceforge.net/tracker/index.php?func=detail&aid=1832897&group_id=153049&atid=786241
  14. Patch0: paps-0.6.8-shared.patch
  15. ## https://sourceforge.net/tracker/index.php?func=detail&aid=1832924&group_id=153049&atid=786241
  16. Patch1: paps-0.6.8-wordwrap.patch
  17. ## https://sourceforge.net/tracker/index.php?func=detail&aid=1832926&group_id=153049&atid=786241
  18. Patch2: paps-langinfo.patch
  19. ## https://sourceforge.net/tracker/index.php?func=detail&aid=1832929&group_id=153049&atid=786241
  20. Patch3: paps-0.6.6-lcnumeric.patch
  21. ## https://sourceforge.net/tracker/index.php?func=detail&aid=1832935&group_id=153049&atid=786241
  22. Patch4: paps-exitcode.patch
  23. Patch50: paps-cups.patch
  24. Patch51: paps-cpilpi.patch
  25. Patch52: paps-dsc-compliant.patch
  26. Patch53: paps-autoconf262.patch
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  28. BuildRequires: pango-devel automake autoconf libtool doxygen cups-devel
  29. %description
  30. paps is a PostScript converter from plain text file using Pango.
  31. %description -l ja
  32. paps は Pango を用いてプレインテキストを Postscript に変換するツールです。
  33. %package libs
  34. Summary: Libraries for paps
  35. Summary(ja): paps のライブラリ
  36. Group: Development/Libraries
  37. %description libs
  38. paps is a PostScript converter from plain text file using Pango.
  39. This package contains the library for paps.
  40. %package devel
  41. Summary: Development files for paps
  42. Summary(ja): paps の開発ファイル
  43. Group: Development/Libraries
  44. Requires: %{name}-libs = %{version}-%{release}
  45. %description devel
  46. paps is a PostScript converter from plain text file using Pango.
  47. This package contains the development files that is necessary to develop
  48. applications using paps API.
  49. %prep
  50. %setup -q
  51. %patch0 -p1 -b .shared
  52. %patch1 -p1 -b .wordwrap
  53. %patch2 -p1 -b .langinfo
  54. %patch3 -p1 -b .lcnumeric
  55. %patch4 -p1 -b .exitcode
  56. %patch50 -p1 -b .cups
  57. %patch51 -p1 -b .cpilpi
  58. %patch52 -p1 -b .dsc
  59. %patch53 -p1 -b .autoconf262
  60. libtoolize -f -c
  61. autoreconf
  62. %build
  63. %configure --disable-static
  64. make %{?_smp_mflags}
  65. %install
  66. rm -rf $RPM_BUILD_ROOT
  67. make install DESTDIR=$RPM_BUILD_ROOT
  68. # remove unnecessary files
  69. rm $RPM_BUILD_ROOT%{_libdir}/libpaps.la
  70. # make a symlink for CUPS filter
  71. %{__mkdir_p} $RPM_BUILD_ROOT/usr/lib/cups/filter # Not libdir
  72. ln -s %{_bindir}/paps $RPM_BUILD_ROOT/usr/lib/cups/filter/texttopaps
  73. %clean
  74. rm -rf $RPM_BUILD_ROOT
  75. %files
  76. %defattr(-, root, root, -)
  77. %doc AUTHORS COPYING.LIB README TODO
  78. %{_bindir}/paps
  79. %{_mandir}/man1/paps.1*
  80. /usr/lib/cups/filter/texttopaps
  81. %files libs
  82. %defattr(-, root, root, -)
  83. %doc COPYING.LIB
  84. %{_libdir}/libpaps.so.*
  85. %files devel
  86. %defattr(-, root, root, -)
  87. %doc COPYING.LIB
  88. %{_includedir}/libpaps.h
  89. %{_libdir}/libpaps.so
  90. %changelog
  91. * Sun Apr 03 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.8-3
  92. - rebuild with krb5-1.8.2, cups-1.4.5
  93. * Mon Oct 04 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.8-2
  94. - changed spec name as vine style, and rebuilt
  95. * Thu Jun 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.8-1
  96. - initial build for Vine Linux
  97. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-9
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  99. * Mon Nov 17 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-8
  100. - Courier font to be a default font for texttopaps. (#469325)
  101. * Mon Sep 1 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-7
  102. - paps-langinfo.patch: Updated.
  103. - paps-exitcode.patch: Updated.
  104. * Fri May 16 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-6
  105. - paps-cups.patch: Fix printing with -o landscape in CUPS. (#222137)
  106. - paps-autoconf262.patch: Fix an error on autoreconf.
  107. * Tue Feb 12 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-5
  108. - Rebuild for gcc-4.3.
  109. * Wed Jan 23 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-4
  110. - Fix an exception on ghostscript. (#429275)
  111. * Tue Jan 15 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-3
  112. - Put %%%%Pages: after %%%%Trailer. (#424951)
  113. * Thu Jan 10 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-2
  114. - paps-0.6.8-dsc-compliant.patch: Patch out to be DSC compliant. (#424951)
  115. * Fri Nov 30 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.8-1
  116. - New upstream release.
  117. - Remove patches merged and unnecessary anymore:
  118. - paps-makefile.patch
  119. - paps-formfeed.patch
  120. - paps-0.6.6-encoding.patch
  121. - paps-typo-font-scale.patch
  122. - paps-0.6.6-segfault.patch
  123. - paps-0.6.6-font-option.patch
  124. - paps-0.6.6-lcctype.patch
  125. - paps-0.6.8-shared.patch: Enable building shared library.
  126. - paps-0.6.8-wordwrap.patch: Update a bit to get it working without an wordwrap
  127. mode.
  128. - Add paps-libs and paps-devel package.
  129. - paps-cups.patch: Update.
  130. - paps-cpilpi.patch: Update.
  131. - Fix the wrong rendering with CPI option. (#237202)
  132. - Fix the unnecessary rotation with the landscape option when paps is running
  133. as CUPS filter. (#222137)
  134. * Thu Aug 23 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.6-21
  135. - Rebuild
  136. * Fri Aug 10 2007 Akira TAGOH <tagoh@redhat.com>
  137. - Update License tag.
  138. * Wed May 30 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.6-20
  139. - Fix to not do wordwrap when 'wrap=false' is given. (#240588)
  140. * Tue Mar 27 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.6-19
  141. - Fix PostScript breakage following the non-monetary numeric format from
  142. current locale. (#231916)
  143. * Thu Mar 7 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.6-18
  144. - default to lpi=6 and cpi=10 if paps is bringing up as cups filter. (#223862)
  145. * Tue Jan 23 2007 Akira TAGOH <tagoh@redhat.com>
  146. - Better the encoding guess by looking at current locale. (#212154)
  147. * Mon Dec 4 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-17
  148. - Fix a segfault on non-printable character. (#216296)
  149. * Sat Sep 30 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-16
  150. - paps-0.6.6-exitcode.patch: exit immediately with proper exit code
  151. when unrecoverable error occurs. (#208592)
  152. * Fri Sep 29 2006 Tim Waugh <twaugh@redhat.com> - 0.6.6-15
  153. - Avoid using iconv when not needed (bug #206259).
  154. * Thu Sep 14 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-14
  155. - paps-cups.patch: try to parse input even if any invalid character appears.
  156. (#206259)
  157. * Thu Aug 31 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-13
  158. - paps-formfeed.patch: fixed to not insert an extra line in next page.
  159. (#202731)
  160. * Thu Aug 17 2006 Tim Waugh <twaugh@redhat.com> - 0.6.6-12
  161. - Map CUPS charset names to real ones (bug #197577).
  162. * Mon Jul 17 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-11
  163. - add an owner info to PS.
  164. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.6-10.2
  165. - rebuild
  166. * Tue Jul 4 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-10
  167. - paps-0.6.6-cpilpi.patch: add --cpi and --lpi option to support the characters
  168. per inch and the lines per inch.
  169. - paps-cups.patch: add cpi and lpi support.
  170. * Thu Jun 29 2006 Tim Waugh <twaugh@redhat.com> - 0.6.6-9
  171. - Fixed font-option patch.
  172. - Adjusted CUPS patch: CUPS invokes the filter with the destination
  173. printer name in argv[0], not the binary name.
  174. - CUPS filter lives in CUPS_SERVERBIN, which is /usr/lib/cups on all
  175. architectures -- not %%{_libdir}/cups.
  176. * Thu Jun 29 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-8
  177. - use dist tag.
  178. - paps-cups.patch: applied to work paps as CUPS filter.
  179. - paps-0.6.6-encoding.patch: null-terminates the output.
  180. * Tue Jun 27 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-7
  181. - rebuilt to import into Core.
  182. * Wed Jun 21 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-6
  183. - paps-0.6.6-wordwrap.patch: applied to do a wordwrap.
  184. * Tue Jun 20 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-5
  185. - paps-typo-font-scale.patch: backported from CVS.
  186. - paps-0.6.6-font-option.patch: integrated --font-family and --font-scale
  187. options to --font.
  188. - paps-0.6.6-lcctype.patch: follow LC_CTYPE to determine the default language.
  189. * Fri Jun 16 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-4
  190. - added libtool and doxygen to BuildReq.
  191. - removed NEWS file which is empty.
  192. * Mon Jun 12 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-3
  193. - use make install DESTDIR=... instead of %%makeinstall
  194. - add automake and autoconf to BuildReq.
  195. * Thu May 25 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-2
  196. - paps-0.6.6-encoding.patch: support --encoding option to be able to convert
  197. the input file to UTF-8.
  198. - paps-0.6.6-segfault.patch: fixed a possible segfault issue when reading is
  199. failed.
  200. * Fri May 19 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-1
  201. - New upstream release.
  202. * Mon Apr 17 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.5-1
  203. - New upstream release.
  204. - paps-0.6.3-fix-pagesize.patch: removed. it has been merged in upstream.
  205. - paps-0.6.3-goption.patch: removed. it has been merged in upstream.
  206. - paps-0.6.3-header.patch: removed. it has been merged in upstream.
  207. - paps-makefile.patch: rework to be applied.
  208. * Fri Mar 31 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.3-4
  209. - paps-0.6.3-formfeed.patch: applied to deal with the formfeed mark properly.
  210. - paps-0.6.3-goption.patch: rewritten option parser using GOption. and segfault
  211. gone as well. (#187205)
  212. - paps-0.6.3-header.patch: applied to support the output of the page header.
  213. * Fri Mar 24 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.3-3
  214. - paps-0.6.3-fix-pagesize.patch: fixed displaying the beginning of line at out of page. (#176207)
  215. * Thu Mar 2 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.3-2
  216. - rebuilt.
  217. * Wed Jan 11 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.3-1
  218. - New upstream release.
  219. - paps-0.6.2-fix-bufferoverflow.patch: removed.
  220. * Wed Dec 21 2005 Akira TAGOH <tagoh@redhat.com> - 0.6.2-1
  221. - New upstream release.
  222. - the bitmap font is now ignored. (#176206)
  223. - paps-0.6.2-fix-bufferoverflow.patch: applied to fix the buffer overflow.
  224. * Tue Dec 13 2005 Akira TAGOH <tagoh@redhat.com> - 0.6.1-1
  225. - New upstream release.
  226. - paps-0.6.1-makefile.patch: applied to install docs on the proper dir.
  227. * Fri Nov 4 2005 Akira TAGOH <tagoh@redhat.com> - 0.5-1
  228. - New upstream release.
  229. * Tue Oct 18 2005 Akira TAGOH <tagoh@redhat.com> - 0.3-1
  230. - Initial package.