]> git.pld-linux.org Git - packages/Sman.git/blame - Sman.spec
- pl, missing dir
[packages/Sman.git] / Sman.spec
CommitLineData
7d23632d 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6Summary: Searcher for Man pages
29caf15a 7Summary(pl): Wyszukiwarka stron Man
7d23632d 8Name: Sman
9Version: 0.95
10Release: 0.1
11# "same as perl"
12License: Artistic
13Group: Development/Languages/Perl
14Source0: http://joshr.com/src/sman/%{name}-%{version}.tar.gz
15# Source0-md5: b786338eba068a4a110bf2bbda51e695
16URL: http://joshr.com/src/sman/
7d23632d 17BuildRequires: perl-Cache-Cache
18BuildRequires: perl-Compress-Zlib
19BuildRequires: perl-FreezeThaw
29caf15a 20BuildRequires: perl-devel >= 1:5.8.0
7d23632d 21BuildRequires: rpm-perlprov >= 4.1-13
22BuildRequires: swish-e-perl
7d23632d 23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
7d23632d 26%description
27Sman is the Searcher for Man pages. Based on the example of the same
28name in Josh Rabinowitz's article "How To Index Anything" in the July,
292003 issue of Linux Journal
30<http://www.linuxjournal.com/article.php?sid=6652>, sman is an
31enhanced version of 'apropos' and 'man -k'. Sman adds several key
32abilities over its predecessors:
33
34- Supports complex natural language text searches such as "(linux and
35 kernel) or (mach and microkernel)"
36
37- Shows results in a ranked order, and optionally an extract (using
38 -e) of the manpage showing the searched text highlighted
39
40- Allows for searches by manpage section, title, body, or filename
41 (use 'metaname=searchword')
42
43- Indexes the complete contents of the man page, not just the title
44 and description
45
46- Uses a prebuilt index to perform fast searches
47
48- Performs 'stemming' so that a search for "searches" will match a
49 document with the word "searching"
50
29caf15a
JB
51%description -l pl
52Sman to wyszukiwarka stron Man. Jest to rozszerzona wersja 'apropos' i
53