[3232] | 1 | %global cache /var/cache/man |
---|
| 2 | |
---|
[2210] | 3 | # Basic Information |
---|
| 4 | Name: man-db |
---|
[3204] | 5 | Version: 2.5.9 |
---|
[2210] | 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.gz |
---|
[3232] | 10 | Source1: man-db.crondaily |
---|
| 11 | Source2: man-db.sysconfig |
---|
[3204] | 12 | Patch0: man-db-2.5.9-config.patch |
---|
[2210] | 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 | |
---|
[3232] | 28 | Obsoletes: man |
---|
[2210] | 29 | Provides: man |
---|
| 30 | |
---|
| 31 | %description |
---|
| 32 | This package provides the man command. This utility is the primary way of |
---|
| 33 | examining the on-line help files (manual pages). Other utilities provided |
---|
| 34 | include the whatis and apropos commands for searching the manual page |
---|
| 35 | database, the manpath utility for determining the manual page search path, |
---|
| 36 | and the maintenance utilities mandb, catman, and zsoelim. This package uses |
---|
| 37 | the groff suite of programs to format and display the manual pages. |
---|
| 38 | |
---|
[3232] | 39 | %description -l ja |
---|
| 40 | このパッケージは、man コマンドを提供します。このユーティリティの主な用途は |
---|
| 41 | ヘルプファイル(マニュアルページ)を調べることです。他のユーティリティとして |
---|
| 42 | マニュアルページデータベースを検索するための whatis と apropos コマンド、 |
---|
| 43 | マニュアルページの検索パスを決定する manpath ユーティリティ、および |
---|
| 44 | メンテナンスユーティリティである mandb、catman および zsoelim を提供します。 |
---|
| 45 | このパッケージは、マニュアルページを整形および表示するために groff プログラム |
---|
| 46 | スイートを利用しています。 |
---|
[2210] | 47 | |
---|
| 48 | %prep |
---|
| 49 | %setup -q |
---|
[3204] | 50 | %patch0 -p1 -b .conf |
---|
[2210] | 51 | |
---|
| 52 | %build |
---|
[3232] | 53 | %configure --disable-setuid |
---|
[2210] | 54 | %{__make} %{?_smp_mflags} |
---|
| 55 | |
---|
| 56 | %install |
---|
| 57 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 58 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 59 | |
---|
| 60 | %find_lang %{name} |
---|
| 61 | %find_lang %{name}-gnulib |
---|
| 62 | |
---|
| 63 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/man-db/libman.la |
---|
| 64 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/man-db/libmandb.la |
---|
| 65 | |
---|
[3232] | 66 | # install cache directory |
---|
| 67 | install -d -m 0755 $RPM_BUILD_ROOT%{cache} |
---|
| 68 | |
---|
| 69 | # install cron script for man-db creation/update |
---|
| 70 | install -D -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.daily/man-db.cron |
---|
| 71 | |
---|
| 72 | # config for cron script |
---|
| 73 | install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/man-db |
---|
| 74 | |
---|
| 75 | |
---|
[2210] | 76 | %clean |
---|
| 77 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %files -f %{name}.lang -f %{name}-gnulib.lang |
---|
| 81 | %defattr(-,root,root) |
---|
| 82 | %doc ChangeLog NEWS README |
---|
[3232] | 83 | %config(noreplace) %{_sysconfdir}/man_db.conf |
---|
| 84 | %config(noreplace) %{_sysconfdir}/sysconfig/man-db |
---|
| 85 | %{_sysconfdir}/cron.daily/man-db.cron |
---|
[2210] | 86 | %{_bindir}/apropos |
---|
| 87 | %{_bindir}/catman |
---|
| 88 | %{_bindir}/lexgrog |
---|
| 89 | %{_bindir}/man |
---|
| 90 | %{_bindir}/mandb |
---|
| 91 | %{_bindir}/manpath |
---|
| 92 | %{_bindir}/whatis |
---|
| 93 | %{_bindir}/zsoelim |
---|
[3204] | 94 | %{_libdir}/man-db |
---|
| 95 | %{_libexecdir}/man-db |
---|
[2210] | 96 | %{_sbindir}/accessdb |
---|
[3204] | 97 | %{_defaultdocdir}/man-db |
---|
[3232] | 98 | %attr(0755,root,root) %dir %{cache} |
---|
| 99 | %{_mandir}/de/man*/* |
---|
| 100 | %{_mandir}/es/man*/* |
---|
| 101 | %{_mandir}/it/man*/* |
---|
| 102 | %{_mandir}/ja/man*/* |
---|
| 103 | %{_mandir}/man1/apropos.1.* |
---|
| 104 | %{_mandir}/man1/lexgrog.1.* |
---|
| 105 | %{_mandir}/man1/man.1.* |
---|
| 106 | %{_mandir}/man1/manconv.1.* |
---|
| 107 | %{_mandir}/man1/manpath.1.* |
---|
| 108 | %{_mandir}/man1/whatis.1.* |
---|
| 109 | %{_mandir}/man1/zsoelim.1.* |
---|
| 110 | %{_mandir}/man5/manpath.5.* |
---|
| 111 | %{_mandir}/man8/accessdb.8.* |
---|
| 112 | %{_mandir}/man8/catman.8.* |
---|
| 113 | %{_mandir}/man8/mandb.8.* |
---|
[2210] | 114 | |
---|
| 115 | |
---|
| 116 | %changelog |
---|
[3204] | 117 | * Wed Mar 30 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.5.9-1 |
---|
| 118 | - new upstream release. |
---|
[3232] | 119 | - add Source1,Source2 and Patch0 from fedora. |
---|
[3204] | 120 | |
---|
[2210] | 121 | * Tue Nov 16 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.5.8-1 |
---|
| 122 | - initial build for Vine Linux |
---|
| 123 | |
---|