Revision 2942,
1.4 KB
checked in by yasumichi, 14 years ago
(diff) |
Emacs 利用ガイドを Vine-manual から分離
|
Line | |
---|
1 | Name: @PACKAGE_NAME@ |
---|
2 | Version: @VERSION@ |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | License: GFDL |
---|
5 | Group: Applications/Documentation |
---|
6 | Source0: %{name}-%{version}.tar.bz2 |
---|
7 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
8 | BuildArch: noarch |
---|
9 | |
---|
10 | Vendor: Project Vine |
---|
11 | Distribution: Vine Linux |
---|
12 | Packager: yasumichi |
---|
13 | |
---|
14 | Summary: Emacs guide for Vine Linux |
---|
15 | Summary(ja): Emacs 利用ガイド |
---|
16 | |
---|
17 | # Dependency |
---|
18 | Requires: vine-manual-base |
---|
19 | |
---|
20 | BuildRequires: vine-manual-base |
---|
21 | BuildRequires: vine-manual-build |
---|
22 | |
---|
23 | %description |
---|
24 | Emacs guide for Vine Linux |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | Emacs 利用ガイド |
---|
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 |
---|
50 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
51 | vine-manual-regist -p 40 %{_docdir}/Vine/emacs-guide/vine-emacs-guide.html |
---|
52 | vine-manual-index-update |
---|
53 | |
---|
54 | %postun |
---|
55 | if [ $1 -eq 0 ]; then |
---|
56 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
57 | vine-manual-regist -r %{_docdir}/Vine/emacs-guide/vine-emacs-guide.html |
---|
58 | vine-manual-index-update |
---|
59 | fi |
---|
60 | |
---|
61 | # File list |
---|
62 | %files |
---|
63 | %defattr(-,root,root) |
---|
64 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
65 | %{_docdir}/Vine/emacs-guide |
---|
66 | %{_datadir}/omf/vine-emacs-guide |
---|
67 | |
---|
68 | # Change Log |
---|
69 | %changelog |
---|
70 | * Tue Mar 08 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 5.9.0-1 |
---|
71 | - written first. |
---|
72 | |
---|
Note: See
TracBrowser
for help on using the repository browser.