source: projects/specs/trunk/p/paps/paps-vl.spec @ 9395

Revision 9395, 11.4 KB checked in by inagaki, 9 years ago (diff)

2015-02-28 Ryoichi INAGAKI <ryo1@…>

  • cproto, cscope: updated
  • paps, psutils: rebuilt


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