From: Jakub Bogusz Date: Wed, 31 Oct 2001 11:00:40 +0000 (+0000) Subject: - fixes in %%build, pl translations X-Git-Url: http://git.pld-linux.org/?p=packages%2Faliases2cdbm.git;a=commitdiff_plain;h=2b6b5273c9f893e57db6045fcc8d69b0c7a10960 - fixes in %%build, pl translations Changed files: aliases2cdbm.spec -> 1.2 --- diff --git a/aliases2cdbm.spec b/aliases2cdbm.spec index 7ca252f..4e70e7e 100644 --- a/aliases2cdbm.spec +++ b/aliases2cdbm.spec @@ -1,4 +1,5 @@ Summary: Convert mail aliases into input suitable for cdbmake +Summary(pl): Konwerter aliasów pocztowych na wej¶cie dla cdbmake Name: aliases2cdbm Version: 1.0 Release: 1 @@ -6,40 +7,46 @@ License: GPL Group: Applications/Text Group(de): Applikationen/Text Group(pl): Aplikacje/Tekst -URL: http://www.pobox.com/~jmknoble/software/ Source0: http://www.pobox.com/~jmknoble/software/aliases2cdbm/%{name}-%{version}.tar.gz Patch0: %{name}-tolower.patch +URL: http://www.pobox.com/~jmknoble/software/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description `Aliases2cdbm' is a utility for converting mail aliases from a text -file (e.g., /etc/aliases) into input suitable for the `cdbmake' +file (e.g., /etc/mail/aliases) into input suitable for the `cdbmake' utility. Cdbmake can then create a constant database (CDB) suitable for reliable, high-speed mail alias lookups (see for more information about D.J. Bernstein's cdb package, which includes cdbmake). +%description -l pl +Aliases2cdbm to narzêdzie do konwersji aliasów pocztowych z pliku +tekstowego (np. /etc/mail/aliases) na postaæ odpowiedni± jako wej¶cie +narzêdzia cdbmake. cdbmake mo¿e tworzyæ sta³± bazê danych (CDB) +odpowiedni± do pewnego i szybkiego wyszukiwania aliasów (pod adresem +ftp://koobera.math.uic.edu/www/cdb.html znajeduje siê wiêcej +informacji o pakiecie cdb D. J. Bernsteina, w tym o cdbmake). %prep %setup -q %patch0 -p1 %build - -%{__make} OPTFLAGS="${RPM_OPT_FLAGS}" PREFIX="%{prefix}" -%{__make} OPTFLAGS="${RPM_OPT_FLAGS}" PREFIX="%{prefix}" extra +%{__make} OPTFLAGS="%{rpmcflags}" PREFIX="%{_prefix}" +%{__make} OPTFLAGS="%{rpmcflags}" PREFIX="%{_prefix}" extra %install rm -rf $RPM_BUILD_ROOT - install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man1} install aliases2cdbm $RPM_BUILD_ROOT%{_bindir} #install exim.newaliases.cdb $RPM_BUILD_ROOT%{_sbindir} install aliases2cdbm.1 $RPM_BUILD_ROOT%{_mandir}/man1 -gzip -9nf README aliases.sample aliases.warnings +gzip -9nf README aliases.sample aliases.warnings + %clean rm -rf $RPM_BUILD_ROOT