From eac5aeb78e89fdde5ff9e615c5f07aa194f33a32 Mon Sep 17 00:00:00 2001 From: kloczek Date: Wed, 27 Jun 2001 13:45:50 +0000 Subject: [PATCH] - added NLS patch with full NL support (also for man pages), - added glibc-static to BuildRequires, - added crond to Requires, - added flex to BuildRequires. Changed files: aide.spec -> 1.7 --- aide.spec | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/aide.spec b/aide.spec index 7fc9e90..b84cba1 100644 --- a/aide.spec +++ b/aide.spec @@ -10,9 +10,15 @@ Source0: ftp://ftp.linux.hr/pub/aide/%{name}-%{version}.tar.gz Source1: %{name}.conf Source2: %{name}-extra-%{version}.tar.bz2 Patch0: %{name}-cvs20010627.patch.gz +Patch1: %{name}-NLS.patch URL: http://www.cs.tut.fi/~rammer/aide.html -BuildRequires: libgcrypt-static +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: flex BuildRequires: gettext-devel +BuildRequires: glibc-static +BuildRequires: libgcrypt-static +Requires: crond BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sysconfdir /etc/%{name} @@ -21,6 +27,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %prep %setup -q -b 0 -b 2 %patch0 -p1 +%patch1 -p1 %description AIDE creates a database from the regular expression rules that it @@ -32,19 +39,25 @@ relative ease. All of the usual file attributes can also be checked for inconsistencies. %build +rm -f missing +gettextize --copy --force +aclocal +autoconf +automake -a -c %configure \ --with-config-file=%{_sysconfdir}/aide.conf \ - --with-locale \ --without-zlib %{__make} %install rm -rf $RPM_BUILD_ROOT +%{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily} + %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -%{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily} + %{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} -%{__install} -m 700 extra/aide.check $RPM_BUILD_ROOT/etc/cron.daily +%{__install} extra/aide.check $RPM_BUILD_ROOT/etc/cron.daily gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf @@ -61,3 +74,4 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/aide %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide.check %{_mandir}/man[15]/* +%lang(ru) %{_mandir}/ru/man[15]/* -- 2.43.0