automatic update by autodist [release 0.987-1mamba;Thu Oct 24 2013]
This commit is contained in:
parent
ea5969ba4c
commit
c6032b23d5
@ -1,2 +1,4 @@
|
|||||||
# perl-Sub-Exporter
|
# perl-Sub-Exporter
|
||||||
|
|
||||||
|
ACHTUNG! If you're not familiar with Exporter or exporting, read Sub::Exporter::Tutorial first!
|
||||||
|
|
||||||
|
80
perl-Sub-Exporter.spec
Normal file
80
perl-Sub-Exporter.spec
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-Sub-Exporter
|
||||||
|
Version: 0.987
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Sub::Exporter - a sophisticated exporter for custom-built routines
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-%{version}.tar.gz
|
||||||
|
License: GPL, Artistic
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
BuildRequires: perl-devel >= %perl_major_ver
|
||||||
|
BuildRequires: perl-Package-Generator
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: perl-Data-OptList
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
BuildRequires: perl-Params-Util
|
||||||
|
BuildRequires: perl-Sub-Install
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
ACHTUNG! If you're not familiar with Exporter or exporting, read Sub::Exporter::Tutorial first!
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q -n Sub-Exporter-%{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 $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}"
|
||||||
|
rm -f .packlist
|
||||||
|
|
||||||
|
%files -f .packlist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Oct 24 2013 Automatic Build System <autodist@mambasoft.it> 0.987-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Mon Jun 17 2013 Automatic Build System <autodist@mambasoft.it> 0.986-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Feb 21 2013 Automatic Build System <autodist@mambasoft.it> 0.985-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.984-2mamba
|
||||||
|
- perl 5.16 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jun 07 2012 Automatic Build System <autodist@mambasoft.it> 0.984-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Feb 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.982-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.980-2mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Mon Oct 20 2008 gil <puntogil@libero.it> 0.980-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user