perl-XML-RSS/perl-XML-RSS.spec

115 lines
3.7 KiB
RPMSpec

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-XML-RSS
Version: 1.59
Release: 1mamba
Summary: XML::RSS - Perl module to manage RDF Site summary (RSS) files
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.cpan.org
Source: http://www.cpan.org/modules/by-module/XML/XML-RSS-%{version}.tar.gz
License: GPL
BuildRequires: perl-devel >= %perl_major_ver
BuildRequires: perl-XML-Parser
BuildRequires: perl-Test-Manifest
BuildRequires: perl-DateTime
BuildRequires: perl-DateTime-Format-Mail
BuildRequires: perl-DateTime-Format-W3CDTF
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# >>> BuildRequires: perl-DateTime-Format-Mail
# >>> BuildRequires: perl-DateTime-Format-W3CDTF
%description
This module was created to help those who need to manage RDF Site Summary (RSS) files.
It makes quick work of creating, updating, and saving RSS files.
%prep
%setup -q -n XML-RSS-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
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 Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 1.59-1mamba
- automatic update by autodist
* Thu Jan 07 2016 Automatic Build System <autodist@mambasoft.it> 1.57-1mamba
- automatic update by autodist
* Mon Dec 08 2014 Automatic Build System <autodist@mambasoft.it> 1.56-1mamba
- automatic update by autodist
* Sat May 31 2014 Automatic Build System <autodist@mambasoft.it> 1.55-1mamba
- automatic update by autodist
* Sun Jun 09 2013 Automatic Build System <autodist@mambasoft.it> 1.54-1mamba
- automatic version update by autodist
* Wed May 22 2013 Automatic Build System <autodist@mambasoft.it> 1.52-1mamba
- automatic version update by autodist
* Sat Apr 13 2013 Automatic Build System <autodist@mambasoft.it> 1.50-1mamba
- automatic version update by autodist
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.49-2mamba
- perl 5.16 mass rebuild
* Sun May 22 2011 Automatic Build System <autodist@mambasoft.it> 1.49-1mamba
- automatic update by autodist
* Sat Mar 19 2011 Automatic Build System <autodist@mambasoft.it> 1.48-1mamba
- automatic update by autodist
* Thu Oct 15 2009 Automatic Build System <autodist@mambasoft.it> 1.46-1mamba
- automatic update by autodist
* Fri Aug 28 2009 Automatic Build System <autodist@mambasoft.it> 1.45-1mamba
- automatic update by autodist
* Sat Apr 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.44-1mamba
- automatic update by autodist
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.43-1mamba
- automatic update by autodist
* Sun Jan 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.42-1mamba
- automatic update by autodist
* Fri Jan 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.41-1mamba
- automatic update by autodist
* Thu Nov 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.31-2mamba
- automatic rebuild by autodist
* Fri Nov 30 2007 Aleph0 <aleph0@openmamba.org> 1.31-1mamba
- update to 1.31
* Tue Oct 26 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.05-1qilnx
- package created by autospec