]> git.pld-linux.org Git - packages/perl-Math-BaseCalc.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 6 Dec 2002 20:57:23 +0000 (20:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Math-BaseCalc.spec -> 1.1

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

diff --git a/perl-Math-BaseCalc.spec b/perl-Math-BaseCalc.spec
new file mode 100644 (file)
index 0000000..2bb51f6
--- /dev/null
@@ -0,0 +1,53 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Math
+%define                pnam    BaseCalc
+Summary:       Math::BaseCalc Perl module - Convert numbers between various bases
+Summary(pl):   Modu³ Perla Math::BaseCalc - konwertuj±cy liczby pomiêdzy systemami
+Name:          perl-Math-BaseCalc
+Version:       1.011
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module facilitates the conversion of numbers between various
+number bases. You may define your own digit sets, or use any of
+several predefined digit sets.
+
+%description -l pl
+Ten modu³ u³atwia przeliczanie liczb pomiêdzy ró¿nymi systemami. Mo¿na
+zdefiniowaæ w³asne zestawy cyfr lub u¿yæ dowolnego z kilku
+predefiniowanych.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{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)
+%doc Changes
+%{perl_sitelib}/Math/BaseCalc.pm
+%{_mandir}/man3/*
This page took 0.111639 seconds and 4 git commands to generate.