From 2cd0be413d2386d8802d08fcc8fcdf23668f9682 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:31:41 +0100 Subject: [PATCH] specfile and maintainer updated [release 0.17-5mamba;Sun Jul 01 2012] --- README.md | 2 ++ perl-Pod-POM.spec | 71 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 perl-Pod-POM.spec diff --git a/README.md b/README.md index 4acbdb5..79e7862 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Pod-POM +Pod-POM module for Perl. + diff --git a/perl-Pod-POM.spec b/perl-Pod-POM.spec new file mode 100644 index 0000000..732841e --- /dev/null +++ b/perl-Pod-POM.spec @@ -0,0 +1,71 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Pod-POM +Version: 0.17 +Release: 5mamba +Summary: Pod-POM module for Perl +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://www.cpan.org/authors/id/A/AB/ABW/Pod-POM-%{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 +Pod-POM module for Perl. + +%prep +%setup -q -n Pod-POM-%{version} + +%build +perl Makefile.PL +%make +%ifnarch arm +%make test +%endif + +%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 -f $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}" + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Sun Jul 01 2012 Silvan Calarco 0.17-5mamba +- specfile and maintainer updated + +* Wed Nov 05 2008 Silvan Calarco 0.17-4mamba +- automatic rebuild by autodist + +* Wed Jun 25 2008 Tiziana Ferro 0.17-3mamba +- update make macros in specfile +- update Vendor, Distribution, mantainer + +* Tue Feb 01 2005 Silvan Calarco 0.17-2qilnx +- rebuilt to fix a dependency problem with apt + +* Mon Oct 25 2004 Alessandro Ramazzina 0.17-1qilnx +- package created by autospec (rebuilt after SRPM loss) + +* Wed Sep 03 2003 Silvan Calarco 0.15-1qilnx +- First build \ No newline at end of file