- Get rid of csh dependency, add missing one on bc (#435993).
- Build with $RPM_OPT_FLAGS (#329831). - Convert specfile to UTF-8. - Add URL, fix source URL. - Escape macros in changelog. - Improve summary.
This commit is contained in:
parent
d6de126854
commit
f0a600a6e8
12
transfig-3.2.5-optflags.patch
Normal file
12
transfig-3.2.5-optflags.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up transfig.3.2.5/Imakefile~ transfig.3.2.5/Imakefile
|
||||||
|
--- transfig.3.2.5/Imakefile~ 2003-03-25 22:48:02.000000000 +0200
|
||||||
|
+++ transfig.3.2.5/Imakefile 2009-05-04 22:12:20.000000000 +0300
|
||||||
|
@@ -22,7 +22,7 @@ XCOMM to make transfig and fig2dev:
|
||||||
|
XCOMM type "xmkmf", "make Makefiles", "make" then "make install"
|
||||||
|
|
||||||
|
#define IHaveSubdirs
|
||||||
|
-#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
|
||||||
|
+#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS) $(RPM_OPT_FLAGS)'
|
||||||
|
|
||||||
|
DEPLIBS =
|
||||||
|
SUBDIRS = fig2dev transfig
|
@ -1,16 +1,19 @@
|
|||||||
Summary: A utility for converting FIG files (made by xfig) to other formats.
|
Summary: Utility for converting FIG files (made by xfig) to other formats
|
||||||
Name: transfig
|
Name: transfig
|
||||||
Version: 3.2.5
|
Version: 3.2.5
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: MIT
|
License: MIT
|
||||||
|
URL: http://www.xfig.org/
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
Source: ftp://www-epb.lbl.gov/xfig/%{name}.%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/mcj/%{name}.%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch0: transfig-3.2.5-optflags.patch
|
||||||
Patch5: transfig-3.2.5-modularX.patch
|
Patch5: transfig-3.2.5-modularX.patch
|
||||||
Patch6: transfig-3.2.5-bitmap.patch
|
Patch6: transfig-3.2.5-bitmap.patch
|
||||||
|
|
||||||
Requires: ghostscript
|
Requires: ghostscript
|
||||||
|
Requires: bc
|
||||||
|
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
@ -32,6 +35,7 @@ figures into certain graphics languages.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}.%{version}
|
%setup -q -n %{name}.%{version}
|
||||||
|
|
||||||
|
%patch0 -p1 -b .optflags
|
||||||
%patch5 -p1 -b .modularX
|
%patch5 -p1 -b .modularX
|
||||||
%patch6 -p1 -b .bitmap
|
%patch6 -p1 -b .bitmap
|
||||||
# fix source permissions
|
# fix source permissions
|
||||||
@ -47,11 +51,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
make DESTDIR=%{buildroot} install install.man
|
make DESTDIR=%{buildroot} install install.man
|
||||||
|
|
||||||
# Dunno why these are not installed
|
# fig2ps2tex{,.sh} are equivalent, use the sh one
|
||||||
for i in fig2ps2tex fig2ps2tex.sh pic2tpic
|
mv %{buildroot}%{_bindir}/fig2ps2tex.sh %{buildroot}%{_bindir}/fig2ps2tex
|
||||||
do
|
ln -s fig2ps2tex %{buildroot}%{_bindir}/fig2ps2tex.sh
|
||||||
install -c -m 755 fig2dev/$i.script %{buildroot}%{_bindir}/$i
|
|
||||||
done
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -69,6 +71,14 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/fig2dev
|
%{_datadir}/fig2dev
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 5 2009 Ville Skyttä <ville.skytta at iki.fi> - 1:3.2.5-7
|
||||||
|
- Get rid of csh dependency, add missing one on bc (#435993).
|
||||||
|
- Build with $RPM_OPT_FLAGS (#329831).
|
||||||
|
- Convert specfile to UTF-8.
|
||||||
|
- Add URL, fix source URL.
|
||||||
|
- Escape macros in changelog.
|
||||||
|
- Improve summary.
|
||||||
|
|
||||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.2.5-6
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.2.5-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
@ -193,7 +203,7 @@ rm -rf %{buildroot}
|
|||||||
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||||||
- automatic rebuild
|
- automatic rebuild
|
||||||
|
|
||||||
* Tue Jun 13 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
* Tue Jun 13 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- make it build as nobody. Imake sucks.
|
- make it build as nobody. Imake sucks.
|
||||||
- include LATEX.AND.XFIG
|
- include LATEX.AND.XFIG
|
||||||
- use %%{_tmppath}
|
- use %%{_tmppath}
|
||||||
@ -202,7 +212,7 @@ rm -rf %{buildroot}
|
|||||||
- add enable_japanese option, disable it for now.
|
- add enable_japanese option, disable it for now.
|
||||||
|
|
||||||
* Sun Apr 16 2000 Bryan C. Andregg <bandregg@redhat.com>
|
* Sun Apr 16 2000 Bryan C. Andregg <bandregg@redhat.com>
|
||||||
- new version to support -b and -g which xfig uses
|
- new version to support -b and -g which xfig uses
|
||||||
|
|
||||||
* Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
|
* Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
|
||||||
- handle compressed manpages
|
- handle compressed manpages
|
||||||
@ -217,7 +227,7 @@ rm -rf %{buildroot}
|
|||||||
- update to 3.2.1.
|
- update to 3.2.1.
|
||||||
|
|
||||||
* Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
|
* Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
|
||||||
- add %clean.
|
- add %%clean.
|
||||||
|
|
||||||
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
||||||
- translations modified for de, fr, tr
|
- translations modified for de, fr, tr
|
||||||
|
Loading…
Reference in New Issue
Block a user