%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-SGMLSpm Version: 1.03ii Release: 5mamba Summary: A perl class library for parsing the output from SGMLS parsers Group: Development/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.cpan.org Source: http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-%{version}.tar.gz License: GPL BuildRequires: perl-devel >= %perl_mayor_ver Requires: perl >= %perl_mayor_ver BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A perl class library for parsing the output from SGMLS parsers. %prep %setup -q -n SGMLSpm %build %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} install -d %{buildroot}{%_bindir,%perl_vendorarch} make \ BINDIR=%{buildroot}%{_bindir} \ PERL5DIR=%{buildroot}%{perl_vendorarch} %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/sgmlspl %dir %{perl_vendorarch}/SGMLS %{perl_vendorarch}/* %doc BUGS COPYING ChangeLog README TODO %changelog * Wed Nov 09 2016 Silvan Calarco 1.03ii-5mamba - rebuilt with perl 5.24 * Tue Nov 13 2012 Silvan Calarco 1.03ii-4mamba - perl 5.16 mass rebuild * Wed Nov 05 2008 Silvan Calarco 1.03ii-3mamba - automatic rebuild by autodist * Mon May 22 2006 Davide Madrisan 1.03ii-2qilnx - fixed package group - install the perl files in the perl_vendorarch directory * Fri May 13 2005 Silvan Calarco 1.03ii-1qilnx - package created by autospec