89 lines
2.6 KiB
RPMSpec
89 lines
2.6 KiB
RPMSpec
Name: perl-YAML
|
|
Version: 0.58
|
|
Release: 3%{?dist}
|
|
Summary: YAML Ain't Markup Language (tm)
|
|
License: GPL or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/YAML/
|
|
Source0: http://www.cpan.org/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: perl(Test::Base) >= 0.49
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
The YAML.pm module implements a YAML Loader and Dumper based on the
|
|
YAML 1.0 specification. http://www.yaml.org/spec/
|
|
YAML is a generic data serialization language that is optimized for
|
|
human readability. It can be used to express the data structures of
|
|
most modern programming languages, including Perl.
|
|
For information on the YAML syntax, please refer to the YAML
|
|
specification.
|
|
|
|
%prep
|
|
%setup -q -n YAML-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
|
|
|
|
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes README
|
|
%{_bindir}/ysh
|
|
%{perl_vendorlib}/YAML*
|
|
%{perl_vendorlib}/Test/YAML*
|
|
%{_mandir}/man1/ysh.1*
|
|
%{_mandir}/man3/YAML*.3*
|
|
%{_mandir}/man3/Test::YAML*.3*
|
|
|
|
%changelog
|
|
* Sat May 20 2006 Steven Pritchard <steve@kspei.com> 0.58-3
|
|
- Rebuild.
|
|
|
|
* Tue May 09 2006 Steven Pritchard <steve@kspei.com> 0.58-2
|
|
- Drop testmore patch.
|
|
- Catch Test::YAML module and man page in file list.
|
|
|
|
* Thu May 04 2006 Steven Pritchard <steve@kspei.com> 0.58-1
|
|
- Update to 0.58.
|
|
- Small spec cleanups.
|
|
|
|
* Thu Apr 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.39-2
|
|
- 0.39.
|
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
- rebuilt
|
|
|
|
* Sat May 15 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.35-0.fdr.5
|
|
- Avoid creation of the perllocal.pod file (make pure_install).
|
|
|
|
* Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.4
|
|
- Require perl(:MODULE_COMPAT_*).
|
|
- Cosmetic tweaks (bug 1383).
|
|
|
|
* Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.3
|
|
- Reduce directory ownership bloat.
|
|
|
|
* Tue Nov 18 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.2
|
|
- Use INSTALLARCHLIB workaround in %%install.
|
|
|
|
* Wed Sep 3 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.1
|
|
- First build.
|