perl-SGMLSpm/perl-SGMLSpm.spec

65 lines
1.9 KiB
RPMSpec

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-SGMLSpm
Version: 1.03ii
Release: 6mamba
Summary: A perl class library for parsing the output from SGMLS parsers
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.cpan.org/
Source: http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl >= 2:5.36.0
BuildRequires: perl-devel >= %perl_mayor_ver
Requires: perl >= %perl_mayor_ver
%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
* Mon Apr 17 2023 Sdk Build System <sdk@mambasoft.it> 1.03ii-6mamba
- rebuilt with perl 5.36.0
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.03ii-5mamba
- rebuilt with perl 5.24
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.03ii-4mamba
- perl 5.16 mass rebuild
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.03ii-3mamba
- automatic rebuild by autodist
* Mon May 22 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.03ii-2qilnx
- fixed package group
- install the perl files in the perl_vendorarch directory
* Fri May 13 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.03ii-1qilnx
- package created by autospec