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

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

import VineSeed package specs

Line 
1%define texmf           %{_prefix}/share/texmf
2%define build_texmf     %{buildroot}%{texmf}
3
4%define exec_texhash    [ -x %{_bindir}/texhash    ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash 2> /dev/null
5%define exec_updmap     [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap 2> /dev/null
6
7Summary: TIPA (International Phonetic Alphabet for LaTeX)
8Summary(ja): TIPA (LaTeX 用の音声記号フォント)
9Name: tipa
10Version: 1.3
11Release: 1%{?_dist_release}
12Group: Applications/Publishing
13License: LaTeX Project Public License
14URL: http://www.l.u-tokyo.ac.jp/~fkr/tipa/
15Source: http://www.l.u-tokyo.ac.jp/~fkr/tipa/tipa-1.3.tar.gz
16BuildArch: noarch
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires: tetex
19Requires: tetex
20Vendor: Project Vine
21Distribution: Vine Linux
22Packager: IKEDA Katsumi <ikeda@webmasters.gr.jp>
23
24%description
25TIPA is a system for processing IPA (International Phonetic Alphabet) symbols
26in LaTeX. TIPA stands for TeX IPA or Tokyo IPA.
27
28
29%description -l ja
30TIPA は LaTeX で IPA (国際音標文字/発音記号) を処理するためのシステムです。
31TIPA という名前は TeX IPA や Tokyo IPA を意味しています。
32
33%prep
34%setup -q
35
36%build
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41# Don't mind the error messages about type1/*.afm and mktexlsr.
42make PREFIX=%{build_texmf} MAPDIR=%{build_texmf}/fonts/map/dvips install
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%post
48%{exec_texhash}
49%{exec_updmap} --enable Map tipa.map
50exit 0
51
52%postun
53if [ "$1" = 0 ]; then
54    %{exec_texhash}
55    %{exec_updmap} --disable tipa.map
56fi
57exit 0
58
59%files
60%defattr(-,root,root)
61%doc 00README Manifest.txt Makefile doc/
62%{texmf}/tex/latex/tipa/
63%{texmf}/fonts/source/fkr/tipa/
64%{texmf}/fonts/tfm/fkr/tipa/
65%{texmf}/fonts/type1/fkr/tipa
66%{texmf}/fonts/map/dvips/tipa.map
67
68%changelog
69* Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 1.3-1vl5
70- applied new versioning policy, spec in utf-8
71
72* Sat Sep  9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-0vl3
73- changed exec_updmap (applyed Tsuchimura-san's patch)
74
75* Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-0vl2
76- rebuilt for VineSeed (4.0)
77
78* Mon Apr 25 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.3-0vl1
79- Initial specfile.
Note: See TracBrowser for help on using the repository browser.