]> git.pld-linux.org Git - packages/aliases2cdbm.git/blob - aliases2cdbm.spec
4e70e7eca557944cad74ed262d623da643f0495d
[packages/aliases2cdbm.git] / aliases2cdbm.spec
1 Summary:        Convert mail aliases into input suitable for cdbmake
2 Summary(pl):    Konwerter aliasów pocztowych na wej¶cie dla cdbmake
3 Name:           aliases2cdbm 
4 Version:        1.0
5 Release:        1
6 License:        GPL
7 Group:          Applications/Text
8 Group(de):      Applikationen/Text
9 Group(pl):      Aplikacje/Tekst
10 Source0:        http://www.pobox.com/~jmknoble/software/aliases2cdbm/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-tolower.patch
12 URL:            http://www.pobox.com/~jmknoble/software/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15
16 %description
17 `Aliases2cdbm' is a utility for converting mail aliases from a text
18 file (e.g., /etc/mail/aliases) into input suitable for the `cdbmake'
19 utility. Cdbmake can then create a constant database (CDB) suitable
20 for reliable, high-speed mail alias lookups (see
21 <ftp://koobera.math.uic.edu/www/cdb.html> for more information about
22 D.J. Bernstein's cdb package, which includes cdbmake).
23
24 %description -l pl
25 Aliases2cdbm to narzêdzie do konwersji aliasów pocztowych z pliku
26 tekstowego (np. /etc/mail/aliases) na postaæ odpowiedni± jako wej¶cie
27 narzêdzia cdbmake. cdbmake mo¿e tworzyæ sta³± bazê danych (CDB)
28 odpowiedni± do pewnego i szybkiego wyszukiwania aliasów (pod adresem
29 ftp://koobera.math.uic.edu/www/cdb.html znajeduje siê wiêcej
30 informacji o pakiecie cdb D. J. Bernsteina, w tym o cdbmake).
31
32 %prep
33 %setup -q
34 %patch0 -p1 
35
36 %build
37 %{__make} OPTFLAGS="%{rpmcflags}" PREFIX="%{_prefix}"
38 %{__make} OPTFLAGS="%{rpmcflags}" PREFIX="%{_prefix}" extra
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man1}
43
44 install aliases2cdbm            $RPM_BUILD_ROOT%{_bindir}
45 #install        exim.newaliases.cdb     $RPM_BUILD_ROOT%{_sbindir}
46 install aliases2cdbm.1          $RPM_BUILD_ROOT%{_mandir}/man1
47                                                                                    
48 gzip -9nf README aliases.sample aliases.warnings
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc *.gz 
56 %attr(0755,root,root) %{_bindir}/aliases2cdbm
57 %attr(0444,root,root) %{_mandir}/man1/*
58 #%attr(0644,root,root) %{_sysconfdir}/aliases.conf
59 #%attr(0755,root,root) %{_bindir}/exim.newaliases.cdb
This page took 0.048598 seconds and 2 git commands to generate.