source: projects/specs/trunk/v/vine-tex-guide/vine-tex-guide-vl.spec @ 4459

Revision 4459, 1.5 KB checked in by yasumichi, 11 years ago (diff)

Obsoletes Vine-manual

Line 
1Name:           vine-tex-guide
2Version:        5.9.1
3Release:        1%{?_dist_release}
4License:        GFDL
5Group:          Applications/Documentation
6Source0:        %{name}-%{version}.tar.bz2
7BuildRoot:      %{_tmppath}/%{name}-%{version}-root
8BuildArch:      noarch
9
10Vendor:         Project Vine
11Distribution:   Vine Linux
12Packager:       yasumichi
13
14Summary:        Japanese Tex guide for Vine Linux
15Summary(ja):    日本語 Tex 利用ガイド
16
17# Dependency
18Requires:       vine-manual-base
19
20BuildRequires:  vine-manual-base
21BuildRequires:  vine-manual-build
22
23Obsoletes:      Vine-manual
24
25%description
26Japanese Tex guide for Vine Linux
27
28%description -l ja
29日本語 Tex 利用ガイド
30
31# Prepare
32%prep
33%setup -q
34
35# Build
36%build
37%configure
38%{__make} html
39
40# Install
41%install
42%{__rm} -rf ${RPM_BUILD_ROOT}
43%{__make} install DESTDIR=${RPM_BUILD_ROOT}
44%{__make} install-html DESTDIR=${RPM_BUILD_ROOT}
45
46# Clean
47%clean
48%{__rm} -rf ${RPM_BUILD_ROOT}
49
50# after install
51%post
52scrollkeeper-update > /dev/null 2>&1 || :
53vine-manual-regist -p 50 %{_docdir}/Vine/tex-guide/vine-tex-guide.html
54vine-manual-index-update
55
56%postun
57if [ $1 -eq 0 ]; then
58        scrollkeeper-update > /dev/null 2>&1 || :
59        vine-manual-regist -r %{_docdir}/Vine/tex-guide/vine-tex-guide.html
60        vine-manual-index-update
61fi
62
63# File list
64%files
65%defattr(-,root,root)
66%doc AUTHORS COPYING ChangeLog NEWS README
67%{_docdir}/Vine/tex-guide
68%{_datadir}/omf/vine-tex-guide
69
70# Change Log
71%changelog
72* Mon Aug 01 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.1-1
73- update for Vine Linux 6.0.
74
75* Tue Mar 08 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.0-1
76- written first.
77
Note: See TracBrowser for help on using the repository browser.