]> git.pld-linux.org Git - packages/changetrack.git/commitdiff
- init
authorMichał 'Wolvverine' Panasiewicz <wolvverine@pld-linux.org>
Sun, 15 Mar 2009 20:35:42 +0000 (20:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    changetrack.spec -> 1.1

changetrack.spec [new file with mode: 0644]

diff --git a/changetrack.spec b/changetrack.spec
new file mode 100644 (file)
index 0000000..6b7eab4
--- /dev/null
@@ -0,0 +1,62 @@
+#
+# 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}
This page took 0.084214 seconds and 4 git commands to generate.