]> git.pld-linux.org Git - packages/perl-Devel-Dumpvar.git/commitdiff
- initial pld spec auto/ac/perl-Devel-Dumpvar-0_01-1
authorMaciej Pijanka <agaran@pld-linux.org>
Sun, 11 Apr 2004 09:30:44 +0000 (09:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Devel-Dumpvar.spec -> 1.1

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

diff --git a/perl-Devel-Dumpvar.spec b/perl-Devel-Dumpvar.spec
new file mode 100644 (file)
index 0000000..7d78a52
--- /dev/null
@@ -0,0 +1,52 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Devel
+%define        pnam    Dumpvar
+Summary:       Devel::Dumpvar - A pure-OO reimplementation of dumpvar.pl
+Name:          perl-%{pdir}-%{pnam}
+Version:       0.01
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 51c3c1c78178a2740304adca93e114f8
+BuildRequires: perl-devel >= 5.005
+%if %{!?_without_tests:1}0
+%endif
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Most perl dumping modules are focused on serializing data structures
+into a format that can be rebuilt into the original data structure.
+They do this with a variety of different focuses, such as human
+readability, the ability to execute the dumped code directly, or to
+minimize the size of the dumped data.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__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)
+%doc LICENSE Changes README
+%{perl_vendorlib}/%{pdir}/%{pnam}.pm
+%{_mandir}/man3/*
This page took 0.113109 seconds and 4 git commands to generate.