automatic version update by autodist [release 0.41-1mamba;Tue Mar 19 2013]
This commit is contained in:
parent
1d8387b56c
commit
82b8f2d3f1
73
perl-YAML-LibYAML.spec
Normal file
73
perl-YAML-LibYAML.spec
Normal file
@ -0,0 +1,73 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-YAML-LibYAML
|
||||
Version: 0.41
|
||||
Release: 1mamba
|
||||
Summary: An XS Wrapper Module of libyaml
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.cpan.org
|
||||
Source: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-LibYAML-%{version}.tar.gz
|
||||
#Patch0: %{name}-<pck-version>-<patch-description>.patch
|
||||
License: GPL, Artistic
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: perl-devel
|
||||
Requires: perl >= %perl_major_ver
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
An XS Wrapper Module of libyaml.
|
||||
|
||||
%prep
|
||||
%setup -q -n YAML-LibYAML-%{version}
|
||||
#%patch0 -p1
|
||||
|
||||
%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)
|
||||
%doc README
|
||||
|
||||
%changelog
|
||||
* Tue Mar 19 2013 Automatic Build System <autodist@mambasoft.it> 0.41-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Feb 21 2013 Automatic Build System <autodist@mambasoft.it> 0.39-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Nov 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.38-2mamba
|
||||
- perl 5.16 mass rebuild
|
||||
|
||||
* Wed Apr 25 2012 Automatic Build System <autodist@mambasoft.it> 0.38-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun May 22 2011 Automatic Build System <autodist@mambasoft.it> 0.35-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Mar 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.34-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user