File: mairix.spec.sample

package info (click to toggle)
mairix 0.23+git20131125-0.3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,296 kB
  • ctags: 1,299
  • sloc: ansic: 11,345; sh: 1,000; yacc: 185; makefile: 135; lex: 87; perl: 34
file content (45 lines) | stat: -rw-r--r-- 1,242 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
URL:		http://www.rc0.org.uk/mairix

%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
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
make

%install
rm -rf $RPM_BUILD_ROOT
cd $RPM_BUILD_DIR/mairix-%{version}
make install DESTDIR=$RPM_BUILD_ROOT mandir=$RPM_BUILD_ROOT/%{_mandir}
cp README dotmairixrc.eg ..

%files
%{_bindir}/mairix
%doc README
%doc dotmairixrc.eg
%doc %{_mandir}/man1/mairix.1.gz
%doc %{_mandir}/man5/mairixrc.5.gz

%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