source: projects/specs/trunk/h/hevea/hevea-vl.spec @ 5566

Revision 5566, 2.5 KB checked in by munepi, 10 years ago (diff)

updated hevea-vl.spec

Line 
1%define tex_destdir     %{_datadir}
2%define texmf           %{tex_destdir}/texmf
3
4Summary:        LaTeX to HTML translator
5Summary(ja):    LaTeXをHTMLに変換
6Name:           hevea
7Version:        1.10
8Release:        1%{?_dist_release}
9License:        QPL
10Group:          Applications/Publishing
11URL:            http://hevea.inria.fr/
12Source:         http://hevea.inria.fr/distri/hevea-%{version}.tar.gz
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14Vendor:         Project Vine
15Distribution:   Vine Linux
16
17%if %{?_dist_release} == "vl5"
18BuildRequires:  tetex
19%endif
20%if %{?_dist_release} >= "vl6"
21BuildRequires:  texlive-common
22%endif
23BuildRequires:  ocaml >= 3.0.7
24%if %{?_dist_release} == "vl5"
25Requires:       tetex
26%endif
27%if %{?_dist_release} >= "vl6"
28Requires:       texlive-common
29%endif
30Requires:       netpbm-progs ghostscript
31
32%description
33HEVEA is a quite complete and fast LATEX to HTML translator.
34HEVEA renders symbols by using the so-called HTML "entites", which
35modern browsers display correctly most of the time.
36
37%description -l ja
38HEVEA は LaTeX を HTML に変換するプログラムです.
39
40
41%prep
42%setup -q
43
44# Set our default paths
45%__sed -i -e "s#\(BINDIR=\).*#\\1%{_bindir}#; \
46       s#\(LIBDIR=\).*#\\1%{_datadir}/%{name}#; \
47       s#\(LATEXLIBDIR=\).*#\\1%{texmf}/tex/latex/hevea#; \
48       s#\(DESTDIR=\).*#\\1%{buildroot}#; \
49       " config.sh
50
51%build
52%__make %{?_smp_mflags} \
53        PREFIX=%{_prefix} \
54        LIBDIR=%{_datadir}/hevea \
55        BINDIR=%{_bindir} \
56        LATEXLIBDIR=%{texmf}/tex/latex/hevea
57
58%install
59%__rm -rf %{buildroot}
60%__make install \
61        DESTDIR=%{buildroot} \
62        PREFIX=%{_prefix} \
63        LIBDIR=%{_datadir}/hevea \
64        BINDIR=%{_bindir} \
65        LATEXLIBDIR=%{texmf}/tex/latex/hevea
66 
67%clean
68%__rm -rf $RPM_BUILD_ROOT
69
70%post   -p %{_bindir}/texhash
71%postun -p %{_bindir}/texhash
72
73%files
74%defattr(-,root,root,-)
75%doc README CHANGES LICENSE
76%{_bindir}/*
77%{_datadir}/hevea
78%{texmf}/tex/latex/hevea/
79
80
81%changelog
82* Sat Feb  4 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.10-1
83- update to 1.10
84
85* Sun Aug 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.08-2
86- TeX Live 2009
87
88* Sat Aug 30 2008 Shu KONNO <owa@bg.wakwak.com> 1.08-1vl5
89- applied new versioning policy, spec in utf-8
90- fixed scripts about library path
91
92* Thu Aug  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com>
93- rebuilt for VineSeed (4.0)
94
95* Thu May 19 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
96- Updated to 1.08 with much modification of spec
97
98* Tue Feb 15 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
99- Initial package for VineLinux 3.0
100
Note: See TracBrowser for help on using the repository browser.