Author: wolvverine Date: Sun Mar 15 20:35:47 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - init
---- Files affected: SPECS: changetrack.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/changetrack.spec diff -u /dev/null SPECS/changetrack.spec:1.1 --- /dev/null Sun Mar 15 21:35:47 2009 +++ SPECS/changetrack.spec Sun Mar 15 21:35:42 2009 @@ -0,0 +1,74 @@ +# $Revision$, $Date$ +# +# TODO: default config for PLD - edit /etc/changetrack.conf + +%define src_name change +%define src_ver 4_5 + +Summary: Changetrack +Name: changetrack +Version: 4.5 +Release: 1 +License: GPL +Group: Applications +Source0: http://dl.sourceforge.net/changetrack/%{src_name}%{src_ver}.tar.gz +# Source0-md5: d37ec3c73de430972f7f5729ca3b8e74 +Source1: %{name}-cron +URL: http://changetrack.sourceforge.net/ +BuildRequires: rpm-perlprov +Requires: crondaemon +Requires: perl-File-NCopy +Requires: perl-modules +Requires: perl-tools +Requires: rcs +Requires: smtpdaemon +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +changetrack is a program to monitor changes to a bunch of files. If +files are modify one day, and the machine start working incorrectly +some days later, changetrack can provide information on which files +were modified, and help locate the problem. Changetrack will also +allow recovery of the files from any stage. + +This program makes human-readable output, and also uses RCS to allow +recovery of any stage of revision. + +%prep +%setup -q -n %{name} + +%build + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir},/etc/cron.d,%{_var}/lib/%{name}} + +install changetrack $RPM_BUILD_ROOT%{_bindir} +install changetrack.man $RPM_BUILD_ROOT%{_mandir}/man1 +install changetrack.conf $RPM_BUILD_ROOT%{_sysconfdir} +install %SOURCE1 $RPM_BUILD_ROOT/etc/cron.d/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf +%attr(755,root,root) %{_bindir}/%{name} +%config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name} +%{_mandir}/man1/* +%dir %{_var}/lib/%{name} + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <feedb...@pld-linux.org> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2009/03/15 20:35:42 wolvverine +- init + + ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit