File perl-YAML-Syck.spec of Package perl-YAML-Syck

#
# spec file for package perl-YAML-Syck (Version 0.95)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           perl-YAML-Syck
Version:        0.95
Release:        1
%define modname	YAML-Syck
#
License:        X11/MIT
Group:          Development/Libraries/Perl
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       perl = %{perl_version}
BuildRequires:  perl
#
URL:            http://search.cpan.org/~audreyt/
#               http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/YAML-Syck-0.95.tar.gz
Source:         %{modname}-%{version}.tar.bz2
Summary:        A fast, lightweight YAML loader and dumper library

%description
YAML::Syck is a fast, lightweight YAML loader and dumper library The
module interfaces libsyck.



Authors:
--------
    Audrey Tang <cpan@audreyt.org>

%prep
%setup -q -n %{modname}-%{version}

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make

%check
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)
/var/adm/perl-modules/%{name}
%dir %{perl_vendorarch}/JSON/
%{perl_vendorarch}/JSON/Syck.pm
%dir %{perl_vendorarch}/YAML/
%{perl_vendorarch}/YAML/Syck.pm
%dir %{perl_vendorarch}/YAML/Dumper/
%{perl_vendorarch}/YAML/Dumper/Syck.pm
%dir %{perl_vendorarch}/YAML/Loader/
%{perl_vendorarch}/YAML/Loader/Syck.pm
%dir %{perl_vendorarch}/auto/YAML/
%dir %{perl_vendorarch}/auto/YAML/Syck/
%{perl_vendorarch}/auto/YAML/Syck/.packlist
%{perl_vendorarch}/auto/YAML/Syck/Syck.bs
%{perl_vendorarch}/auto/YAML/Syck/Syck.so
%{_mandir}/man3/JSON::Syck.3pm*
%{_mandir}/man3/YAML::Syck.3pm*
%doc Changes COMPATIBILITY COPYING README

%changelog
* Mon Aug 06 2007 - mrueckert@suse.de
- initial package of version 0.95
  (based on the buildservice package from dmacvicar)
openSUSE Build Service is sponsored by