Author: amateja Date: Mon Sep 14 12:41:36 2009 GMT Module: packages Tag: HEAD ---- Log message: - initial
---- Files affected: packages/perl-Hash-Flatten: perl-Hash-Flatten.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/perl-Hash-Flatten/perl-Hash-Flatten.spec diff -u /dev/null packages/perl-Hash-Flatten/perl-Hash-Flatten.spec:1.1 --- /dev/null Mon Sep 14 14:41:36 2009 +++ packages/perl-Hash-Flatten/perl-Hash-Flatten.spec Mon Sep 14 14:41:31 2009 @@ -0,0 +1,72 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Hash +%define pnam Flatten +Summary: Hash::Flatten - flatten/unflatten complex data hashes +Summary(pl.UTF-8): Hash::Flatten - wygładź/pomarszcz wartości funkcji skrótu dla złożonych danych +Name: perl-Hash-Flatten +Version: 1.16 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://search.cpan.org/CPAN/authors/id/B/BB/BBC/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: b67a1b1888aee862bd5b7a2987989495 +URL: http://search.cpan.org/dist/Hash-Flatten/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl(Log::Trace) +BuildRequires: perl(Test::Assertions) +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Converts back and forth between a nested hash structure and a flat +hash of delimited key-value pairs. Useful for protocols that only +support key-value pairs (such as CGI and DBMs). + +%description -l pl.UTF-8 +Konwertuje przód i tył pomiędzy zagnieżdzoną strukturą wartości +funkcji skrótu i płaską wartością funkcji skrótu jako rozdzielone pary +kluczy i wartości. + +%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 +%{perl_vendorlib}/Hash/*.pm +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2009/09/14 12:41:31 amateja +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
