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

Revision 521, 3.7 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define ver 3.2.5
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: distributable
9Group: Applications/Graphics
10Source: ftp://ftp.x.org/contrib/applications/drawing_tools/transfig/transfig.%{version}.tar.gz
11Patch0: transfig-3.2.5-optflags.patch
12Patch5: transfig-3.2.5-modularX.patch
13Patch6: transfig-3.2.5-bitmap.patch
14Patch10: transfig-3.2.5-buildfix.patch
15Buildroot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: libXpm-devel
17BuildRequires: libpng-devel >= 1.2.5
18BuildRequires: libjpeg-devel
19BuildRequires: imake
20%{?nosrc:NoSource:     0}
21
22Vendor: Project Vine
23Distribution: Vine Linux
24Packager: daisuke
25
26%description
27TransFig is a set of tools for creating TeX documents with graphics
28which are portable, in the sense that they can be printed in a wide
29variety 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
39xmkmf
40(cd fig2dev; xmkmf ; cd dev ;xmkmf)
41(cd transfig ; xmkmf)
42make
43
44
45%install
46[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
47
48make DESTDIR=%{buildroot} \
49     MANPATH=%{_mandir} FIG2DEV_LIBDIR=%{_datadir}/fig2dev \
50     install install.man
51
52# fig2ps2tex{,.sh} are equivalent, use the sh one
53mv %{buildroot}%{_bindir}/fig2ps2tex.sh %{buildroot}%{_bindir}/fig2ps2tex
54ln -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* Sat Aug 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2.5-1
73- spec in utf-8, new versioning policy
74- build for modular X
75- new upstream release
76- add BR: libXpm-devel, remove BR: XOrg-devel
77- drop obsolete patches
78- add Patch0 to use optflags
79- add Patch5 to build with modular X
80- add Patch6 to fix permission on sources
81- add Patch10 to fix build failure
82
83* Tue Oct 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.2.4-7vl2
84- add BuildPrereq: XOrg-devel
85
86* Fri Sep 10 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.2.4-7vl1
87- updated source to 3.2.4
88- updated Patch0 and Patch1, newly added Patch2 and Patch3 from Fedora
89  * Tue Jun 17 2003 Than Ngo <than@redhat.com> 3.2.4-4
90  - patch build problem
91  * Fri May 23 2003 Jeremy Katz <katzj@redhat.com> 1:3.2.4-2
92  - fix build with gcc 3.3
93- rebuild with new toolchains and libpng >= 1.2
94- build with -march=i386
95- s/Copyright/License/
96- changed Group
97
98* Sat Jun 22 2002 Masaki Shinomiya <shino@pos.to>
99- 3.2.3d-5vl1
100- source update
101- strerror.patch from rawhide, 3.2.3d-vine.patch, buildprereq
102
103* Sun Aug 20 2000 Jun Nishii <jun@vinelinux.org>
104- 3.2.3c-1vl1
105
106* Mon Jan 24 2000 Atsushi Saito <saito4@slb.com>
107- update to 3.2.3
108- i18n
109
110* Mon Dec  6 1999 Atsushi Saito <saito4@slb.com>
111- i18n.
112
113* Tue Jul  7 1998 Jeff Johnson <jbj@redhat.com>
114- update to 3.2.1.
115
116* Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
117- add %clean.
118
119* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
120- translations modified for de, fr, tr
121
122* Thu Nov 13 1997 Otto Hammersmith <otto@redhat.com>
123- fixed problem with Imakefile for fig2dev not including $(XLIB)
124- build rooted.
125
126* Fri Oct 24 1997 Otto Hammersmith <otto@redhat.com>
127- recreated the glibc patch that is needed for an alpha build, missed it
128  building on the intel.
129
130* Tue Oct 21 1997 Otto Hammersmith <otto@redhat.com>
131- updated version
132- fixed source url
133
134* Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
135- built against glibc
Note: See TracBrowser for help on using the repository browser.