]> git.pld-linux.org Git - packages/aide.git/blobdiff - aide.spec
- fix building with new ac/am
[packages/aide.git] / aide.spec
index 7de4f16ce7f59f484e18891fc6494c3c60d2e5dd..1e79223623a393102f14cd957e7e419e194f614f 100644 (file)
--- a/aide.spec
+++ b/aide.spec
@@ -1,31 +1,38 @@
 Summary:       Advanced Intrusion Detection Environment
 Summary(pl):   Zaawansowany System Wykrywania W³amañ (AIDE)
+Summary(pt_BR):        AIDE - ferramenta de verificação de integridade do sistema
 Name:          aide
-Version:       0.8
-Release:       2
+Version:       0.9
+Release:       1
 License:       GPL
 Group:         Applications/System
 Source0:       ftp://ftp.cs.tut.fi/pub/src/gnu/%{name}-%{version}.tar.gz
+# Source0-md5: 877b1f515a9e25afda75e06805d687fb
 Source1:       %{name}.conf
 Source2:       %{name}-0.7-doc.tar.bz2
+# Source2-md5: f8d01112f839957b3061bb6b5f262174
 Source3:       %{name}-check
 Source4:       %{name}.sysconfig
 Patch0:                %{name}-autoconf.patch
 Patch1:                %{name}-NLS.patch
+Patch2:                %{name}-ac_fix.patch
+Patch3:                %{name}-flex_fix.patch
+Patch4:                %{name}-no_md.patch
 URL:           http://www.cs.tut.fi/~rammer/aide.html
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: flex
-BuildRequires: findutils
 BuildRequires: bison
-BuildRequires: perl-modules
+BuildRequires: findutils
+BuildRequires: flex
 BuildRequires: gettext-devel
 BuildRequires: glibc-static
-BuildRequires: libgcrypt-static
+BuildRequires: mhash-static
+BuildRequires: perl-modules
+BuildRequires: yacc
 BuildRequires: zlib-static >= 1.1.4
 Requires:      crondaemon
-Requires:      mailx
 Requires:      grep
+Requires:      mailx
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/%{name}
@@ -47,21 +54,29 @@ integralno
 spójno¶ci (md5,sha1,rmd160,tiger,haval,itp.). Inne mog± byæ dodane
 stosunkowo ³atwo. Zwyk³e atrybuty plików tak¿e mog± byæ sprawdzane.
 
+%description -l pt_BR
+O AIDE tem por objetivo ser a versão gratuita do Tripwire, e ajuda
+a detectar violações de integridade pelo uso de hashes como MD5.
+
 %prep
 %setup -q -b 0 -a 2
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 rm -f missing po/Makefile*
 find . -name "*.c" -type f > po/POTFILES.in
-gettextize --copy --force
-aclocal
-autoconf
-automake -a -c -f
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
-       --with-config-file=%{_sysconfdir}/aide.conf
-%{__make}
+       --with-config-file=%{_sysconfdir}/aide.conf \
+       --with-extra-includes=/usr/include/
+make
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -74,8 +89,6 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/aide
 
-gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
-
 %find_lang %{name}
 
 %clean
@@ -83,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz doc/aide.conf.gz doc/manual.html aide-*/doc/aide.html
+%doc AUTHORS ChangeLog NEWS README doc/aide.conf doc/manual.html aide-*/doc/aide.html
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aide.conf
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/aide
 %attr(750,root,root) %dir %{_pkglibdir}
This page took 0.045414 seconds and 4 git commands to generate.