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