source: projects/specs/trunk/t/transfig/transfig-vl.spec @ 9003

Revision 9003, 4.0 KB checked in by inagaki, 10 years ago (diff)

2014-10-11 Ryoichi INAGAKI <ryo1@…>

  • transfig, xfig: update


Line 
1%define ver 3.2.5e
2
3Summary: A utility for converting FIG files (made by xfig) to other formats.
4Summary(ja): Xfig で作った FIG ファイル変換ユーティリティ
5Name: transfig
6Version: %{ver}
7Release: 1%{?_dist_release}
8License: MIT
9Group: Applications/Graphics
10URL: http://www.xfig.org/
11
12Source: http://downloads.sourceforge.net/mcj/%{name}.%{ver}.tar.gz
13Patch0: transfig-3.2.5-optflags.patch
14Patch5: transfig-3.2.5-modularX.patch
15Patch6: transfig-3.2.5-bitmap.patch
16Patch10: transfig-3.2.5-buildfix.patch
17Patch11: transfig-3.2.5d-bz1037365.patch
18
19Buildroot: %{_tmppath}/%{name}-%{version}-root
20BuildRequires: libXpm-devel
21BuildRequires: libpng-devel >= 1.2.5
22BuildRequires: imake
23%{?nosrc:NoSource:     0}
24
25Vendor: Project Vine
26Distribution: Vine Linux
27Packager: daisuke
28
29%description
30TransFig is a set of tools for creating TeX documents with graphics
31which are portable, in the sense that they can be printed in a wide
32variety of environments.
33
34%prep
35%setup -q -n %{name}.%{version}
36%patch0 -p1 -b .optflags
37%patch5 -p1 -b .modularX
38%patch6 -p1 -b .bitmap
39%patch10 -p1 -b .buildfix
40%patch11 -p1
41
42# fix source permissions
43find -type f -exec chmod -x {} \;
44
45# remove garbage
46rm -f doc/manual/Makefile.orig doc/fig2dev.1.orig
47
48%build
49xmkmf
50(cd fig2dev; xmkmf ; cd dev ;xmkmf)
51(cd transfig ; xmkmf)
52make
53
54
55%install
56[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
57
58make DESTDIR=%{buildroot} \
59     MANPATH=%{_mandir} FIG2DEV_LIBDIR=%{_datadir}/fig2dev \
60     install install.man
61
62# fig2ps2tex{,.sh} are equivalent, use the sh one
63mv %{buildroot}%{_bindir}/fig2ps2tex.sh %{buildroot}%{_bindir}/fig2ps2tex
64ln -s fig2ps2tex %{buildroot}%{_bindir}/fig2ps2tex.sh
65
66%clean
67[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
68
69%files
70%defattr(-,root,root)
71%doc CHANGES NOTES README LATEX.AND.XFIG
72%{_bindir}/transfig
73%{_bindir}/fig2dev
74%{_bindir}/fig2ps2tex
75%{_bindir}/fig2ps2tex.sh
76%{_bindir}/pic2tpic
77%{_mandir}/man1/*
78%{_datadir}/xfig
79%{_datadir}/fig2dev
80
81%changelog
82* Tue Oct  7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.2.5e-1
83- updated to 3.2.5e
84- added Patch11 from Fedora
85  - make it compile with -Werror=format-security (#1037365)
86- built with libpng-1.6.12
87
88* Sat Aug 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-1
89- spec in utf-8, new versioning policy
90- build for modular X
91- new upstream release
92- add BR: libXpm-devel, remove BR: XOrg-devel
93- drop obsolete patches
94- add Patch0 to use optflags
95- add Patch5 to build with modular X
96- add Patch6 to fix permission on sources
97- add Patch10 to fix build failure
98
99* Tue Oct 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.2.4-7vl2
100- add BuildPrereq: XOrg-devel
101
102* Fri Sep 10 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.2.4-7vl1
103- updated source to 3.2.4
104- updated Patch0 and Patch1, newly added Patch2 and Patch3 from Fedora
105  * Tue Jun 17 2003 Than Ngo <than@redhat.com> 3.2.4-4
106  - patch build problem
107  * Fri May 23 2003 Jeremy Katz <katzj@redhat.com> 1:3.2.4-2
108  - fix build with gcc 3.3
109- rebuild with new toolchains and libpng >= 1.2
110- build with -march=i386
111- s/Copyright/License/
112- changed Group
113
114* Sat Jun 22 2002 Masaki Shinomiya <shino@pos.to>
115- 3.2.3d-5vl1
116- source update
117- strerror.patch from rawhide, 3.2.3d-vine.patch, buildprereq
118
119* Sun Aug 20 2000 Jun Nishii <jun@vinelinux.org>
120- 3.2.3c-1vl1
121
122* Mon Jan 24 2000 Atsushi Saito <saito4@slb.com>
123- update to 3.2.3
124- i18n
125
126* Mon Dec  6 1999 Atsushi Saito <saito4@slb.com>
127- i18n.
128
129* Tue Jul  7 1998 Jeff Johnson <jbj@redhat.com>
130- update to 3.2.1.
131
132* Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
133- add %clean.
134
135* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
136- translations modified for de, fr, tr
137
138* Thu Nov 13 1997 Otto Hammersmith <otto@redhat.com>
139- fixed problem with Imakefile for fig2dev not including $(XLIB)
140- build rooted.
141
142* Fri Oct 24 1997 Otto Hammersmith <otto@redhat.com>
143- recreated the glibc patch that is needed for an alpha build, missed it
144  building on the intel.
145
146* Tue Oct 21 1997 Otto Hammersmith <otto@redhat.com>
147- updated version
148- fixed source url
149
150* Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
151- built against glibc
Note: See TracBrowser for help on using the repository browser.