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