183 lines
5.7 KiB
RPMSpec
183 lines
5.7 KiB
RPMSpec
Name: paps
|
|
Version: 0.6.6
|
|
Release: 15%{?dist}
|
|
|
|
License: LGPL
|
|
URL: http://paps.sourceforge.net/
|
|
Source0: http://prdownloads.sourceforge.net/paps/paps-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRequires: pango-devel automake autoconf libtool doxygen cups-devel
|
|
Patch0: paps-makefile.patch
|
|
## fixed in CVS
|
|
Patch2: paps-formfeed.patch
|
|
## fixed in CVS
|
|
Patch3: paps-0.6.6-encoding.patch
|
|
## fixed in CVS
|
|
Patch4: paps-typo-font-scale.patch
|
|
## fixed in CVS
|
|
Patch5: paps-0.6.6-segfault.patch
|
|
## fixed in CVS
|
|
Patch6: paps-0.6.6-font-option.patch
|
|
## fixed in CVS
|
|
Patch7: paps-0.6.6-lcctype.patch
|
|
## fixed in CVS
|
|
Patch8: paps-0.6.6-wordwrap.patch
|
|
## fixed in CVS
|
|
Patch9: paps-0.6.6-cpilpi.patch
|
|
Patch50: paps-cups.patch
|
|
|
|
Summary: Plain Text to PostScript converter
|
|
Group: Applications/Publishing
|
|
%description
|
|
paps is a PostScript converter from plain text file using Pango.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .makefile
|
|
%patch2 -p1 -b .formfeed
|
|
%patch3 -p1 -b .encoding
|
|
%patch4 -p0 -b .typo
|
|
%patch5 -p1 -b .segfault
|
|
%patch6 -p1 -b .fontopt
|
|
%patch7 -p1 -b .lcctype
|
|
%patch8 -p1 -b .wordwrap
|
|
%patch9 -p1 -b .cpilpi
|
|
%patch50 -p1 -b .cups
|
|
aclocal
|
|
automake
|
|
autoconf
|
|
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT%{_includedir}
|
|
|
|
# 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
|
|
|
|
%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
|
|
|
|
|
|
%changelog
|
|
* Fri Sep 29 2006 Tim Waugh <twaugh@redhat.com> - 0.6.6-15
|
|
- Avoid using iconv when not needed (bug #206259).
|
|
|
|
* Thu Sep 14 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-14
|
|
- paps-cups.patch: try to parse input even if any invalid character appears.
|
|
(#206259)
|
|
|
|
* Thu Aug 31 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-13
|
|
- paps-formfeed.patch: fixed to not insert an extra line in next page.
|
|
(#202731)
|
|
|
|
* Thu Aug 17 2006 Tim Waugh <twaugh@redhat.com> - 0.6.6-12
|
|
- Map CUPS charset names to real ones (bug #197577).
|
|
|
|
* Mon Jul 17 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-11
|
|
- add an owner info to PS.
|
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.6-10.2
|
|
- rebuild
|
|
|
|
* Tue Jul 4 2006 Akira TAGOH <tagoh@redhat.com> - 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 <twaugh@redhat.com> - 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 <tagoh@redhat.com> - 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 <tagoh@redhat.com> - 0.6.6-7
|
|
- rebuilt to import into Core.
|
|
|
|
* Wed Jun 21 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-6
|
|
- paps-0.6.6-wordwrap.patch: applied to do a wordwrap.
|
|
|
|
* Tue Jun 20 2006 Akira TAGOH <tagoh@redhat.com> - 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 <tagoh@redhat.com> - 0.6.6-4
|
|
- added libtool and doxygen to BuildReq.
|
|
- removed NEWS file which is empty.
|
|
|
|
* Mon Jun 12 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-3
|
|
- use make install DESTDIR=... instead of %%makeinstall
|
|
- add automake and autoconf to BuildReq.
|
|
|
|
* Thu May 25 2006 Akira TAGOH <tagoh@redhat.com> - 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 <tagoh@redhat.com> - 0.6.6-1
|
|
- New upstream release.
|
|
|
|
* Mon Apr 17 2006 Akira TAGOH <tagoh@redhat.com> - 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 <tagoh@redhat.com> - 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 <tagoh@redhat.com> - 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 <tagoh@redhat.com> - 0.6.3-2
|
|
- rebuilt.
|
|
|
|
* Wed Jan 11 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.3-1
|
|
- New upstream release.
|
|
- paps-0.6.2-fix-bufferoverflow.patch: removed.
|
|
|
|
* Wed Dec 21 2005 Akira TAGOH <tagoh@redhat.com> - 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 <tagoh@redhat.com> - 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 <tagoh@redhat.com> - 0.5-1
|
|
- New upstream release.
|
|
|
|
* Tue Oct 18 2005 Akira TAGOH <tagoh@redhat.com> - 0.3-1
|
|
- Initial package.
|
|
|