]> git.pld-linux.org Git - packages/perl-AnyData.git/commitdiff
- new, STBR
authorradek <radek@pld-linux.org>
Sat, 10 Aug 2002 12:29:05 +0000 (12:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-AnyData.spec -> 1.1

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

diff --git a/perl-AnyData.spec b/perl-AnyData.spec
new file mode 100644 (file)
index 0000000..9a22f8a
--- /dev/null
@@ -0,0 +1,53 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    AnyData
+Summary:       AnyData -- easy access to data in many formats
+Summary(pl):   AnyData -- ³atwy dostêp do danych w ró¿nych formatach
+Name:          perl-%{pdir}
+Version:       0.05
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+%if %{?_without_test:0}%{!?_without_test:1}
+BuildRequires: perl(Data::Dumper)
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The AnyData modules provide simple and uniform access to data from many
+sources -- perl arrays, local files, remote files retrievable via http
+or ftp -- and in many formats including flat files (CSV, Fixed Length,
+Tab Delimited, etc), standard format files (Web Logs, Passwd files,
+etc.),  structured files (XML, HTML Tables) and binary files with
+parseable headers (mp3s, jpgs, pngs, etc).
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+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}
+%{_mandir}/man3/*
This page took 0.069937 seconds and 4 git commands to generate.