packages: perl-Data-Section-Simple/perl-Data-Section-Simple.spec (NEW)=?UTF-8?Q?=20?=- new
qboosh
qboosh at pld-linux.org
Wed May 30 15:17:12 CEST 2012
Author: qboosh Date: Wed May 30 13:17:12 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/perl-Data-Section-Simple:
perl-Data-Section-Simple.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Data-Section-Simple/perl-Data-Section-Simple.spec
diff -u /dev/null packages/perl-Data-Section-Simple/perl-Data-Section-Simple.spec:1.1
--- /dev/null Wed May 30 15:17:12 2012
+++ packages/perl-Data-Section-Simple/perl-Data-Section-Simple.spec Wed May 30 15:17:07 2012
@@ -0,0 +1,70 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir Data
+%define pnam Section-Simple
+%include /usr/lib/rpm/macros.perl
+Summary: Data::Section::Simple - Read data from __DATA__ section of file
+Summary(pl.UTF-8): Data::Section::Simple - odczyt danych z sekcji __DATA__ pliku
+Name: perl-Data-Section-Simple
+Version: 0.03
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 8cd6ebdc75f56f035ca032a3d3383a4f
+URL: http://search.cpan.org/dist/Data-Section-Simple/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Test-Requires
+BuildRequires: perl-Test-Simple >= 0.88
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Data::Section::Simple is a simple module to extract data from
+__DATA__ section of the file.
+
+%description -l pl.UTF-8
+Data::Section::Simple to prosty moduł wydobywający dane z sekcji
+__DATA__ pliku.
+
+%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}/Data/Section
+%{perl_vendorlib}/Data/Section/Simple.pm
+%{_mandir}/man3/Data::Section::Simple.3pm*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2012/05/30 13:17:07 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list