]> git.pld-linux.org Git - packages/changetrack.git/blame - changetrack.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/changetrack.git] / changetrack.spec
CommitLineData
ae65376c
MWP
1#
2# TODO: default config for PLD - edit /etc/changetrack.conf
3
4%define src_name change
5%define src_ver 4_5
6
7Summary: Changetrack
8Name: changetrack
9Version: 4.5
10Release: 1
11License: GPL
12Group: Applications
13Source0: http://dl.sourceforge.net/changetrack/%{src_name}%{src_ver}.tar.gz
14# Source0-md5: d37ec3c73de430972f7f5729ca3b8e74
15Source1: %{name}-cron
16URL: http://changetrack.sourceforge.net/
17BuildRequires: rpm-perlprov
18Requires: crondaemon
ae65376c
MWP
19Requires: perl-modules
20Requires: perl-tools
21Requires: rcs
22Requires: smtpdaemon
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27changetrack is a program to monitor changes to a bunch of files. If
28files are modify one day, and the machine start working incorrectly
29some days later, changetrack can provide information on which files
30were modified, and help locate the problem. Changetrack will also
31allow recovery of the files from any stage.
32
33This program makes human-readable output, and also uses RCS to allow
34recovery of any stage of revision.
35
36%prep
37%setup -q -n %{name}
38
ae65376c
MWP
39%install
40rm -rf $RPM_BUILD_ROOT
41
42install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir},/etc/cron.d,%{_var}/lib/%{name}}
43
44install changetrack $RPM_BUILD_ROOT%{_bindir}
693ceab1 45install changetrack.man $RPM_BUILD_ROOT%{_mandir}/man1/changetrack.1
ae65376c 46install changetrack.conf $RPM_BUILD_ROOT%{_sysconfdir}
693ceab1 47install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/%{name}
ae65376c
MWP
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%doc README
55%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
56%attr(755,root,root) %{_bindir}/%{name}
57%config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
693ceab1 58%{_mandir}/man1/changetrack.1*
ae65376c 59%dir %{_var}/lib/%{name}
This page took 0.068619 seconds and 4 git commands to generate.