From fa56a60f711bd9d23eb0f9f54932646f657f7802 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 11 Dec 2003 13:55:13 +0000 Subject: [PATCH] - new Changed files: perl-Convert-Scalar.spec -> 1.1 --- perl-Convert-Scalar.spec | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 perl-Convert-Scalar.spec diff --git a/perl-Convert-Scalar.spec b/perl-Convert-Scalar.spec new file mode 100644 index 0000000..96b47db --- /dev/null +++ b/perl-Convert-Scalar.spec @@ -0,0 +1,60 @@ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Convert +%define pnam Scalar +Summary: Convert::Scalar - convert between different representations of perl scalars +Summary(pl): Convert::Scalar - konwersja miêdzy ró¿nymi reprezentacjami perlowych skalarów +Name: perl-Convert-Scalar +Version: 0.1e +Release: 1 +# same as perl +License: GPL or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 8fed7f80ed55e2f2593495513c3e1f8d +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module exports various internal perl methods that change the +internal representation or state of a perl scalar. All of these work +in-place, that is, they modify their scalar argument. + +%description -l pl +Ten modu³ eksportuje ró¿ne wewnêtrzne perlowe metody zmieniaj±ce +wewnêtrzn± reprezentacjê lub stan perlowego skalara. Wszystko to +dzia³a "na miejscu", czyli modyfikowany jest argument skalarny. + +%prep +%setup -q -n %{pdir}-%{pnam}-0.1 + +%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 Changes +%{perl_vendorarch}/Convert/Scalar.pm +%dir %{perl_vendorarch}/auto/Convert/Scalar +%{perl_vendorarch}/auto/Convert/Scalar/Scalar.bs +%attr(755,root,root) %{perl_vendorarch}/auto/Convert/Scalar/Scalar.so +%{_mandir}/man3/* -- 2.44.0