List of packages

Contents of the rpm spec file perl-YAML/perl-YAML.spec

Current spec file according to the subversion:
# $Id: perl-YAML.spec 6001 2007-11-19 02:02:15Z dag $
# Authority: dries
# Upstream: Brian Ingerson 

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

%define real_name YAML

Summary: Machine parseable data serialization format
Name: perl-YAML
Version: 0.66
Release: 1
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/YAML/

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

BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl >= 1:5.6.1

%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
echo "y" | %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%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}/man1/ysh.1*
%doc %{_mandir}/man3/Test::YAML.3pm*
%doc %{_mandir}/man3/YAML.3pm*
%doc %{_mandir}/man3/YAML::*.3pm*
%{_bindir}/ysh
%dir %{perl_vendorlib}/Test/
%{perl_vendorlib}/Test/YAML.pm
%{perl_vendorlib}/YAML/
%{perl_vendorlib}/YAML.pm

%changelog
* Tue Nov 06 2007 Dag Wieers  - 0.66-1
- Updated to release 0.66.

* Mon Sep 18 2006 Dries Verachtert  - 0.62-1
- Updated to release 0.62.

* Sun Mar 26 2006 Dries Verachtert  - 0.58-1
- Updated to release 0.58.

* Wed Jun  8 2005 Dries Verachtert  - 0.39-1
- Updated to release 0.39.

* Fri Mar  4 2005 Dries Verachtert  - 0.36-1
- Updated to release 0.36.

* Thu Jul 22 2004 Dries Verachtert  - 0.35-1
- Initial package.

General info about perl-YAML/perl-YAML.spec
Info for developers and experts about perl-YAML/perl-YAML.spec (with buildlogs)