]> git.pld-linux.org Git - packages/perl-YAML-Syck.git/commitdiff
- new AC-STABLE auto/ac/perl-YAML-Syck-0_64-1
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 25 Jul 2006 21:36:33 +0000 (21:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-YAML-Syck.spec -> 1.1

perl-YAML-Syck.spec [new file with mode: 0644]

diff --git a/perl-YAML-Syck.spec b/perl-YAML-Syck.spec
new file mode 100644 (file)
index 0000000..c2b8aa3
--- /dev/null
@@ -0,0 +1,72 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    YAML
+%define        pnam    Syck
+Summary:       YAML::Syck - Fast, lightweight YAML loader and dumper
+Name:          perl-YAML-Syck
+Version:       0.64
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-authors/id/A/AU/AUDREYT/YAML-Syck-%{version}.tar.gz
+# Source0-md5: 51054b5da582e381158f10276f82ae15
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-YAML >= 0.60
+%endif
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides a Perl interface to the libsyck data
+serialization library. It exports the Dump and Load functions for
+converting Perl data structures to YAML strings, and the other way
+around.
+
+NOTE: If you are working with other language's YAML/Syck bindings
+(such as Ruby), please set $YAML::Syck::ImplicitTyping to 1 before
+calling the Load/Dump functions. The default setting is for preserving
+backward-compatibility with YAML.pm.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/YAML/Syck.pod
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%dir %{perl_vendorarch}/YAML
+%{perl_vendorarch}/YAML/*.pm
+%dir %{perl_vendorarch}/JSON
+%{perl_vendorarch}/JSON/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/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/YAML/Syck/*.so
+%{_mandir}/man3/*
This page took 0.120943 seconds and 4 git commands to generate.