]> git.pld-linux.org Git - packages/aide.git/blobdiff - aide.spec
- converted to UTF-8
[packages/aide.git] / aide.spec
index d9bf83bc077f6127f0c8f2cbe194d29d96190d2b..7e6287e5b076529890363c4c717bdecf80464e27 100644 (file)
--- a/aide.spec
+++ b/aide.spec
@@ -1,25 +1,34 @@
 Summary:       Advanced Intrusion Detection Environment
+Summary(pl.UTF-8):   Zaawansowany System Wykrywania Włamań (AIDE)
 Name:          aide
-Version:       0.7
-Release:       1
+Version:       0.8
+Release:       0.1
 License:       GPL
 Group:         Applications/System
-Group(de):     Applikationen/System
-Group(pl):     Aplikacje/System
-Source0:       ftp://ftp.linux.hr/pub/aide/%{name}-%{version}.tar.gz
+Source0:       ftp://ftp.cs.tut.fi/pub/src/gnu/%{name}-%{version}.tar.gz
 Source1:       %{name}.conf
-Patch0:                %{name}-cvs20010627.patch.gz
+Source2:       %{name}-check
+Source3:       %{name}.sysconfig
+Patch0:                %{name}-autoconf.patch
 URL:           http://www.cs.tut.fi/~rammer/aide.html
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: flex
+BuildRequires: bison
+BuildRequires: perl-modules
+BuildRequires: gettext-devel
+BuildRequires: glibc-static
 BuildRequires: libgcrypt-static
+BuildRequires: zlib-static
+BuildRequires: kernel-headers
+Requires:      crondaemon
+Requires:      mailx
+Requires:      grep
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/%{name}
 %define                _pkglibdir      /var/lib/%{name}
 
-%prep
-%setup -q -n %{name}-%{version}
-%patch0 -p1
-
 %description
 AIDE creates a database from the regular expression rules that it
 finds from the config file. Once this database is initialized it can
@@ -29,18 +38,37 @@ check the integrity of the file. More algorithms can be added with
 relative ease. All of the usual file attributes can also be checked
 for inconsistencies.
 
+%description -l pl.UTF-8
+AIDE tworzy bazę danych z wyrażeń regularnych, które znajdują się w
+pliku konfiguracyjnym. Gdy baza zostanie zainicjowana można sprawdzać
+integralność plików. Używanych jest kilka algorytmów sprawdzania
+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.
+
+%prep
+%setup -q -b 0
+%patch0 -p1
+
 %build
+rm -f missing
+gettextize --copy --force
+aclocal
+autoconf
+automake -a -c
 %configure \
        --with-config-file=%{_sysconfdir}/aide.conf \
-       --without-zlib
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily,/etc/sysconfig}
+
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-%{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir}}
-%{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/aide
 
 gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
 
@@ -52,8 +80,11 @@ rm -rf $RPM_BUILD_ROOT
 #%files -f %{name}.lang
 %files
 %defattr(644,root,root,755)
-%doc *.gz doc/aide.conf.gz
-%attr(640,root,root) %config(noreplace) %{_sysconfdir}/aide.conf
-%attr(750,root,root) %ghost %{_pkglibdir}
+%doc *.gz doc/aide.conf.gz doc/manual.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}
 %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]/*
This page took 0.069288 seconds and 4 git commands to generate.