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