Blob Blame History Raw
Name:           perl-SVN-Simple
Version:        0.27
Release:        4%{?dist}
Summary:        A simple interface for writing a delta editor
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/SVN-Simple/
Source0:        http://www.cpan.org/modules/by-module/SVN/SVN-Simple-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(SVN::Core)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description 
SVN::Simple::Edit wraps the subversion delta editor with
a perl friendly interface and then you could easily drive it for
describing changes to a tree. A common usage is to wrap the commit
editor, so you could make commits to a subversion repository easily.

%prep
%setup -q -n SVN-Simple-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;

chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc CHANGES README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Sep 11 2006 Ian M. Burrell <ianburrell@gmail.com> - 0.27-4
- Rebuild for FC6

* Wed Jun 28 2006 Ian M. Burrell <ianburrell@gmail.com> - 0.27-3
- Add buildrequires on SVN::Core

* Tue Jun 27 2006 Ian Burrell <ianburrell@gmail.com> - 0.27-2
- Fix rpmlint warnings

* Thu Mar 30 2006 Ian Burrell <ianburrell@gmail.com> 0.27-1
- Specfile autogenerated by cpanspec 1.64.