]> git.pld-linux.org Git - packages/aide.git/commitdiff
- version changed to 0.7
authorGrzegorz Sterniczuk <grzegorz@sterniczuk.eu>
Wed, 27 Jun 2001 10:55:28 +0000 (10:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- 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

index 1aa00051e736a84367d5e201dd4cefa6d7297297..d9bf83bc077f6127f0c8f2cbe194d29d96190d2b 100644 (file)
--- 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]/*
This page took 0.08667 seconds and 4 git commands to generate.