7ca252fff50f96cf7604179efe03c69e0f61fce3
[packages/aliases2cdbm.git] / aliases2cdbm.spec
1 Summary:        Convert mail aliases into input suitable for cdbmake
2 Name:           aliases2cdbm 
3 Version:        1.0
4 Release:        1
5 License:        GPL
6 Group:          Applications/Text
7 Group(de):      Applikationen/Text
8 Group(pl):      Aplikacje/Tekst
9 URL:            http://www.pobox.com/~jmknoble/software/
10 Source0:        http://www.pobox.com/~jmknoble/software/aliases2cdbm/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-tolower.patch
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14
15 %description
16 `Aliases2cdbm' is a utility for converting mail aliases from a text
17 file (e.g., /etc/aliases) into input suitable for the `cdbmake'
18 utility. Cdbmake can then create a constant database (CDB) suitable
19 for reliable, high-speed mail alias lookups (see
20 <ftp://koobera.math.uic.edu/www/cdb.html> for more information about
21 D.J. Bernstein's cdb package, which includes cdbmake).
22
23
24 %prep
25 %setup -q
26 %patch0 -p1 
27
28 %build
29
30 %{__make} OPTFLAGS="${RPM_OPT_FLAGS}" PREFIX="%{prefix}"
31 %{__make} OPTFLAGS="${RPM_OPT_FLAGS}" PREFIX="%{prefix}" extra
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man1}
37
38 install aliases2cdbm            $RPM_BUILD_ROOT%{_bindir}
39 #install        exim.newaliases.cdb     $RPM_BUILD_ROOT%{_sbindir}
40 install aliases2cdbm.1          $RPM_BUILD_ROOT%{_mandir}/man1
41                                                                                    
42 gzip -9nf README aliases.sample aliases.warnings 
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc *.gz 
49 %attr(0755,root,root) %{_bindir}/aliases2cdbm
50 %attr(0444,root,root) %{_mandir}/man1/*
51 #%attr(0644,root,root) %{_sysconfdir}/aliases.conf
52 #%attr(0755,root,root) %{_bindir}/exim.newaliases.cdb
This page took 0.052436 seconds and 2 git commands to generate.