From ebb818261e84edfaf55d00d2c74620809893e9f5 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:30:08 +0100 Subject: [PATCH] update to 0.9.6 [release 0.9.6-1mamba;Sun Apr 28 2013] --- README.md | 2 ++ perl-PatchReader.spec | 62 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 perl-PatchReader.spec diff --git a/README.md b/README.md index 7a8c117..cb106cf 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-PatchReader +Utilities to read and manipulate patches and CVS. + diff --git a/perl-PatchReader.spec b/perl-PatchReader.spec new file mode 100644 index 0000000..71df8e8 --- /dev/null +++ b/perl-PatchReader.spec @@ -0,0 +1,62 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-PatchReader +Version: 0.9.6 +Release: 1mamba +Summary: Utilities to read and manipulate patches and CVS +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/T/TM/TMANNERM/PatchReader-%{version}.tar.gz +License: GPL +BuildRoot: %{_tmppath}/perl-root +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel >= %perl_major_ver +## AUTOBUILDREQ-END + +%description +Utilities to read and manipulate patches and CVS. + +%prep +%setup -q -n PatchReader-%{version} + +%build +perl Makefile.PL +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%make pure_install DESTDIR=%{buildroot} +packlist=`find %{buildroot} -name .packlist` +[[ -z "$packlist" ]] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Sun Apr 28 2013 Automatic Build System 0.9.6-1mamba +- update to 0.9.6 + +* Wed Nov 05 2008 Silvan Calarco 0.9.5-3mamba +- automatic rebuild by autodist + +* Wed Jul 02 2008 Tiziana Ferro 0.9.5-2mamba +- update Vendor, distribution, mantainer, macros + +* Wed Feb 09 2005 Silvan Calarco 0.9.5-1qilnx +- package created by autospec