2 # - proper webapp config
3 %define mimelib_version 3.1.1
4 Summary: E-mail archiver
5 Summary(pl.UTF-8): Archiwizator poczty elektronicznej
10 Group: Applications/Mail
11 Source0: http://dl.sourceforge.net/lurker/%{name}-%{version}.tar.gz
12 # Source0-md5: 44e73a53e84e895a8a361ae27dcda6dd
13 Source1: http://dl.sourceforge.net/lurker/mimelib-%{mimelib_version}.tar.gz
14 # Source1-md5: f50d492e9bae694b449033a188afb770
15 URL: http://lurker.sourceforge.net/
16 BuildRequires: libstdc++-devel
17 BuildRequires: zlib-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 An archiver which can handle extremely large amounts of email.
22 It is fast, intuitive, and customizable.
25 - Full field *fast* searching
26 - Chronological threading
27 - Message threading navigation
28 - File attachment support
29 - Multi-lingual support
30 - Cache files available directly to the web server
31 - Completely customizable output
33 %description -l pl.UTF-8
34 Szybki i intuicyjny archiwizator potrafiący poradzić sobie z dużą
35 ilością poczty elektronicznej.
38 - Szybkie pełnotekstowe przeszukiwanie
41 - Obsługa wielu języków
42 - Dowolnie formatowalny format wyjściowy
49 --with-mimelib-local \
50 --with-default-www-dir=%{_datadir}/%{name}/www \
51 --with-cgi-bin-dir=%{_libdir}/%{name}/cgi-bin
55 rm -rf $RPM_BUILD_ROOT
57 %{__make} install install-config \
58 DESTDIR=$RPM_BUILD_ROOT
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %doc ChangeLog README FAQ INSTALL
66 %attr(755,root,root) %{_bindir}/*
67 %dir %{_sysconfdir}/%{name}
68 %config %{_sysconfdir}/%{name}/*.conf
70 %dir %{_datadir}/%{name}
71 # XXX: are all those http,http really necessary???
72 %attr(755,http,http) %{_datadir}/%{name}/www
73 %dir %{_libdir}/%{name}
74 %dir %{_libdir}/%{name}/cgi-bin
75 %attr(755,root,root) %{_libdir}/%{name}/cgi-bin/*