mairix.spec.sample 1.21 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
Name:		mairix
Summary:	A maildir indexer and searcher
Version:	@@VERSION@@
Release:	1
Source:		%{name}-%{version}.tar.gz
License:	GPL
Group:		Application/Internet
Packager:	Richard P. Curnow
BuildRoot:	%{_tmppath}/%{name}-%{version}-root-%(id -u -n)
Requires:	info
11
URL:		http://www.rc0.org.uk/mairix
Richard Curnow's avatar
Richard Curnow committed
12 13 14 15 16 17 18

%description
mairix is a tool for indexing email messages stored in maildir format folders
and performing fast searches on the resulting index.  The output is a new
maildir folder containing symbolic links to the matched messages.

%prep
19
%setup -q
Richard Curnow's avatar
Richard Curnow committed
20 21

%build
22 23
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
make
Richard Curnow's avatar
Richard Curnow committed
24 25 26

%install
rm -rf $RPM_BUILD_ROOT
27
cd $RPM_BUILD_DIR/mairix-%{version}
28 29
make install DESTDIR=$RPM_BUILD_ROOT mandir=$RPM_BUILD_ROOT/%{_mandir}
cp README dotmairixrc.eg ..
Richard Curnow's avatar
Richard Curnow committed
30 31

%files
32
%{_bindir}/mairix
33
%doc README
Richard Curnow's avatar
Richard Curnow committed
34
%doc dotmairixrc.eg
35 36
%doc %{_mandir}/man1/mairix.1.gz
%doc %{_mandir}/man5/mairixrc.5.gz
37

38 39 40 41 42 43 44 45
%changelog
* Fri Mar 24 2006 Andre Costa <blueser@gmail.com> - 0.18
- Updated to version 0.18
- Included URL on header
- removed references to 'mairix.txt', 'mairix.html' and 'mairix.info'
- .info files have been deprecated
- removed useless 'post' section
- makefile's "mandir" is pointing to /usr/man instead of /usr/share/man