From 7c6e55eb38defaf7f11f78def9b37a75a4adde33 Mon Sep 17 00:00:00 2001 From: Grzegorz Sterniczuk Date: Wed, 27 Jun 2001 10:55:28 +0000 Subject: [PATCH] - version changed to 0.7 - added cvs patch aide-cvs20010627.patch.gz - added Source1: aide.conf - changed Source0 - removed using %find_lang macro - added sample aide.conf to %doc - release 1 Changed files: aide.spec -> 1.3 --- aide.spec | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/aide.spec b/aide.spec index 1aa0005..d9bf83b 100644 --- a/aide.spec +++ b/aide.spec @@ -1,23 +1,24 @@ Summary: Advanced Intrusion Detection Environment Name: aide -Version: 20010624 -Release: 0.1 +Version: 0.7 +Release: 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: %{name}-%{version}.tar.gz +Source0: ftp://ftp.linux.hr/pub/aide/%{name}-%{version}.tar.gz +Source1: %{name}.conf +Patch0: %{name}-cvs20010627.patch.gz URL: http://www.cs.tut.fi/~rammer/aide.html -#Source1: %{name}.conf BuildRequires: libgcrypt-static BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _sysconfdir /etc/%{name} +%define _sysconfdir /etc/%{name} +%define _pkglibdir /var/lib/%{name} %prep %setup -q -n %{name}-%{version} -#%patch0 -p1 +%patch0 -p1 %description AIDE creates a database from the regular expression rules that it @@ -38,17 +39,21 @@ for inconsistencies. rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +%{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir}} +%{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} -gzip -9nf AUTHORS ChangeLog NEWS README +gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf -%find_lang %{name} +#%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files -f %{name}.lang +#%files -f %{name}.lang +%files %defattr(644,root,root,755) -%doc *.gz -#%config(noreplace) %{_sysconfdir}/aide.conf +%doc *.gz doc/aide.conf.gz +%attr(640,root,root) %config(noreplace) %{_sysconfdir}/aide.conf +%attr(750,root,root) %ghost %{_pkglibdir} %attr(755,root,root) %{_bindir}/aide %{_mandir}/man[15]/* -- 2.44.0