]> git.pld-linux.org Git - packages/perl-Encode.git/commitdiff
- new AC-branch AC-STABLE auto/ac/perl-Encode-2_09-1
authorradek <radek@pld-linux.org>
Thu, 16 Dec 2004 14:43:50 +0000 (14:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Encode.spec -> 1.1

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

diff --git a/perl-Encode.spec b/perl-Encode.spec
new file mode 100644 (file)
index 0000000..70ba2fa
--- /dev/null
@@ -0,0 +1,58 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Encode
+Summary:       Encode - character encodings
+Summary(pl):   Encode - kodowania znaków
+Name:          perl-Encode
+Version:       2.09
+Release:       1
+License:       unknown (same as perl?)
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
+# Source0-md5: 05fb8a31bdfab31ceecc4ab8ddd3ef04
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Encode module provides the interfaces between Perl's strings and
+the rest of the system.
+
+%description -l pl
+Modu³ Encode udostêpnia interfejs pomiêdzy stringami w wewnêtrznym
+formacie Perla a reszt± systemu.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_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)
+%doc AUTHORS Changes README
+%attr(755,root,root) %{_bindir}/*
+%{perl_vendorarch}/*.pm
+%{perl_vendorarch}/Encode/
+%dir %{perl_vendorarch}/auto/Encode/
+%dir %{perl_vendorarch}/auto/Encode/*/
+%attr(755,root,root) %{perl_vendorarch}/auto/Encode/*.so
+%attr(755,root,root) %{perl_vendorarch}/auto/Encode/*/*.so
+%{_mandir}/man?/*
This page took 0.1245 seconds and 4 git commands to generate.