source: projects/specs/trunk/m/man-db/man-db-vl.spec @ 4808

Revision 4808, 3.7 KB checked in by yasumichi, 13 years ago (diff)

new upstream release.

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