Ian Burrell cb1ca1a
Name:           perl-SVN-Simple
Ian Burrell cb1ca1a
Version:        0.27
1ffb17c
Release:        6%{?dist}
Ian Burrell cb1ca1a
Summary:        A simple interface for writing a delta editor
1ffb17c
License:        GPL+ or Artistic
Ian Burrell cb1ca1a
Group:          Development/Libraries
Ian Burrell cb1ca1a
URL:            http://search.cpan.org/dist/SVN-Simple/
Ian Burrell cb1ca1a
Source0:        http://www.cpan.org/modules/by-module/SVN/SVN-Simple-%{version}.tar.gz
Ian Burrell cb1ca1a
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Ian Burrell cb1ca1a
BuildArch:      noarch
Ian Burrell d4dae79
BuildRequires:  perl(ExtUtils::MakeMaker)
Ian Burrell d4dae79
BuildRequires:  perl(Test::More)
Ian Burrell cb1ca1a
BuildRequires:  perl(SVN::Core)
Ian Burrell cb1ca1a
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
%description 
Ian Burrell cb1ca1a
SVN::Simple::Edit wraps the subversion delta editor with
Ian Burrell cb1ca1a
a perl friendly interface and then you could easily drive it for
Ian Burrell cb1ca1a
describing changes to a tree. A common usage is to wrap the commit
Ian Burrell cb1ca1a
editor, so you could make commits to a subversion repository easily.
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
%prep
Ian Burrell cb1ca1a
%setup -q -n SVN-Simple-%{version}
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
%build
Ian Burrell cb1ca1a
%{__perl} Makefile.PL INSTALLDIRS=vendor
Ian Burrell cb1ca1a
make %{?_smp_mflags}
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
%install
Ian Burrell cb1ca1a
rm -rf $RPM_BUILD_ROOT
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
Ian Burrell cb1ca1a
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
%check
Ian Burrell cb1ca1a
make test
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
%clean
Ian Burrell cb1ca1a
rm -rf $RPM_BUILD_ROOT
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
%files
Ian Burrell cb1ca1a
%defattr(-,root,root,-)
Ian Burrell cb1ca1a
%doc CHANGES README
Ian Burrell cb1ca1a
%{perl_vendorlib}/*
Ian Burrell cb1ca1a
%{_mandir}/man3/*
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
%changelog
1ffb17c
* Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.27-6
1ffb17c
- rebuild for new perl
1ffb17c
Ian Burrell d4dae79
* Thu Aug 16 2007 Ian Burrell <ianburrell@gmail.com> - 0.27-5
Ian Burrell d4dae79
- Fix BuildRequires
Ian Burrell d4dae79
Ian Burrell d4dae79
* Mon Sep 11 2006 Ian Burrell <ianburrell@gmail.com> - 0.27-4
Ian Burrell e588f07
- Rebuild for FC6
Ian Burrell e588f07
Ian Burrell d4dae79
* Wed Jun 28 2006 Ian Burrell <ianburrell@gmail.com> - 0.27-3
Ian Burrell cb1ca1a
- Add buildrequires on SVN::Core
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
* Tue Jun 27 2006 Ian Burrell <ianburrell@gmail.com> - 0.27-2
Ian Burrell cb1ca1a
- Fix rpmlint warnings
Ian Burrell cb1ca1a
Ian Burrell cb1ca1a
* Thu Mar 30 2006 Ian Burrell <ianburrell@gmail.com> 0.27-1
Ian Burrell cb1ca1a
- Specfile autogenerated by cpanspec 1.64.