source: projects/vine-cui-guide/trunk/vine-cui-guide.spec.in @ 2933

Revision 2933, 1.4 KB checked in by yasumichi, 11 years ago (diff)

表示順序を変更

Line 
1Name:           @PACKAGE_NAME@
2Version:        @VERSION@
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:        CUI user guide for Vine Linux
15Summary(ja):    Vine Linux CUI ユーザーガイド
16
17# Dependency
18Requires:       vine-manual-base
19
20BuildRequires:  vine-manual-base
21BuildRequires:  vine-manual-build
22
23%description
24CUI user guide for Vine Linux
25
26%description -l ja
27Vine Linux CUI ユーザーガイド
28
29# Prepare
30%prep
31%setup -q
32
33# Build
34%build
35%configure
36%{__make} html
37
38# Install
39%install
40%{__rm} -rf ${RPM_BUILD_ROOT}
41%{__make} install DESTDIR=${RPM_BUILD_ROOT}
42%{__make} install-html DESTDIR=${RPM_BUILD_ROOT}
43
44# Clean
45%clean
46%{__rm} -rf ${RPM_BUILD_ROOT}
47
48# after install
49%post
50scrollkeeper-update > /dev/null 2>&1 || :
51vine-manual-regist -p 30 %{_docdir}/Vine/cui-guide/vine-cui-guide.html
52vine-manual-index-update
53
54%postun
55if [ $1 -eq 0 ]; then
56        scrollkeeper-update > /dev/null 2>&1 || :
57        vine-manual-regist -r %{_docdir}/Vine/cui-guide/vine-cui-guide.html
58        vine-manual-index-update
59fi
60
61# File list
62%files
63%defattr(-,root,root)
64%doc AUTHORS COPYING ChangeLog NEWS README
65%{_docdir}/Vine/cui-guide
66%{_datadir}/omf/vine-cui-guide
67
68# Change Log
69%changelog
70* Mon Mar 07 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.0-1
71- written first.
72
Note: See TracBrowser for help on using the repository browser.