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

Revision 1992, 9.9 KB checked in by owa, 14 years ago (diff)

rebuilt

Line 
1Summary:        Plain Text to PostScript converter
2Summary(ja):    プレインテキストから Postscript へのコンバータ
3
4Name:           paps
5Version:        0.6.8
6Release: 2%{?_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* Mon Oct 04 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.8-2
113- changed spec name as vine style, and rebuilt
114
115* Thu Jun 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp>  0.6.8-1
116- initial build for Vine Linux
117
118* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-9
119- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
120
121* Mon Nov 17 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-8
122- Courier font to be a default font for texttopaps. (#469325)
123
124* Mon Sep  1 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-7
125- paps-langinfo.patch: Updated.
126- paps-exitcode.patch: Updated.
127
128* Fri May 16 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-6
129- paps-cups.patch: Fix printing with -o landscape in CUPS. (#222137)
130- paps-autoconf262.patch: Fix an error on autoreconf.
131
132* Tue Feb 12 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-5
133- Rebuild for gcc-4.3.
134
135* Wed Jan 23 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-4
136- Fix an exception on ghostscript. (#429275)
137
138* Tue Jan 15 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-3
139- Put %%%%Pages: after %%%%Trailer. (#424951)
140
141* Thu Jan 10 2008 Akira TAGOH <tagoh@redhat.com> - 0.6.8-2
142- paps-0.6.8-dsc-compliant.patch: Patch out to be DSC compliant. (#424951)
143
144* Fri Nov 30 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.8-1
145- New upstream release.
146  - Remove patches merged and unnecessary anymore:
147    - paps-makefile.patch
148    - paps-formfeed.patch
149    - paps-0.6.6-encoding.patch
150    - paps-typo-font-scale.patch
151    - paps-0.6.6-segfault.patch
152    - paps-0.6.6-font-option.patch
153    - paps-0.6.6-lcctype.patch
154- paps-0.6.8-shared.patch: Enable building shared library.
155- paps-0.6.8-wordwrap.patch: Update a bit to get it working without an wordwrap
156  mode.
157- Add paps-libs and paps-devel package.
158- paps-cups.patch: Update.
159- paps-cpilpi.patch: Update.
160- Fix the wrong rendering with CPI option. (#237202)
161- Fix the unnecessary rotation with the landscape option when paps is running
162  as CUPS filter. (#222137)
163
164* Thu Aug 23 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.6-21
165- Rebuild
166
167* Fri Aug 10 2007 Akira TAGOH <tagoh@redhat.com>
168- Update License tag.
169
170* Wed May 30 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.6-20
171- Fix to not do wordwrap when 'wrap=false' is given. (#240588)
172
173* Tue Mar 27 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.6-19
174- Fix PostScript breakage following the non-monetary numeric format from
175  current locale. (#231916)
176
177* Thu Mar  7 2007 Akira TAGOH <tagoh@redhat.com> - 0.6.6-18
178- default to lpi=6 and cpi=10 if paps is bringing up as cups filter. (#223862)
179
180* Tue Jan 23 2007 Akira TAGOH <tagoh@redhat.com>
181- Better the encoding guess by looking at current locale. (#212154)
182
183* Mon Dec  4 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-17
184- Fix a segfault on non-printable character. (#216296)
185
186* Sat Sep 30 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-16
187- paps-0.6.6-exitcode.patch: exit immediately with proper exit code
188  when unrecoverable error occurs. (#208592)
189
190* Fri Sep 29 2006 Tim Waugh <twaugh@redhat.com> - 0.6.6-15
191- Avoid using iconv when not needed (bug #206259).
192
193* Thu Sep 14 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-14
194- paps-cups.patch: try to parse input even if any invalid character appears.
195  (#206259)
196
197* Thu Aug 31 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-13
198- paps-formfeed.patch: fixed to not insert an extra line in next page.
199  (#202731)
200
201* Thu Aug 17 2006 Tim Waugh <twaugh@redhat.com> - 0.6.6-12
202- Map CUPS charset names to real ones (bug #197577).
203
204* Mon Jul 17 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-11
205- add an owner info to PS.
206
207* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.6-10.2
208- rebuild
209
210* Tue Jul  4 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-10
211- paps-0.6.6-cpilpi.patch: add --cpi and --lpi option to support the characters
212  per inch and the lines per inch.
213- paps-cups.patch: add cpi and lpi support.
214
215* Thu Jun 29 2006 Tim Waugh <twaugh@redhat.com> - 0.6.6-9
216- Fixed font-option patch.
217- Adjusted CUPS patch: CUPS invokes the filter with the destination
218  printer name in argv[0], not the binary name.
219- CUPS filter lives in CUPS_SERVERBIN, which is /usr/lib/cups on all
220  architectures -- not %%{_libdir}/cups.
221
222* Thu Jun 29 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-8
223- use dist tag.
224- paps-cups.patch: applied to work paps as CUPS filter.
225- paps-0.6.6-encoding.patch: null-terminates the output.
226
227* Tue Jun 27 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-7
228- rebuilt to import into Core.
229
230* Wed Jun 21 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-6
231- paps-0.6.6-wordwrap.patch: applied to do a wordwrap.
232
233* Tue Jun 20 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-5
234- paps-typo-font-scale.patch: backported from CVS.
235- paps-0.6.6-font-option.patch: integrated --font-family and --font-scale
236  options to --font.
237- paps-0.6.6-lcctype.patch: follow LC_CTYPE to determine the default language.
238
239* Fri Jun 16 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-4
240- added libtool and doxygen to BuildReq.
241- removed NEWS file which is empty.
242
243* Mon Jun 12 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-3
244- use make install DESTDIR=... instead of %%makeinstall
245- add automake and autoconf to BuildReq.
246
247* Thu May 25 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-2
248- paps-0.6.6-encoding.patch: support --encoding option to be able to convert
249  the input file to UTF-8.
250- paps-0.6.6-segfault.patch: fixed a possible segfault issue when reading is
251  failed.
252
253* Fri May 19 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.6-1
254- New upstream release.
255
256* Mon Apr 17 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.5-1
257- New upstream release.
258  - paps-0.6.3-fix-pagesize.patch: removed. it has been merged in upstream.
259  - paps-0.6.3-goption.patch: removed. it has been merged in upstream.
260  - paps-0.6.3-header.patch: removed. it has been merged in upstream.
261- paps-makefile.patch: rework to be applied.
262
263* Fri Mar 31 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.3-4
264- paps-0.6.3-formfeed.patch: applied to deal with the formfeed mark properly.
265- paps-0.6.3-goption.patch: rewritten option parser using GOption. and segfault
266  gone as well. (#187205)
267- paps-0.6.3-header.patch: applied to support the output of the page header.
268
269* Fri Mar 24 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.3-3
270- paps-0.6.3-fix-pagesize.patch: fixed displaying the beginning of line at out of page. (#176207)
271
272* Thu Mar  2 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.3-2
273- rebuilt.
274
275* Wed Jan 11 2006 Akira TAGOH <tagoh@redhat.com> - 0.6.3-1
276- New upstream release.
277- paps-0.6.2-fix-bufferoverflow.patch: removed.
278
279* Wed Dec 21 2005 Akira TAGOH <tagoh@redhat.com> - 0.6.2-1
280- New upstream release.
281  - the bitmap font is now ignored. (#176206)
282- paps-0.6.2-fix-bufferoverflow.patch: applied to fix the buffer overflow.
283
284* Tue Dec 13 2005 Akira TAGOH <tagoh@redhat.com> - 0.6.1-1
285- New upstream release.
286- paps-0.6.1-makefile.patch: applied to install docs on the proper dir.
287
288* Fri Nov  4 2005 Akira TAGOH <tagoh@redhat.com> - 0.5-1
289- New upstream release.
290
291* Tue Oct 18 2005 Akira TAGOH <tagoh@redhat.com> - 0.3-1
292- Initial package.
293
Note: See TracBrowser for help on using the repository browser.