Name: paps Version: 0.6.8 Release: 15%{?dist} License: LGPLv2+ URL: http://paps.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: paps.convs BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pango-devel automake autoconf libtool doxygen cups-devel ## https://sourceforge.net/tracker/index.php?func=detail&aid=1832897&group_id=153049&atid=786241 Patch0: paps-0.6.8-shared.patch ## https://sourceforge.net/tracker/index.php?func=detail&aid=1832924&group_id=153049&atid=786241 Patch1: paps-0.6.8-wordwrap.patch ## https://sourceforge.net/tracker/index.php?func=detail&aid=1832926&group_id=153049&atid=786241 Patch2: paps-langinfo.patch ## https://sourceforge.net/tracker/index.php?func=detail&aid=1832929&group_id=153049&atid=786241 Patch3: paps-0.6.6-lcnumeric.patch ## https://sourceforge.net/tracker/index.php?func=detail&aid=1832935&group_id=153049&atid=786241 Patch4: paps-exitcode.patch Patch50: paps-cups.patch Patch51: paps-cpilpi.patch Patch52: paps-dsc-compliant.patch Patch53: paps-autoconf262.patch Patch54: paps-fix-cpi.patch Patch55: paps-fix-loop-in-split.patch Summary: Plain Text to PostScript converter Group: Applications/Publishing %description paps is a PostScript converter from plain text file using Pango. %package libs Summary: Libraries for paps Group: Development/Libraries %description libs paps is a PostScript converter from plain text file using Pango. This package contains the library for paps. %package devel Summary: Development files for paps Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} %description devel paps is a PostScript converter from plain text file using Pango. This package contains the development files that is necessary to develop applications using paps API. %prep %setup -q %patch0 -p1 -b .shared %patch1 -p1 -b .wordwrap %patch2 -p1 -b .langinfo %patch3 -p1 -b .lcnumeric %patch4 -p1 -b .exitcode %patch50 -p1 -b .cups %patch51 -p1 -b .cpilpi %patch52 -p1 -b .dsc %patch53 -p1 -b .autoconf262 %patch54 -p1 -b .fixcpi %patch55 -p1 -b .loop libtoolize -f -c autoreconf %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # remove unnecessary files rm $RPM_BUILD_ROOT%{_libdir}/libpaps.la # make a symlink for CUPS filter %{__mkdir_p} $RPM_BUILD_ROOT/usr/lib/cups/filter # Not libdir ln -s %{_bindir}/paps $RPM_BUILD_ROOT/usr/lib/cups/filter/texttopaps install -d $RPM_BUILD_ROOT%{_sysconfdir}/cups install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cups %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) %doc AUTHORS COPYING.LIB README TODO %{_bindir}/paps %{_mandir}/man1/paps.1* /usr/lib/cups/filter/texttopaps %dir %attr (0755, root, lp) %{_sysconfdir}/cups %{_sysconfdir}/cups/paps.convs %files libs %defattr(-, root, root, -) %doc COPYING.LIB %{_libdir}/libpaps.so.* %files devel %defattr(-, root, root, -) %doc COPYING.LIB %{_includedir}/libpaps.h %{_libdir}/libpaps.so %changelog * Tue Feb 08 2011 Fedora Release Engineering - 0.6.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Jul 27 2010 Akira TAGOH - 0.6.8-14 - Fix the infinite loop in splitting paragraphs (#618483) * Fri Mar 12 2010 Akira TAGOH - 0.6.8-13 - Fix the directory's group ownership. (#572733) * Tue Dec 8 2009 Akira TAGOH - 0.6.8-12 - Add paps.convs to behaves the cups filter without the hardcoded thing in cups. (#545031) * Wed Oct 14 2009 Akira TAGOH - 0.6.8-11 - Fix code that deal with CPI parameter to be accurate. (#524883) * Sat Jul 25 2009 Fedora Release Engineering - 0.6.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.6.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Nov 17 2008 Akira TAGOH - 0.6.8-8 - Courier font to be a default font for texttopaps. (#469325) * Mon Sep 1 2008 Akira TAGOH - 0.6.8-7 - paps-langinfo.patch: Updated. - paps-exitcode.patch: Updated. * Fri May 16 2008 Akira TAGOH - 0.6.8-6 - paps-cups.patch: Fix printing with -o landscape in CUPS. (#222137) - paps-autoconf262.patch: Fix an error on autoreconf. * Tue Feb 12 2008 Akira TAGOH - 0.6.8-5 - Rebuild for gcc-4.3. * Wed Jan 23 2008 Akira TAGOH - 0.6.8-4 - Fix an exception on ghostscript. (#429275) * Tue Jan 15 2008 Akira TAGOH - 0.6.8-3 - Put %%%%Pages: after %%%%Trailer. (#424951) * Thu Jan 10 2008 Akira TAGOH - 0.6.8-2 - paps-0.6.8-dsc-compliant.patch: Patch out to be DSC compliant. (#424951) * Fri Nov 30 2007 Akira TAGOH - 0.6.8-1 - New upstream release. - Remove patches merged and unnecessary anymore: - paps-makefile.patch - paps-formfeed.patch - paps-0.6.6-encoding.patch - paps-typo-font-scale.patch - paps-0.6.6-segfault.patch - paps-0.6.6-font-option.patch - paps-0.6.6-lcctype.patch - paps-0.6.8-shared.patch: Enable building shared library. - paps-0.6.8-wordwrap.patch: Update a bit to get it working without an wordwrap mode. - Add paps-libs and paps-devel package. - paps-cups.patch: Update. - paps-cpilpi.patch: Update. - Fix the wrong rendering with CPI option. (#237202) - Fix the unnecessary rotation with the landscape option when paps is running as CUPS filter. (#222137) * Thu Aug 23 2007 Akira TAGOH - 0.6.6-21 - Rebuild * Fri Aug 10 2007 Akira TAGOH - Update License tag. * Wed May 30 2007 Akira TAGOH - 0.6.6-20 - Fix to not do wordwrap when 'wrap=false' is given. (#240588) * Tue Mar 27 2007 Akira TAGOH - 0.6.6-19 - Fix PostScript breakage following the non-monetary numeric format from current locale. (#231916) * Thu Mar 7 2007 Akira TAGOH - 0.6.6-18 - default to lpi=6 and cpi=10 if paps is bringing up as cups filter. (#223862) * Tue Jan 23 2007 Akira TAGOH - Better the encoding guess by looking at current locale. (#212154) * Mon Dec 4 2006 Akira TAGOH - 0.6.6-17 - Fix a segfault on non-printable character. (#216296) * Sat Sep 30 2006 Akira TAGOH - 0.6.6-16 - paps-0.6.6-exitcode.patch: exit immediately with proper exit code when unrecoverable error occurs. (#208592) * Fri Sep 29 2006 Tim Waugh - 0.6.6-15 - Avoid using iconv when not needed (bug #206259). * Thu Sep 14 2006 Akira TAGOH - 0.6.6-14 - paps-cups.patch: try to parse input even if any invalid character appears. (#206259) * Thu Aug 31 2006 Akira TAGOH - 0.6.6-13 - paps-formfeed.patch: fixed to not insert an extra line in next page. (#202731) * Thu Aug 17 2006 Tim Waugh - 0.6.6-12 - Map CUPS charset names to real ones (bug #197577). * Mon Jul 17 2006 Akira TAGOH - 0.6.6-11 - add an owner info to PS. * Wed Jul 12 2006 Jesse Keating - 0.6.6-10.2 - rebuild * Tue Jul 4 2006 Akira TAGOH - 0.6.6-10 - paps-0.6.6-cpilpi.patch: add --cpi and --lpi option to support the characters per inch and the lines per inch. - paps-cups.patch: add cpi and lpi support. * Thu Jun 29 2006 Tim Waugh - 0.6.6-9 - Fixed font-option patch. - Adjusted CUPS patch: CUPS invokes the filter with the destination printer name in argv[0], not the binary name. - CUPS filter lives in CUPS_SERVERBIN, which is /usr/lib/cups on all architectures -- not %%{_libdir}/cups. * Thu Jun 29 2006 Akira TAGOH - 0.6.6-8 - use dist tag. - paps-cups.patch: applied to work paps as CUPS filter. - paps-0.6.6-encoding.patch: null-terminates the output. * Tue Jun 27 2006 Akira TAGOH - 0.6.6-7 - rebuilt to import into Core. * Wed Jun 21 2006 Akira TAGOH - 0.6.6-6 - paps-0.6.6-wordwrap.patch: applied to do a wordwrap. * Tue Jun 20 2006 Akira TAGOH - 0.6.6-5 - paps-typo-font-scale.patch: backported from CVS. - paps-0.6.6-font-option.patch: integrated --font-family and --font-scale options to --font. - paps-0.6.6-lcctype.patch: follow LC_CTYPE to determine the default language. * Fri Jun 16 2006 Akira TAGOH - 0.6.6-4 - added libtool and doxygen to BuildReq. - removed NEWS file which is empty. * Mon Jun 12 2006 Akira TAGOH - 0.6.6-3 - use make install DESTDIR=... instead of %%makeinstall - add automake and autoconf to BuildReq. * Thu May 25 2006 Akira TAGOH - 0.6.6-2 - paps-0.6.6-encoding.patch: support --encoding option to be able to convert the input file to UTF-8. - paps-0.6.6-segfault.patch: fixed a possible segfault issue when reading is failed. * Fri May 19 2006 Akira TAGOH - 0.6.6-1 - New upstream release. * Mon Apr 17 2006 Akira TAGOH - 0.6.5-1 - New upstream release. - paps-0.6.3-fix-pagesize.patch: removed. it has been merged in upstream. - paps-0.6.3-goption.patch: removed. it has been merged in upstream. - paps-0.6.3-header.patch: removed. it has been merged in upstream. - paps-makefile.patch: rework to be applied. * Fri Mar 31 2006 Akira TAGOH - 0.6.3-4 - paps-0.6.3-formfeed.patch: applied to deal with the formfeed mark properly. - paps-0.6.3-goption.patch: rewritten option parser using GOption. and segfault gone as well. (#187205) - paps-0.6.3-header.patch: applied to support the output of the page header. * Fri Mar 24 2006 Akira TAGOH - 0.6.3-3 - paps-0.6.3-fix-pagesize.patch: fixed displaying the beginning of line at out of page. (#176207) * Thu Mar 2 2006 Akira TAGOH - 0.6.3-2 - rebuilt. * Wed Jan 11 2006 Akira TAGOH - 0.6.3-1 - New upstream release. - paps-0.6.2-fix-bufferoverflow.patch: removed. * Wed Dec 21 2005 Akira TAGOH - 0.6.2-1 - New upstream release. - the bitmap font is now ignored. (#176206) - paps-0.6.2-fix-bufferoverflow.patch: applied to fix the buffer overflow. * Tue Dec 13 2005 Akira TAGOH - 0.6.1-1 - New upstream release. - paps-0.6.1-makefile.patch: applied to install docs on the proper dir. * Fri Nov 4 2005 Akira TAGOH - 0.5-1 - New upstream release. * Tue Oct 18 2005 Akira TAGOH - 0.3-1 - Initial package.