General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

perl-YAML-LibYAML spec file : Dries RPM Repository

Back to the perl-YAML-LibYAML rpms

Current spec in pydar2:


# $Id: perl-YAML-LibYAML.spec 5957 2007-11-04 17:57:33Z dag $
# Authority: dag

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name YAML-LibYAML
%define real_version 0.18

Summary: Perl module that implements YAML using XS and libyaml
Name: perl-YAML-LibYAML
Version: 0.26
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/YAML-LibYAML/

Source: http://www.cpan.org/modules/by-module/YAML/YAML-LibYAML-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl >= 2:5.8.3 

%description
perl-YAML-LibYAML is a Perl module that implements YAML using XS and libyaml.

This package contains the following Perl module:

    YAML::LibYAML

%prep
%setup -n %{real_name}-%{version}

%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/YAML::XS.3pm*
%doc %{_mandir}/man3/YAML::XS::LibYAML.3pm*
%dir %{perl_vendorarch}/YAML/
%{perl_vendorarch}/YAML/LibYAML.pm
%{perl_vendorarch}/YAML/XS/
%{perl_vendorarch}/YAML/XS.pm
%dir %{perl_vendorarch}/auto/YAML/
%{perl_vendorarch}/auto/YAML/LibYAML/
%{perl_vendorarch}/auto/YAML/XS/
%changelog
* Sun Nov 04 2007 Dag Wieers  - 0.26-1
- Initial package. (using DAR)