[packages/perl-Config-INI-Reader-Ordered] - new

baggins baggins at pld-linux.org
Mon Mar 23 00:37:35 CET 2015


commit 6c312dc286da630b90ee4653dec7b3216c6f4255
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Mar 23 00:37:18 2015 +0100

    - new

 perl-Config-INI-Reader-Ordered.spec | 54 +++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
---
diff --git a/perl-Config-INI-Reader-Ordered.spec b/perl-Config-INI-Reader-Ordered.spec
new file mode 100644
index 0000000..5269ddb
--- /dev/null
+++ b/perl-Config-INI-Reader-Ordered.spec
@@ -0,0 +1,54 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Config
+%define		pnam	INI-Reader-Ordered
+%include	/usr/lib/rpm/macros.perl
+Summary:	Config::INI::Reader::Ordered -- .ini-file parser that returns sections in order
+Name:		perl-Config-INI-Reader-Ordered
+Version:	0.011
+Release:	1
+License:	unknown
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Config/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	641951a00fae8cfde55cbba878c76938
+URL:		https://metacpan.org/pod/Config::INI::Reader::Ordered
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(Config::INI::Reader)
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Config::INI::Reader::Ordered is a subclass of Config::INI::Reader
+which preserves section order.  See Config::INI::Reader for all
+documentation; the only difference is as presented in the /SYNOPSIS.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%dir %{perl_vendorlib}/Config/INI/Reader
+%{perl_vendorlib}/Config/INI/Reader/Ordered.pm
+%{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Config-INI-Reader-Ordered.git/commitdiff/6c312dc286da630b90ee4653dec7b3216c6f4255



More information about the pld-cvs-commit mailing list