diff --git a/README.md b/README.md index aab93a4..6568082 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-SGMLSpm +A perl class library for parsing the output from SGMLS parsers. + diff --git a/perl-SGMLSpm.spec b/perl-SGMLSpm.spec new file mode 100644 index 0000000..8eb2f68 --- /dev/null +++ b/perl-SGMLSpm.spec @@ -0,0 +1,55 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-SGMLSpm +Version: 1.03ii +Release: 4mamba +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 +* 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