]>
Commit | Line | Data |
---|---|---|
e9276433 | 1 | # XXX is this right - it was /var/lib before FHS macros |
2 | %define _localstatedir /var/cache/wwwoffle/search/namazu | |
3 | ||
4 | Summary: Performs full-text search over the cache created by WWWOFFLE | |
5 | Name: mknmz-wwwoffle | |
6 | Version: 0.7.2 | |
7 | Release: 1 | |
8 | License: GPL | |
9 | Group: Applications/Text | |
10 | #BuildRequires: perl >= 5.6.0, perl-NKF >= 1.70, perl-Text-Kakasi >= 1.00 | |
11 | #Requires: perl >= 5.6.0, perl-File-MMagic >= 1.12, perl-NKF >= 1.70 | |
12 | #Requires: kakasi >= 2.3.0, perl-Text-Kakasi >= 1.00 | |
13 | Source0: http://www.naney.org/comp/distrib/mknmz-wwwoffle/archive/%{name}-%{version}.tar.gz | |
14 | URL: http://www.naney.org/comp/distrib/mknmz-wwwoffle/index.html | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Mknmz-wwwoffle performs full-text search over the cache created by | |
19 | WWWOFFLE, using full-text search system Namazu | |
20 | (http://www.namazu.org/). It adds a filter for mknmz which is used to | |
21 | generate index files for cache entries in WWWOFFLE. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | ||
26 | %build | |
27 | %{__autoconf} | |
28 | %configure | |
29 | ||
30 | %{__make} | |
31 | ||
32 | %install | |
33 | ||
34 | rm -rf $RPM_BUILD_ROOT | |
35 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
36 | ||
37 | ||
38 | %clean | |
39 | rm -rf %{buildroot} | |
40 | ||
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc README README.ja NEWS THANKS INSTALL ChangeLog AUTHORS | |
45 | %dir %{_localstatedir} | |
46 | %attr(755,root,root) %{_bindir}/mknmz-wwwoffle | |
47 | %{_mandir}/man1/* | |
48 | %{_datadir}/namazu/filter/* |