SPECS: preload.spec - fix build, FHS, BR, remove COPYING from doc
glen
glen at pld-linux.org
Sun Oct 23 02:20:11 CEST 2005
Author: glen Date: Sun Oct 23 00:20:11 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fix build, FHS, BR, remove COPYING from doc
---- Files affected:
SPECS:
preload.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/preload.spec
diff -u SPECS/preload.spec:1.1 SPECS/preload.spec:1.2
--- SPECS/preload.spec:1.1 Sun Oct 23 01:54:04 2005
+++ SPECS/preload.spec Sun Oct 23 02:20:05 2005
@@ -2,18 +2,20 @@
Summary: Adaptive readahead daemon
Name: preload
Version: 0.2
-Release: 0.1
+Release: 0.2
License: GPL
Group: Daemons
Source0: http://dl.sourceforge.net/preload/%{name}-%{version}.tar.gz
# Source0-md5: 8df1c86c43b8976dc6ee5d45e8ac901c
+Patch0: %{name}-build.patch
URL: http://preload.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: glib2-devel
BuildRequires: rpmbuild(macros) >= 1.228
Requires(post,preun): /sbin/chkconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _localstatedir /var/lib
-
%description
preload is an adaptive readahead daemon. It monitors applications that
users run, and by analyzing this data, predicts what applications
@@ -22,8 +24,13 @@
%prep
%setup -q
+%patch0 -p1
%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure
%{__make}
@@ -33,6 +40,8 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/preload
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -48,7 +57,7 @@
%files
%defattr(644,root,root,755)
-%doc README AUTHORS COPYING ChangeLog TODO THANKS NEWS
+%doc README AUTHORS ChangeLog TODO THANKS NEWS
%doc doc/*.txt
%attr(755,root,root) %{_sbindir}/preload
%config %{_sysconfdir}/preload.conf
@@ -57,7 +66,7 @@
%attr(754,root,root) /etc/rc.d/init.d/preload
%attr(644,root,root) /etc/logrotate.d/preload
%attr(600,root,root) %verify(not md5 mtime size) %config(missingok,noreplace) %{_localstatedir}/log/preload.log
-%attr(660,root,root) %dir %{_localstatedir}/preload
+%attr(770,root,root) %dir %{_localstatedir}/lib/preload
%attr(660,root,root) %verify(not md5 mtime size) %ghost %config(missingok,noreplace) %{_localstatedir}/preload/preload.state
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -66,6 +75,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/10/23 00:20:05 glen
+- fix build, FHS, BR, remove COPYING from doc
+
Revision 1.1 2005/10/22 23:54:04 glen
- new
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/preload.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list