fpdpbuilder_pel7x64builder0
6 years ago
2 changed files with 266 additions and 0 deletions
@ -0,0 +1,46 @@
@@ -0,0 +1,46 @@
|
||||
diff -up mpage-2.5.6/Makefile.config mpage-2.5.6/Makefile |
||||
--- mpage-2.5.6/Makefile.config 2004-05-30 21:38:31.000000000 +0200 |
||||
+++ mpage-2.5.6/Makefile 2009-03-27 11:11:14.652186064 +0100 |
||||
@@ -40,7 +40,7 @@ CC=gcc |
||||
# See glob.c for all possibilities |
||||
# |
||||
# PAGESIZE=Letter |
||||
-PAGESIZE=A4 |
||||
+PAGESIZE=Letter |
||||
|
||||
# |
||||
# Define your spooler type |
||||
@@ -50,7 +50,7 @@ PAGESIZE=A4 |
||||
SPOOL_TYPE=BSD_SPOOLER |
||||
|
||||
# PREFIX=e:/usr # OS/2 type |
||||
-PREFIX=/usr/local |
||||
+PREFIX=/usr |
||||
#PREFIX=/usr |
||||
BINDIR=$(PREFIX)/bin |
||||
LIBDIR=$(PREFIX)/share |
||||
@@ -73,7 +73,7 @@ SHEETMARGIN=18 |
||||
# |
||||
DEFAULT_DUPLEX=0 |
||||
|
||||
-DEFS = -DPAGE_DEF=\"${PAGESIZE}\" -DLIBDIR=\"${LIBDIR}/mpage\" -DDEFAULT_ENCODING=${ENCODING} -DDEFAULT_DUPLEX=${DEFAULT_DUPLEX} -DDEFAULTSMARGIN=${SHEETMARGIN} -DSPOOLER=${SPOOL_TYPE} # -DKANJI |
||||
+DEFS = -DPAGE_DEF=\"${PAGESIZE}\" -DLIBDIR=\"${LIBDIR}/mpage\" -DDEFAULT_ENCODING=${ENCODING} -DDEFAULT_DUPLEX=${DEFAULT_DUPLEX} -DDEFAULTSMARGIN=${SHEETMARGIN} -DSPOOLER=${SPOOL_TYPE} -DKANJI |
||||
|
||||
|
||||
############################################################################ |
||||
@@ -107,7 +107,7 @@ O = .o |
||||
# If you are using gcc, you probably don't need to change anything here. |
||||
|
||||
# Linux: |
||||
-CFLAGS = -O2 -s $(DEFS) -Wall |
||||
+CFLAGS = $(RPM_OPT_FLAGS) $(DEFS) -Wall |
||||
|
||||
# AIX (xlC on aix 4): |
||||
#CFLAGS = -O2 -s $(DEFS) |
||||
@@ -183,5 +183,4 @@ install: |
||||
if [ ! -d $(MANDIR) ] ; then mkdir -p $(MANDIR) ; fi |
||||
cp mpage$(E) $(BINDIR) |
||||
cp mpage.1 $(MANDIR) |
||||
- -cp Encodings/* $(LIBDIR)/mpage |
||||
- -chmod 644 $(LIBDIR)/mpage/* |
||||
+ install -p -m 644 Encodings/* $(LIBDIR)/mpage |
@ -0,0 +1,220 @@
@@ -0,0 +1,220 @@
|
||||
Summary: A tool for printing multiple pages of text on each printed page |
||||
Name: mpage |
||||
Version: 2.5.6 |
||||
Release: 14%{dist} |
||||
License: GPLv2+ |
||||
Url: http://www.mesa.nl/pub/mpage/ |
||||
Group: Applications/Publishing |
||||
Source: ftp://ftp.mesa.nl/pub/mpage/mpage-%{version}.tgz |
||||
Patch0: mpage25-config.patch |
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
||||
|
||||
%description |
||||
The mpage utility takes plain text files or PostScript(TM) documents |
||||
as input, reduces the size of the text, and prints the files on a |
||||
PostScript printer with several pages on each sheet of paper. Mpage is |
||||
very useful for viewing large printouts without using up lots of |
||||
paper. Mpage supports many different layout options for the printed |
||||
pages. |
||||
|
||||
%prep |
||||
%setup -q |
||||
%patch0 -p1 -b .config |
||||
|
||||
%build |
||||
make BINDIR=%{_bindir} LIBDIR=%{_datadir} MANDIR=%{_mandir}/man1 |
||||
|
||||
iconv -f iso-8859-2 -t utf-8 CHANGES > CHANGES.tmp && \ |
||||
touch -r CHANGES CHANGES.tmp && mv CHANGES.tmp CHANGES |
||||
|
||||
%install |
||||
rm -rf $RPM_BUILD_ROOT |
||||
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/mpage,%{_mandir}/man1} |
||||
|
||||
make PREFIX=$RPM_BUILD_ROOT/%{_prefix} BINDIR=$RPM_BUILD_ROOT/%{_bindir} \ |
||||
LIBDIR=$RPM_BUILD_ROOT/%{_datadir} \ |
||||
MANDIR=$RPM_BUILD_ROOT/%{_mandir}/man1 \ |
||||
install |
||||
|
||||
%clean |
||||
rm -rf $RPM_BUILD_ROOT |
||||
|
||||
%files |
||||
%defattr(-,root,root) |
||||
%doc CHANGES Copyright README NEWS TODO FAQ COPYING COPYING.LESSER |
||||
%{_bindir}/mpage |
||||
%{_mandir}/man1/mpage.* |
||||
%{_datadir}/mpage |
||||
|
||||
%changelog |
||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.5.6-14 |
||||
- Mass rebuild 2014-01-24 |
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.5.6-13 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.6-12 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.6-11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.6-10 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.6-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.6-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Fri Mar 27 2009 Michal Hlavinka <mhlavink@redhat.com> - 2.5.6-7 |
||||
- fix doc in file section |
||||
|
||||
* Fri Mar 27 2009 Michal Hlavinka <mhlavink@redhat.com> - 2.5.6-6 |
||||
- preserve time stamps |
||||
|
||||
* Fri Mar 27 2009 Michal Hlavinka <mhlavink@redhat.com> - 2.5.6-5 |
||||
- clean-up for merge review |
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.6-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.6-3 |
||||
- fix license tag |
||||
|
||||
* Wed Feb 13 2008 Tomas Smetana <tsmetana@redhat.com> - 2.5.6-2 |
||||
- rebuild (gcc-4.3) |
||||
|
||||
* Tue Jan 15 2008 Tomas Smetana <tsmetana@redhat.com> - 2.5.6-1 |
||||
- new upstream version |
||||
|
||||
* Thu Aug 23 2007 Martin Bacovsky <mbacovsk@redhat.com> - 2.5.5-1 |
||||
- upgrade to new upstream version 2.5.5 |
||||
|
||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.5.4-7.1 |
||||
- rebuild |
||||
|
||||
* Fri May 12 2006 Jitka Kudrnacova <jkudrnac@redhat.com> - 2.5.4-7 |
||||
- Applied patch for font-restriction to avoid problems with gs (bug #191459) |
||||
|
||||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.5.4-6.1 |
||||
- bump again for double-long bug on ppc(64) |
||||
|
||||
* Wed Feb 08 2006 Jitka Kudrnacova <jkudrnac@redhat.com> 2.5.4-6 |
||||
- Fixed page scaling (bug #173276) and modified the manpage |
||||
(the bug was mentioned in the manpage) |
||||
|
||||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.5.4-5.2 |
||||
- rebuilt for new gcc4.1 snapshot and glibc changes |
||||
|
||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
||||
- rebuilt |
||||
|
||||
* Wed Mar 2 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-5 |
||||
- Rebuild for new GCC. |
||||
|
||||
* Thu Feb 17 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-4 |
||||
- Fixed build with GCC 4. |
||||
|
||||
* Wed Feb 9 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-3 |
||||
- Rebuilt. |
||||
|
||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
||||
- rebuilt |
||||
|
||||
* Tue Jun 1 2004 Tim Waugh <twaugh@redhat.com> 2.5.4-1 |
||||
- 2.5.4. |
||||
|
||||
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
||||
- rebuilt |
||||
|
||||
* Mon Jun 23 2003 Tim Waugh <twaugh@redhat.com> 2.5.3-6 |
||||
- Fix header output (bug #97764). |
||||
- Fix UTF-8 patch (bug #97763). |
||||
- Fix license tag (bug #97763). |
||||
|
||||
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
||||
- rebuilt |
||||
|
||||
* Thu May 8 2003 Tim Waugh <twaugh@redhat.com> 2.5.3-4 |
||||
- Handle UTF-8 CJK (bug #90436). |
||||
|
||||
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 2.5.3-3 |
||||
- rebuilt |
||||
|
||||
* Wed Nov 6 2002 Tim Waugh <twaugh@redhat.com> 2.5.3-2 |
||||
- Fix segfault on malformed arguments (bug #77417). |
||||
- Removed unused patches. |
||||
|
||||
* Sun Oct 20 2002 Tim Waugh <twaugh@redhat.com> 2.5.3-1 |
||||
- 2.5.3 (bug #74401, bug #70826). |
||||
|
||||
* Tue Jul 16 2002 Tim Waugh <twaugh@redhat.com> 2.5.2-4 |
||||
- Fix segfault when MPAGE is set (bug #68701). |
||||
|
||||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.5.2-3 |
||||
- automated rebuild |
||||
|
||||
* Fri Jun 14 2002 Tim Waugh <twaugh@redhat.com> 2.5.2-2 |
||||
- s/Copyright:/License:/. |
||||
- Don't explicitly strip binaries (bug #62564). |
||||
- Fix -H option (bug #57105). |
||||
|
||||
* Wed Apr 24 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
||||
- update to 2.5.2 |
||||
|
||||
* Sat Apr 13 2002 Tim Powers <timp@redhat.com> |
||||
- bump release and rebuild |
||||
|
||||
* Thu Nov 8 2001 Bill Nottingham <notting@redhat.com> |
||||
- don't segfault if run in a nonexistant locale (#55900) |
||||
|
||||
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> |
||||
- Bump release + rebuild. |
||||
|
||||
* Wed Apr 11 2001 Bill Nottingham <notting@redhat.com> |
||||
- only output japanese if we're running in japanese (#34882) |
||||
|
||||
* Wed Jan 10 2001 Bill Nottingham <notting@redhat.com> |
||||
- actually *apply the patch* |
||||
|
||||
* Mon Jan 8 2001 Bill Nottingham <notting@redhat.com> |
||||
- add patch to use mkstemp |
||||
|
||||
* Mon Dec 18 2000 Bill Nottingham <notting@redhat.com> |
||||
- don't change the default papersize |
||||
|
||||
* Mon Dec 18 2000 Yukihiro Nakai <ynakai@redhat.com> |
||||
- Add a Japanese patch. |
||||
|
||||
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
||||
- automatic rebuild |
||||
|
||||
* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com> |
||||
- Hm. 2.5.1pre hasn't been touched in two years. I guess that's 'stable'. |
||||
- add a bugfix patch from debian. |
||||
|
||||
* Thu Feb 3 2000 Bill Nottingham <notting@redhat.com> |
||||
- handle compressed man pages |
||||
|
||||
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
||||
- auto rebuild in the new build environment (release 7) |
||||
|
||||
* Tue Jan 24 1999 Michael Maher <mike@redhat.com> |
||||
- changed group |
||||
|
||||
* Thu Dec 17 1998 Michael Maher <mike@redhat.com> |
||||
- 6.0 build stuff. |
||||
|
||||
* Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com> |
||||
- build root |
||||
|
||||
* Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
||||
- translations modified for de, fr, tr |
||||
|
||||
* Wed Oct 15 1997 Michael Fulbright <msf@redhat.com> |
||||
- (Re)applied patch to correctly print dvips output. |
||||
|
||||
* Mon Jul 21 1997 Erik Troan <ewt@redhat.com> |
||||
- built against glibc |
Loading…
Reference in new issue