|
@@ -1,17 +1,42 @@
|
|
-Summary: A plain ASCII to PostScript converter.
|
|
+Summary: A plain ASCII to PostScript converter
|
|
-Name: enscript
|
|
+Name: enscript
|
|
-Version: 1.6.1
|
|
+Version: 1.6.5.2
|
|
-Release: 28%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
-License: GPL
|
|
+License: GPLv3+
|
|
-Group: Applications/Publishing
|
|
+Group: Applications/Publishing
|
|
-Source0: ftp://ftp.gnu.org/pub/gnu/enscript-%{version}.tar.gz
|
|
+URL: http://www.gnu.org/software/enscript
|
|
-Patch0: enscript-1.6.1-config.patch
|
|
+# Tarball exists nowhere. You have to obtain it via:
|
|
-Patch2: enscript-1.6.1-tmp.patch
|
|
+# $ git clone git://git.savannah.gnu.org/enscript.git
|
|
-Patch3: enscript-1.6.1-locale.patch
|
|
+# $ git archive --format=tar --prefix=enscript-1.6.4/ v1.6.4 |gzip > enscript-1.6.4.tar.gz
|
|
-URL: http://people.ssh.fi/mtr/genscript/index.html
|
|
+Source0: enscript-%{version}.tar.gz
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
+Source1: enscript-ruby-1.6.4.tar.gz
|
|
-BuildPrereq: flex, libtool, automake, autoconf
|
|
+#http://neugierig.org/software/ruby/ruby-enscript.tar.gz
|
|
-Requires: perl
|
|
+Source2: enscript-php-1.6.4.st
|
|
|
|
+#http://home.raxnet.net/downloads/viewcvs/php.st
|
|
|
|
+
|
|
|
|
+# RH #177336
|
|
|
|
+Patch1: enscript-1.6.4-hilight.patch
|
|
|
|
+# RH #61294
|
|
|
|
+Patch3: enscript-1.6.1-locale.patch
|
|
|
|
+
|
|
|
|
+# RH #224548
|
|
|
|
+Patch8: enscript-wrap_header.patch
|
|
|
|
+
|
|
|
|
+Patch9: enscript-1.6.4-rh457719.patch
|
|
|
|
+Patch10: enscript-1.6.4-rh457720.patch
|
|
|
|
+Patch12: enscript-rh477382.patch
|
|
|
|
+Requires(preun): /sbin/install-info
|
|
|
|
+Requires(post): /sbin/install-info
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
+Obsoletes: nenscript < 1.13++-13
|
|
|
|
+Provides: nenscript = 1.13++-13
|
|
|
|
+
|
|
|
|
+BuildRequires: autoconf, automake, gettext
|
|
|
|
+BuildRequires: gettext-devel
|
|
|
|
+
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+
|
|
|
|
|
|
%description
|
|
%description
|
|
GNU enscript is a free replacement for Adobe's Enscript
|
|
GNU enscript is a free replacement for Adobe's Enscript
|
|
@@ -21,53 +46,89 @@ file. Enscript can be extended to handle different output media and
|
|
includes many options for customizing printouts.
|
|
includes many options for customizing printouts.
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
-GNU enscript縺ッAdobe's Enscript縺ォ莉」繧上k繝輔Μ繝シ縺ェ繝励Ο繧ー繝ゥ繝�縺ァ縺吶�
|
|
+GNU enscript は Adobe Enscript に代わるフリーなプログラムです。
|
|
-Enscript縺ッASCII繝輔ぃ繧、繝ォ繧単ostScript(TM)縺ォ螟画鋤縺励※縲�
|
|
+Enscript は ASCII ファイルを PostScript(TM) に変換して、
|
|
-迚ケ螳壹�繝励Μ繝ウ繧ソ縺ォ菴懈�縺励◆PostScript繝輔ぃ繧、繝ォ繧偵せ繝励�繝ォ縺励◆繧翫�
|
|
+特定のプリンタに作成した PostScript ファイルをスプールしたり、
|
|
-繝輔ぃ繧、繝ォ縺ォ菫晏ュ倥☆繧九%縺ィ縺後〒縺阪∪縺吶�
|
|
+ファイルに保存することができます。
|
|
-Enscript縺ッ逡ー縺ェ繧句�蜉帙Γ繝�ぅ繧「繧呈桶縺医k繧医≧縺ォ諡。蠑オ縺輔l縺ヲ縺翫j縲�
|
|
+Enscript は異なる出力メディアを扱えるように拡張されており、
|
|
-繝励Μ繝ウ繝亥�蜉帙r繧ォ繧ケ繧ソ繝槭う繧コ縺吶k縺溘a縺ョ螟壹¥縺ョ繧ェ繝励す繝ァ繝ウ繧貞性繧薙〒縺�∪縺吶�
|
|
+プリント出力をカスタマイズするための多くのオプションを含んでいます。
|
|
|
|
+
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch0 -p1 -b .config
|
|
+%patch1 -p1 -b .hilight
|
|
-%patch2 -p1 -b .tmp
|
|
|
|
%patch3 -p1 -b .locale
|
|
%patch3 -p1 -b .locale
|
|
|
|
+%patch8 -p1 -b .wrap_header
|
|
|
|
+%patch9 -p1 -b .rh457719
|
|
|
|
+%patch10 -p1 -b .rh457720
|
|
|
|
+%patch12 -p1 -b .rh477382
|
|
|
|
+
|
|
|
|
+%{__tar} -C states/hl -zxf %{SOURCE1} ruby.st
|
|
|
|
+install -pm 644 %{SOURCE2} states/hl/php.st
|
|
|
|
+
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure
|
|
+autoreconf -fiv
|
|
|
|
+%configure --with-media=Letter
|
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
mkdir -p %{buildroot}%{_datadir}/locale/{de,es,fi,fr,nl,sl}/LC_MESSAGES
|
|
mkdir -p %{buildroot}%{_datadir}/locale/{de,es,fi,fr,nl,sl}/LC_MESSAGES
|
|
make DESTDIR=%{buildroot} install
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
+rm -f %{buildroot}%{_datadir}/info/dir
|
|
|
|
|
|
%find_lang %name
|
|
%find_lang %name
|
|
|
|
|
|
# XXX note doubled %% in sed script below.
|
|
# XXX note doubled %% in sed script below.
|
|
-(cd %{buildroot};find .%{_datadir}/enscript/*) | \
|
|
+(cd %{buildroot};find .%{_datadir}/enscript/* \! -type d) | \
|
|
sed -e 's,^\.,,' | sed -e 's,*font.map,%%config &,' > share.list
|
|
sed -e 's,^\.,,' | sed -e 's,*font.map,%%config &,' > share.list
|
|
|
|
+(cd %{buildroot};find .%{_datadir}/enscript/* -type d) | \
|
|
|
|
+ sed -e 's,^\.,,' | sed -e 's,^,%dir ,' >> share.list
|
|
|
|
|
|
( cd %{buildroot}
|
|
( cd %{buildroot}
|
|
ln .%{_prefix}/bin/enscript .%{_prefix}/bin/nenscript
|
|
ln .%{_prefix}/bin/enscript .%{_prefix}/bin/nenscript
|
|
)
|
|
)
|
|
|
|
|
|
-cat %{name}.lang >> share.list
|
|
+%find_lang %{name} %{name}.lang
|
|
|
|
+
|
|
|
|
+for all in README THANKS; do
|
|
|
|
+ iconv -f ISO88591 -t UTF8 < $all > $all.new
|
|
|
|
+ touch -r $all $all.new
|
|
|
|
+ mv $all.new $all
|
|
|
|
+done
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
-%files -f share.list
|
|
+%preun
|
|
-%defattr(-,root,root)
|
|
+if [ $1 = 0 ]; then
|
|
|
|
+ [ -f %{_infodir}/%{name}.info.gz ] && \
|
|
|
|
+ /sbin/install-info --delete %{_infodir}/%{name}.info.gz \
|
|
|
|
+ %{_infodir}/dir || :
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+%post
|
|
|
|
+[ -f %{_infodir}/%{name}.info.gz ] && \
|
|
|
|
+ /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%files -f %{name}.lang -f share.list
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%doc AUTHORS ChangeLog COPYING docs/FAQ.html NEWS README README.ESCAPES THANKS TODO
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*
|
|
%{_mandir}/man1/*
|
|
%dir %{_datadir}/enscript
|
|
%dir %{_datadir}/enscript
|
|
|
|
+%{_infodir}/%{name}*
|
|
%config(noreplace) %{_sysconfdir}/enscript.cfg
|
|
%config(noreplace) %{_sysconfdir}/enscript.cfg
|
|
|
|
|
|
-%doc AUTHORS ChangeLog FAQ.html NEWS README README.ESCAPES THANKS TODO
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Mar 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.6.5.2-1
|
|
|
|
+- updated to 1.6.5.2
|
|
|
|
+- spec revamped based on Fedora
|
|
|
|
+
|
|
* Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 1.6.1-28vl5
|
|
* Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 1.6.1-28vl5
|
|
- applied new versioning policy, spec in utf-8
|
|
- applied new versioning policy, spec in utf-8
|
|
|
|
|
|
@@ -76,16 +137,6 @@ rm -rf %{buildroot}
|
|
- added BuildPrereq and Requires
|
|
- added BuildPrereq and Requires
|
|
- added japanese description
|
|
- added japanese description
|
|
|
|
|
|
-* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
-- rebuilt
|
|
|
|
-
|
|
|
|
-* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
-- rebuilt
|
|
|
|
-
|
|
|
|
-* Mon Nov 3 2003 Tim Waugh <twaugh@redhat.com>
|
|
|
|
-- Removed mail patch. It was included to be more compatible with an
|
|
|
|
- lpr we no longer ship. Fixes bug #108762.
|
|
|
|
-
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
- rebuilt
|
|
|
|
|
|
@@ -121,7 +172,7 @@ rm -rf %{buildroot}
|
|
- automated rebuild
|
|
- automated rebuild
|
|
|
|
|
|
* Wed Dec 19 2001 Tim Waugh <twaugh@redhat.com> 1.6.1-15
|
|
* Wed Dec 19 2001 Tim Waugh <twaugh@redhat.com> 1.6.1-15
|
|
-- Own %{_datadir}/enscript directory (bug #56974).
|
|
+- Own %%{_datadir}/enscript directory (bug #56974).
|
|
|
|
|
|
* Mon Jun 25 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.6.1-14
|
|
* Mon Jun 25 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.6.1-14
|
|
- add optional mail paramater, closing bug #17750
|
|
- add optional mail paramater, closing bug #17750
|
|
@@ -130,7 +181,7 @@ rm -rf %{buildroot}
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
- Bump release + rebuild.
|
|
- Bump release + rebuild.
|
|
|
|
|
|
-* Tue Feb 27 2001 Trond Eivind Glomsrツ湘� <teg@redhat.com>
|
|
+* Tue Feb 27 2001 Trond Eivind Glomsrテクd <teg@redhat.com>
|
|
- langify
|
|
- langify
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|