File perl-YAML.spec of Package perl-YAML

#
# spec file for package perl-YAML (Version 0.66)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-YAML
BuildRequires:  perl-Test-Base
Url:            http://search.cpan.org/~ingy/YAML
License:        Artistic License
Group:          Development/Languages/Perl
Requires:       perl = %{perl_version} 
AutoReqProv:    on
Summary:        YAML - YAML Ain't Markup Language (tm)
Version:        0.66
Release:        1
Source:         YAML-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
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.



Authors:
--------
    Brian Ingerson <INGY@cpan.org>

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

%build
perl Makefile.PL
make

%check
make test

%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README MANIFEST Changes
%dir %{perl_vendorlib}/YAML
%dir %{perl_vendorarch}/auto/YAML
/usr/bin/ysh
%dir %{perl_vendorlib}/Test
%{perl_vendorlib}/Test/YAML.pm
%{perl_vendorlib}/YAML.pm
%{perl_vendorlib}/YAML/Base.pm
%{perl_vendorlib}/YAML/Dumper.pm
%dir %{perl_vendorlib}/YAML/Dumper
%{perl_vendorlib}/YAML/Dumper/Base.pm
%{perl_vendorlib}/YAML/Error.pm
%{perl_vendorlib}/YAML/Loader.pm
%dir %{perl_vendorlib}/YAML/Loader
%{perl_vendorlib}/YAML/Loader/Base.pm
%{perl_vendorlib}/YAML/Marshall.pm
%{perl_vendorlib}/YAML/Node.pm
%{perl_vendorlib}/YAML/Tag.pm
%{perl_vendorlib}/YAML/Types.pm
%{perl_vendorarch}/auto/YAML/.packlist
%doc %{_mandir}/man1/ysh.1.gz
%doc %{_mandir}/man3/YAML.3pm.gz
%doc %{_mandir}/man3/YAML::Base.3pm.gz
%doc %{_mandir}/man3/YAML::Dumper.3pm.gz
%doc %{_mandir}/man3/YAML::Dumper::Base.3pm.gz
%doc %{_mandir}/man3/YAML::Error.3pm.gz
%doc %{_mandir}/man3/YAML::Loader.3pm.gz
%doc %{_mandir}/man3/YAML::Loader::Base.3pm.gz
%doc %{_mandir}/man3/YAML::Marshall.3pm.gz
%doc %{_mandir}/man3/YAML::Node.3pm.gz
%doc %{_mandir}/man3/YAML::Tag.3pm.gz
%doc %{_mandir}/man3/YAML::Types.3pm.gz
%doc %{_mandir}/man3/Test::YAML.3pm.gz
/var/adm/perl-modules/%{name}

%changelog
* Mon Oct 27 2008 cwh@suse.de
- version: 0.66
  * Blessed code refs with LoadCode=0 still get blessed. rafl++
* Tue Jul 24 2007 cwh@suse.de
- version 0.65
  * \z is really \0
  * Speed up regexp loading. audreyt++
- version 0.64
  * Better support for loading regexps. audreyt++
- version 0.63
  * Don't emit nodes blessed into '' in the new tag scheme, and improve semantics
  of loading such nodes.
  * New support for dumping/loading regexps.
* Thu Oct 26 2006 cwh@suse.de
- version: 0.62
  - Patch from rgs for Catalyst users
- version: 0.61
  - New CGI.pm made test fail.
- version: 0.60
  - Changed object tag format in non backwards compatible way
  - Removed support for folded scalar emission
  - Added new tests
  - Sync with YAML::Syck
- version: 0.58
  - Fixed bug reported by Slaven Rezic on 5.8.0
  - Fixed a ysh bug reported on rt. 17589
- version: 0.57
  - Add obligatory '1;' to end of each module.
- version: 0.56
  - Add Module::Install::TestBase support
- version: 0.55
  - Load YAML::Node because Module::Build expects it to be loaded.
  We can undo this when Module::Build starts loading it for itself.
- version: 0.54
  - Remove dependency on Class::Spiffy (and/or Spiffy).
* Fri Feb 17 2006 cwh@suse.de
- Fixed dependency (wrong version of perl-Class-Spiffy)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 20 2006 cwh@suse.de
  version 0.53
- Depend on Class::Spiffy instead of Spiffy. No source filtering.
  version 0.52
- Error in Spiffy-0.26 causing problems. Require 0.27
* Mon Jan 16 2006 cwh@suse.de
  version 0.51
- Tests pass on win32 and cygwin
- Don't gpg sign the distribution tarball
* Fri Jan 13 2006 cwh@suse.de
  version 0.50
- Major refactoring of YAML.pm
- Completely OO with same old functional UI
- Support the $YAML::Stringify option which most be on for objects to get
  stringified. Otherwise dump the object.
- Can dump overloaded objects now.
- Completely refactor test suite using Test::Base
- Create Test::YAML
- Make test framework compatible with YAML::Syck - Test-Base-0.45
- Reviewed all rt bugs. fixed many
- Reviewed all emailed bugs. Fixed many.
- Helped audrey complete YAML::Syck and worked on interoperability issues
- Test well known yaml docs like svk and META.yml
- Eliminate unsafe string evals
- Can use with autouse. Spiffy-0.25
- Support YAML::Marshall to help classes that want to do their own marshalling
- Make objects tags configurable
- -M option for ysh to test other implementations like YAML::Syck
* Wed Sep 28 2005 dmueller@suse.de
- add norootforbuild
* Tue Jul 19 2005 lmuelle@suse.de
- Update to 0.39.
* Thu Dec 04 2003 cwh@suse.de
- fixed filelist (vendorarch)
* Thu Dec 04 2003 cwh@suse.de
- initial revision
openSUSE Build Service is sponsored by