rpms/perl-PatchReader/devel perl-PatchReader.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Paul W. Frields (pfrields) fedora-extras-commits at redhat.com
Sun Dec 11 23:50:44 UTC 2005


Author: pfrields

Update of /cvs/extras/rpms/perl-PatchReader/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2260/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-PatchReader.spec 
Log Message:
auto-import perl-PatchReader-0.9.5-3 on branch devel from perl-PatchReader-0.9.5-3.src.rpm


--- NEW FILE perl-PatchReader.spec ---
Name:		perl-PatchReader
Version: 	0.9.5
Release: 	3%{?dist}
Summary:	Utilities to read and manipulate patches and CVS

Group: 		Development/Libraries
License: 	MPL
URL: 		http://search.cpan.org/dist/PatchReader/
Source: 	http://www.cpan.org/authors/id/J/JK/JKEISER/PatchReader-%{version}.tar.gz
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch: 	noarch
BuildRequires: 	perl >= 1:5.6.1
BuildRequires:	perl(File::Temp)
Requires: 	cvs
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
PatchReader is a set of utilities for reading in, transforming, and doing
various other things with a patch.  It basically allows you to create a
chain of readers that can read a patch, remove files from a patch, add
CVS context, fix up the patch root according to CVS, and output the patch
as raw unified or through a template processor (used in some places to
output a patch as HTML).


%prep
%setup -q -n PatchReader-%{version}
chmod 644 Changes README
find . -name "*.pm" | xargs chmod 644
%{__perl} -pi -e 's/\r//g' Changes README


%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+w $RPM_BUILD_ROOT/*


%check
make test


%clean
%{__rm} -rf ${RPM_BUILD_ROOT}


%files
%defattr(-, root, root, -)
%doc Changes README
%{_mandir}/man3/PatchReader.*
%{perl_vendorlib}/PatchReader.pm
%{perl_vendorlib}/PatchReader/


%changelog
* Sun Dec 11 2005 Paul W. Frields <stickster at gmail.com> - 0.9.5-3
- Final cosmetic tweaks

* Sat Dec 10 2005 Paul W. Frields <stickster at gmail.com> - 0.9.5-2
- Get in line with fedora-rpmdevtools standards

* Thu Dec  8 2005 Paul W. Frields <stickster at gmail.com> - 0.9.5-1
- Initial RPM version for Fedora Extras, based on Dag spec



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-PatchReader/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Dec 2005 23:50:09 -0000	1.1
+++ .cvsignore	11 Dec 2005 23:50:42 -0000	1.2
@@ -0,0 +1 @@
+PatchReader-0.9.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-PatchReader/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Dec 2005 23:50:09 -0000	1.1
+++ sources	11 Dec 2005 23:50:42 -0000	1.2
@@ -0,0 +1 @@
+8aca86b807aec3c82dcb981c7730f022  PatchReader-0.9.5.tar.gz




More information about the scm-commits mailing list