]> git.pld-linux.org Git - packages/perl-Text-CSV-Encoded.git/commitdiff
- new auto/th/perl-Text-CSV-Encoded-0_07-1
authorradek <radek@pld-linux.org>
Fri, 16 Jan 2009 10:02:03 +0000 (10:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Text-CSV-Encoded.spec -> 1.1

perl-Text-CSV-Encoded.spec [new file with mode: 0644]

diff --git a/perl-Text-CSV-Encoded.spec b/perl-Text-CSV-Encoded.spec
new file mode 100644 (file)
index 0000000..d4f96c1
--- /dev/null
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Text
+%define        pnam    CSV-Encoded
+Summary:       Text::CSV::Encoded - Encoding aware Text::CSV.
+#Summary(pl.UTF-8):    
+Name:          perl-Text-CSV-Encoded
+Version:       0.07
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: bf1d06ad3093d6a30246e86caa805762
+URL:           http://search.cpan.org/dist/Text-CSV-Encoded/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Text::CSV) >= 1.06
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module inherits Text::CSV and is aware of input/output encodings.
+
+# %description -l pl.UTF-8
+# TODO
+
+%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
+%{perl_vendorlib}/Text/CSV/*.pm
+%{perl_vendorlib}/Text/CSV/Encoded
+%{_mandir}/man3/*
This page took 0.072181 seconds and 4 git commands to generate.