]> git.pld-linux.org Git - packages/perl-YAML.git/commitdiff
- new, STBR perl-YAML-0_35-1
authorradek <radek@pld-linux.org>
Sun, 25 Aug 2002 15:21:04 +0000 (15:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-YAML.spec -> 1.1

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

diff --git a/perl-YAML.spec b/perl-YAML.spec
new file mode 100644 (file)
index 0000000..d3f129c
--- /dev/null
@@ -0,0 +1,53 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    YAML
+Summary:       YAML - YAML Ain't Markup Language (tm)
+#Summary(pl):  
+Name:          perl-YAML
+Version:       0.35
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/authors/id/I/IN/INGY/%{pdir}-%{version}.tar.gz
+URL:           http://www.yaml.org/spec/
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The YAML.pm module implements a YAML Loader and Dumper based on the YAML
+1.0 specification.
+
+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!!!)
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+yes | perl Makefile.PL
+%{__make}
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitelib}/*.pm
+%{perl_sitelib}/%{pdir}
+%{_bindir}/*
+%{_mandir}/man[13]/*
This page took 0.069154 seconds and 4 git commands to generate.