2009-05-06 21:03:43 +00:00
|
|
|
Summary: Utility for converting FIG files (made by xfig) to other formats
|
2004-09-09 13:25:28 +00:00
|
|
|
Name: transfig
|
2010-03-03 13:32:12 +00:00
|
|
|
Version: 3.2.5c
|
|
|
|
Release: 1%{?dist}
|
2004-09-09 13:25:28 +00:00
|
|
|
Epoch: 1
|
2008-09-08 21:45:17 +00:00
|
|
|
License: MIT
|
2009-05-06 21:03:43 +00:00
|
|
|
URL: http://www.xfig.org/
|
2004-09-09 13:25:28 +00:00
|
|
|
Group: Applications/Multimedia
|
2009-05-06 21:03:43 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/mcj/%{name}.%{version}.tar.gz
|
2004-09-09 13:30:40 +00:00
|
|
|
|
2009-05-06 21:03:43 +00:00
|
|
|
Patch0: transfig-3.2.5-optflags.patch
|
2010-03-03 13:32:12 +00:00
|
|
|
Patch1: transfig-3.2.5-modularX.patch
|
|
|
|
Patch2: transfig-3.2.5-bitmap.patch
|
|
|
|
|
|
|
|
# bz #558380
|
|
|
|
Patch3: transfig-3.2.5-dsc3.0.patch
|
2004-09-09 13:30:40 +00:00
|
|
|
|
2006-08-16 17:51:35 +00:00
|
|
|
Requires: ghostscript
|
2009-05-06 21:03:43 +00:00
|
|
|
Requires: bc
|
2006-08-16 17:51:35 +00:00
|
|
|
|
2005-11-15 12:01:45 +00:00
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
2007-04-16 13:56:47 +00:00
|
|
|
BuildRequires: libXpm-devel
|
2006-05-16 09:21:36 +00:00
|
|
|
BuildRequires: imake
|
2004-09-09 13:30:40 +00:00
|
|
|
|
2007-04-16 13:51:55 +00:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-09-09 13:25:28 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The transfig utility creates a makefile which translates FIG (created
|
|
|
|
by xfig) or PIC figures into a specified LaTeX graphics language (for
|
|
|
|
example, PostScript(TM)). Transfig is used to create TeX documents
|
|
|
|
which are portable (i.e., they can be printed in a wide variety of
|
|
|
|
environments).
|
|
|
|
|
|
|
|
Install transfig if you need a utility for translating FIG or PIC
|
|
|
|
figures into certain graphics languages.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}.%{version}
|
2007-04-16 13:51:55 +00:00
|
|
|
|
2010-03-03 13:32:12 +00:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
|
2008-12-20 03:47:10 +00:00
|
|
|
# fix source permissions
|
|
|
|
find -type f -exec chmod -x {} \;
|
2004-09-09 13:25:28 +00:00
|
|
|
|
2010-03-03 13:32:12 +00:00
|
|
|
# remove garbage
|
|
|
|
rm -f doc/manual/Makefile.orig doc/fig2dev.1.orig
|
|
|
|
|
2004-09-09 13:25:28 +00:00
|
|
|
%build
|
2004-09-09 13:25:35 +00:00
|
|
|
xmkmf
|
2006-05-16 09:21:36 +00:00
|
|
|
make Makefiles
|
|
|
|
make
|
2004-09-09 13:25:28 +00:00
|
|
|
|
|
|
|
%install
|
2006-05-16 09:21:36 +00:00
|
|
|
rm -rf %{buildroot}
|
2004-09-09 13:29:00 +00:00
|
|
|
|
2006-05-16 09:21:36 +00:00
|
|
|
make DESTDIR=%{buildroot} install install.man
|
2004-09-09 13:25:28 +00:00
|
|
|
|
2009-05-06 21:03:43 +00:00
|
|
|
# fig2ps2tex{,.sh} are equivalent, use the sh one
|
|
|
|
mv %{buildroot}%{_bindir}/fig2ps2tex.sh %{buildroot}%{_bindir}/fig2ps2tex
|
|
|
|
ln -s fig2ps2tex %{buildroot}%{_bindir}/fig2ps2tex.sh
|
2004-09-09 13:25:28 +00:00
|
|
|
|
|
|
|
%clean
|
2006-05-16 09:21:36 +00:00
|
|
|
rm -rf %{buildroot}
|
2004-09-09 13:25:28 +00:00
|
|
|
|
|
|
|
%files
|
2008-12-20 03:47:10 +00:00
|
|
|
%defattr(-,root,root,-)
|
2004-09-09 13:25:28 +00:00
|
|
|
%doc CHANGES NOTES README LATEX.AND.XFIG
|
2004-09-09 13:29:00 +00:00
|
|
|
%{_bindir}/transfig
|
|
|
|
%{_bindir}/fig2dev
|
|
|
|
%{_bindir}/fig2ps2tex
|
|
|
|
%{_bindir}/fig2ps2tex.sh
|
|
|
|
%{_bindir}/pic2tpic
|
|
|
|
%{_mandir}/man1/*
|
2006-05-16 09:21:36 +00:00
|
|
|
%{_datadir}/xfig
|
|
|
|
%{_datadir}/fig2dev
|
2004-09-09 13:25:28 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-03-03 13:32:12 +00:00
|
|
|
* Wed Mar 03 2010 Kamil Dudka <kdudka@redhat.com> - 1:3.2.5c-1
|
|
|
|
- new upstream release
|
|
|
|
- patch to generate comments compliant with DSC 3.0, thanks to Ian Dall
|
|
|
|
(#558380)
|
|
|
|
|
2009-07-27 06:14:02 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.2.5-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-05-06 21:03:43 +00:00
|
|
|
* 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.
|
|
|
|
|
2009-02-25 21:46:02 +00:00
|
|
|
* 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
|
|
|
|
|
2008-12-20 03:47:10 +00:00
|
|
|
* Sat Dec 20 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1:3.2.5-5
|
|
|
|
- Add transfig-3.2.5-bitmap.patch, tweak permission on sources (BZ #209865).
|
|
|
|
|
2008-09-10 13:55:18 +00:00
|
|
|
* Wed Sep 10 2008 Stepan Kasal <skasal@redhat.com> - 1:3.2.5-4
|
|
|
|
- remove transfig.3.2.4-pstex.patch, which reintroduced #164140
|
|
|
|
at the update to 3.2.5
|
|
|
|
|
2008-09-08 21:45:17 +00:00
|
|
|
* Mon Sep 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.2.5-3
|
|
|
|
- fix license tag
|
|
|
|
|
2008-02-19 10:10:33 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:3.2.5-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-04-16 13:51:55 +00:00
|
|
|
* Mon Apr 16 2007 Than Ngo <than@redhat.com> - 1:3.2.5-1.fc7
|
|
|
|
- 3.2.5
|
|
|
|
|
2006-08-16 17:51:35 +00:00
|
|
|
* Wed Aug 16 2006 Stepan Kasal <skasal@redhat.com> - 1:3.2.4-16
|
|
|
|
- Require ghostscript; fig2dev calls it.
|
|
|
|
|
2006-07-12 08:32:33 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:3.2.4-15.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-05-16 10:47:03 +00:00
|
|
|
* Tue May 16 2006 Than Ngo <than@redhat.com> 3.2.4-15
|
|
|
|
- fix #164140, transfig creates wrong dependencies for -L pstex
|
|
|
|
|
2006-05-16 09:21:36 +00:00
|
|
|
* Tue May 16 2006 Than Ngo <than@redhat.com> 3.2.4-14
|
|
|
|
- fix #191825, buildrequire on imake
|
|
|
|
- fix #173748, fig2dev still refers to /usr/X11R6/lib/X11/rgb.txt
|
|
|
|
|
2006-02-11 05:53:18 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:3.2.4-13.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 14:08:18 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:3.2.4-13.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-19 16:08:14 +00:00
|
|
|
* Mon Dec 19 2005 Than Ngo <than@redhat.com> 3.2.4-13
|
|
|
|
- fix build problem with modular X
|
|
|
|
|
2005-12-09 22:43:38 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-15 12:01:45 +00:00
|
|
|
* Tue Nov 15 2005 Than Ngo <than@redhat.com> 1:3.2.4-12
|
|
|
|
- fix for modular X
|
|
|
|
|
2005-03-05 21:29:10 +00:00
|
|
|
* Sat Mar 05 2005 Than Ngo <than@redhat.com> 1:3.2.4-11
|
|
|
|
- rebuild
|
|
|
|
|
2004-11-30 22:18:25 +00:00
|
|
|
* Tue Nov 30 2004 Than Ngo <than@redhat.com> 1:3.2.4-10
|
|
|
|
- fix compiler warnings #111394
|
|
|
|
- fix broken language selection #114849
|
|
|
|
|
2004-11-30 21:17:48 +00:00
|
|
|
* Tue Nov 30 2004 Than Ngo <than@redhat.com> 1:3.2.4-9
|
|
|
|
- add patch to fix getrgb #117099
|
|
|
|
|
2004-10-18 21:28:24 +00:00
|
|
|
* Mon Oct 18 2004 Miloslav Trmac <mitr@redhat.com> - 1:3.2.4-8
|
|
|
|
- Fix at least a few obvious instances of C abuse (partly #74594 with patch by
|
|
|
|
Sysoltsev Slawa)
|
|
|
|
- Drop -Dcfree=free fix, not needed with current version
|
|
|
|
|
2004-09-09 13:32:50 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 13:32:33 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 13:31:30 +00:00
|
|
|
* Tue Jun 17 2003 Than Ngo <than@redhat.com> 3.2.4-4
|
|
|
|
- patch build problem
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri May 23 2003 Jeremy Katz <katzj@redhat.com> 1:3.2.4-2
|
|
|
|
- fix build with gcc 3.3
|
|
|
|
|
|
|
|
* Tue May 6 2003 Than Ngo <than@redhat.com> 3.2.4-1
|
|
|
|
- 3.2.4
|
|
|
|
|
2004-09-09 13:30:40 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Nov 18 2002 Than Ngo <than@redhat.com> 3.2.3d-8
|
|
|
|
- Added a patch file from d.binderman@virgin.net (bug #77980)
|
|
|
|
|
|
|
|
* Wed Jul 31 2002 Than Ngo <than@redhat.com> 3.2.3d-7
|
2004-09-09 13:29:51 +00:00
|
|
|
- fig2dev crashes with more than 1 gif files (bug #69917)
|
|
|
|
|
2004-09-09 13:29:00 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Fri Jun 14 2002 han Ngo <than@redhat.com> 3.2.3d-5
|
|
|
|
- fhs fixes (bug #66732)
|
|
|
|
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 13:27:25 +00:00
|
|
|
* Mon Jul 23 2001 Than Ngo <than@redhat.com>
|
|
|
|
- fix build dependencies (bug #49725)
|
|
|
|
- Copyright -> License
|
|
|
|
|
2004-09-09 13:26:30 +00:00
|
|
|
* Fri Jun 15 2001 Than Ngo <than@redhat.com>
|
|
|
|
- update to 3.2.3d release (Bug # 44742)
|
|
|
|
|
|
|
|
* Tue May 29 2001 Than Ngo <than@redhat.com>
|
|
|
|
- update to 3.2.3d beta2
|
|
|
|
|
|
|
|
* Fri Apr 13 2001 Than Ngo <than@redhat.com>
|
|
|
|
- fix core dump when using LDAP auth
|
|
|
|
- update ftp site
|
|
|
|
|
2004-09-09 13:25:45 +00:00
|
|
|
* Mon Dec 18 2000 Yukihiro Nakai <ynakai@redhat.com>
|
2004-09-09 13:25:35 +00:00
|
|
|
- Enable Japanese
|
|
|
|
|
2004-09-09 13:25:28 +00:00
|
|
|
* Sat Aug 05 2000 Than Ngo <than@redhat.de>
|
|
|
|
- update to 3.2.3c (Bug fixed release)
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
2009-05-06 21:03:43 +00:00
|
|
|
* Tue Jun 13 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 13:25:28 +00:00
|
|
|
- make it build as nobody. Imake sucks.
|
|
|
|
- include LATEX.AND.XFIG
|
|
|
|
- use %%{_tmppath}
|
|
|
|
|
|
|
|
* Wed Apr 26 2000 Matt Wilson <msw@redhat.com>
|
|
|
|
- add enable_japanese option, disable it for now.
|
|
|
|
|
|
|
|
* Sun Apr 16 2000 Bryan C. Andregg <bandregg@redhat.com>
|
2009-05-06 21:03:43 +00:00
|
|
|
- new version to support -b and -g which xfig uses
|
2004-09-09 13:25:28 +00:00
|
|
|
|
|
|
|
* Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- handle compressed manpages
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 3)
|
|
|
|
|
|
|
|
* Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- build for glibc 2.1
|
|
|
|
|
|
|
|
* Tue Jul 7 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 3.2.1.
|
|
|
|
|
|
|
|
* Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
|
2009-05-06 21:03:43 +00:00
|
|
|
- add %%clean.
|
2004-09-09 13:25:28 +00:00
|
|
|
|
|
|
|
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Thu Nov 13 1997 Otto Hammersmith <otto@redhat.com>
|
|
|
|
- fixed problem with Imakefile for fig2dev not including $(XLIB)
|
|
|
|
- build rooted.
|
|
|
|
|
|
|
|
* Fri Oct 24 1997 Otto Hammersmith <otto@redhat.com>
|
|
|
|
- recreated the glibc patch that is needed for an alpha build, missed it
|
|
|
|
building on the intel.
|
|
|
|
|
|
|
|
* Tue Oct 21 1997 Otto Hammersmith <otto@redhat.com>
|
|
|
|
- updated version
|
|
|
|
- fixed source url
|
|
|
|
|
|
|
|
* Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|