1 | %global cache /var/cache/man |
---|
2 | |
---|
3 | # Basic Information |
---|
4 | Name: man-db |
---|
5 | Version: 2.6.3 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | License: GPL |
---|
8 | Group: System Environment/Base |
---|
9 | Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz |
---|
10 | Source1: man-db.crondaily |
---|
11 | Source2: man-db.sysconfig |
---|
12 | #Patch0: man-db-2.5.9-config.patch |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | Vendor: Project Vine |
---|
16 | Distribution: Vine Linux |
---|
17 | Packager: yasumichi |
---|
18 | |
---|
19 | Summary: the man-db manual pager suite |
---|
20 | Summary(ja): man-dbマニュアルページャスイート |
---|
21 | |
---|
22 | # Dependency |
---|
23 | Requires: groff >= 1.20.1 |
---|
24 | BuildRequires: groff >= 1.20.1 |
---|
25 | Requires: gdbm |
---|
26 | BuildRequires: gdbm-devel |
---|
27 | BuildRequires: libpipeline-devel >= 1.1.0 |
---|
28 | BuildRequires: po4a |
---|
29 | |
---|
30 | Obsoletes: man |
---|
31 | Provides: man |
---|
32 | |
---|
33 | %description |
---|
34 | This package provides the man command. This utility is the primary way of |
---|
35 | examining the on-line help files (manual pages). Other utilities provided |
---|
36 | include the whatis and apropos commands for searching the manual page |
---|
37 | database, the manpath utility for determining the manual page search path, |
---|
38 | and the maintenance utilities mandb, catman, and zsoelim. This package uses |
---|
39 | the groff suite of programs to format and display the manual pages. |
---|
40 | |
---|
41 | %description -l ja |
---|
42 | このパッケージは、man コマンドを提供します。このユーティリティの主な用途は |
---|
43 | ヘルプファイル(マニュアルページ)を調べることです。他のユーティリティとして |
---|
44 | マニュアルページデータベースを検索するための whatis と apropos コマンド、 |
---|
45 | マニュアルページの検索パスを決定する manpath ユーティリティ、および |
---|
46 | メンテナンスユーティリティである mandb、catman および zsoelim を提供します。 |
---|
47 | このパッケージは、マニュアルページを整形および表示するために groff プログラム |
---|
48 | スイートを利用しています。 |
---|
49 | |
---|
50 | %prep |
---|
51 | %setup -q |
---|
52 | #%%patch0 -p1 -b .conf |
---|
53 | |
---|
54 | %build |
---|
55 | %configure --disable-setuid |
---|
56 | %{__make} %{?_smp_mflags} |
---|
57 | |
---|
58 | %install |
---|
59 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
60 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
61 | |
---|
62 | %find_lang %{name} |
---|
63 | %find_lang %{name}-gnulib |
---|
64 | |
---|
65 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/man-db/libman.la |
---|
66 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/man-db/libmandb.la |
---|
67 | |
---|
68 | # install cache directory |
---|
69 | install -d -m 0755 $RPM_BUILD_ROOT%{cache} |
---|
70 | |
---|
71 | # install cron script for man-db creation/update |
---|
72 | install -D -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.daily/man-db.cron |
---|
73 | |
---|
74 | # config for cron script |
---|
75 | install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/man-db |
---|
76 | |
---|
77 | |
---|
78 | %clean |
---|
79 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
80 | |
---|
81 | |
---|
82 | %files -f %{name}.lang -f %{name}-gnulib.lang |
---|
83 | %defattr(-,root,root) |
---|
84 | %doc ChangeLog NEWS README |
---|
85 | %config(noreplace) %{_sysconfdir}/man_db.conf |
---|
86 | %config(noreplace) %{_sysconfdir}/sysconfig/man-db |
---|
87 | %{_sysconfdir}/cron.daily/man-db.cron |
---|
88 | %{_bindir}/apropos |
---|
89 | %{_bindir}/catman |
---|
90 | %{_bindir}/lexgrog |
---|
91 | %{_bindir}/man |
---|
92 | %{_bindir}/mandb |
---|
93 | %{_bindir}/manpath |
---|
94 | %{_bindir}/whatis |
---|
95 | %{_bindir}/zsoelim |
---|
96 | %{_libdir}/man-db |
---|
97 | %{_libexecdir}/man-db |
---|
98 | %{_sbindir}/accessdb |
---|
99 | %{_defaultdocdir}/man-db |
---|
100 | %attr(0755,root,root) %dir %{cache} |
---|
101 | %lang(de) %{_mandir}/de/man*/* |
---|
102 | %lang(es) %{_mandir}/es/man*/* |
---|
103 | %lang(fr) %{_mandir}/fr/man*/* |
---|
104 | %lang(id) %{_mandir}/id/man*/* |
---|
105 | %lang(it) %{_mandir}/it/man*/* |
---|
106 | %lang(ja) %{_mandir}/ja/man*/* |
---|
107 | %lang(nl) %{_mandir}/nl/man*/* |
---|
108 | %lang(pl) %{_mandir}/pl/man*/* |
---|
109 | %lang(ru) %{_mandir}/ru/man*/* |
---|
110 | %{_mandir}/man1/apropos.1.* |
---|
111 | %{_mandir}/man1/lexgrog.1.* |
---|
112 | %{_mandir}/man1/man.1.* |
---|
113 | %{_mandir}/man1/manconv.1.* |
---|
114 | %{_mandir}/man1/manpath.1.* |
---|
115 | %{_mandir}/man1/whatis.1.* |
---|
116 | %{_mandir}/man1/zsoelim.1.* |
---|
117 | %{_mandir}/man5/manpath.5.* |
---|
118 | %{_mandir}/man8/accessdb.8.* |
---|
119 | %{_mandir}/man8/catman.8.* |
---|
120 | %{_mandir}/man8/mandb.8.* |
---|
121 | |
---|
122 | |
---|
123 | %changelog |
---|
124 | * Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.3-1 |
---|
125 | - new upstream release |
---|
126 | - add BR: libpipeline-devel instead of libpipeline |
---|
127 | - add BR: po4a |
---|
128 | |
---|
129 | * Fri Sep 23 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.6.0.2-1 |
---|
130 | - new upstream release. |
---|
131 | - remove Patch0. |
---|
132 | |
---|
133 | * Wed Mar 30 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.5.9-1 |
---|
134 | - new upstream release. |
---|
135 | - add Source1,Source2 and Patch0 from fedora. |
---|
136 | |
---|
137 | * Tue Nov 16 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.5.8-1 |
---|
138 | - initial build for Vine Linux |
---|
139 | |
---|