File cvs-syncmail.spec of Package cvs-syncmail
Name: cvs-syncmail
Version: 2.3
Release: 1
Summary: A notification program for CVS checkins
License: Python
Group: Development/Tools/Version Control
Source: syncmail-%{version}.tar.bz2
Patch: 01_encoding.patch
Patch1: 02_spelling.patch
Patch2: 03_dir_issues.patch
Patch3: 04_man_page.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
syncmail is a script that is used to provide email notification of
changes to a CVS repository. For more information, including
installation instructions, read the syncmail(1) manpage, or type
"syncmail --help".
Authors:
--------
Barry Warsaw <barry@python.org>
Fred Drake <fdrake@acm.org>
%prep
%setup -q -n syncmail-%{version}
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%install
rm -rf %{buildroot}
install -D -m 0755 syncmail $RPM_BUILD_ROOT/usr/bin/syncmail
install -D -m 0644 doc/syncmail.1 $RPM_BUILD_ROOT%{_mandir}/man1/syncmail.1
install -D -m 0755 branchctl $RPM_BUILD_ROOT/usr/bin/branchctl
install -D -m 0644 doc/branchctl.1 $RPM_BUILD_ROOT%{_mandir}/man1/branchctl.1
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README LICENSE
/usr/bin/syncmail
/usr/bin/branchctl
%{_mandir}/man1/syncmail.1*
%{_mandir}/man1/branchctl.1*
%changelog