File perl-YAML-openSUSE_10.2.spec of Package perl-YAML
# $Id: perl-YAML.spec 5676 2007-08-02 18:53:59Z dries $
# Authority: dries
# Upstream: Brian Ingerson <ingy$cpan,org>
%define real_name YAML
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
Summary: Machine parseable data serialization format
Name: perl-YAML
Version: 0.62
%define releasesuffix opensuse10.2
Release: 1
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/YAML/
Packager: Dries Verachtert <dries@ulyssis.org>
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
Source: http://www.cpan.org/modules/by-module/YAML/YAML-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: perl, perl(ExtUtils::MakeMaker)
%description
YAML is an abbreviation of YAML Ain't Markup Language. It's a straightforward
machine-parseable data serialization format.
%prep
%setup -n %{real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -f %{buildroot}%{perl_archlib}/perllocal.pod
%{__rm} -f %{buildroot}%{perl_vendorarch}/auto/*/.packlist
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc Changes README
%doc %{_mandir}/man3/*
%doc %{_mandir}/man1/*
%{_bindir}/*
%{perl_vendorlib}/YAML.*
%{perl_vendorlib}/YAML/*
%{perl_vendorlib}/Test/YAML.pm
%changelog
* Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.62-1
- Updated to release 0.62.
* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.58-1
- Updated to release 0.58.
* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 0.39-1.2
- Rebuild for Fedora Core 5.
* Wed Jun 8 2005 Dries Verachtert <dries@ulyssis.org> - 0.39-1
- Updated to release 0.39.
* Fri Mar 4 2005 Dries Verachtert <dries@ulyssis.org> - 0.36-1
- Updated to release 0.36.
* Thu Jul 22 2004 Dries Verachtert <dries@ulyssis.org> - 0.35-1
- Initial package.