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

Revision 521, 9.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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