File xed.spec of Package xed
Name: xed
Version: 2.0.2
Release: 1%{?dist}
Summary: Simple editor wrapper script for RCS
Group: Productivity/Text/Utilities
License: GPL-2.0
URL: http://www.nightcoder.com/code/xed/
Source0: http://www.nightcoder.com/code/xed/xed-2.0.2.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: rcs
Requires: rcs
%description
xed is a simple editor wrapper script which transparently handles mutual
exclusion (through file locking) and RCS check-in/out. It is designed for
atomic edits, i.e., ones where your typical edit cycle consists of co, vi, ci.
%prep
%setup -q
%build
PERL=%{_bindir}/perl %configure --prefix=%{_usr}
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/xed
%doc %{_mandir}/man1/xed.1*
%doc README COPYING AUTHORS ChangeLog
%changelog
* Mon Jan 09 2012 Stefan Jakobs <stefan.jakobs@rus.uni-stuttgart.de> - 2.0.2
- Initial version