]> git.pld-linux.org Git - packages/perl-Math-SimpleVariable.git/blame - perl-Math-SimpleVariable.spec
use generic url
[packages/perl-Math-SimpleVariable.git] / perl-Math-SimpleVariable.spec
CommitLineData
d37d7f3e
JB
1#
2# Conditional build:
8823dce7 3%bcond_without tests # do not perform "make test"
f8595467 4
d664576f 5%define pdir Math
6%define pnam SimpleVariable
f8595467 7%include /usr/lib/rpm/macros.perl
d37d7f3e 8Summary: Math::SimpleVariable - simple representation of mathematical variables
bbeff5df 9Summary(pl.UTF-8): Math::SimpleVariable - prosta reprezentacja zmiennych matematycznych
d37d7f3e
JB
10Name: perl-Math-SimpleVariable
11Version: 0.03
86d02a35 12Release: 3
8a5fc3ba 13# same as perl
14License: GPL v1+ or Artistic
d37d7f3e 15Group: Development/Languages/Perl
8b364375 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
e95a1420 17# Source0-md5: 0b7b45d71edab401e7aa64a0ad292eed
f8595467 18URL: http://search.cpan.org/dist/Math-SimpleVariable/
4ab03191 19BuildRequires: perl-devel >= 1:5.8.0
b617bb72 20BuildRequires: rpm-perlprov >= 4.1-13
d37d7f3e
JB
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Math::SimpleVariable is a simple representation of mathematical
26variables, with an obligatory name and an optional value. This class
27on itself might not seem very useful at first sight, but you might
28want to derive different types of variables for some application. That
29way, objects of the derived variable class can be accessed
30interchangeably with the here provided protocols.
31
7d4a1f37 32%description -l pl.UTF-8
d37d7f3e 33Math::SimpleVariable to prosta reprezentacja zmiennych matematycznych,
7d4a1f37
JR
34z obowiązkową nazwą i opcjonalną wartością. Ta klasa sama w sobie może
35nie wydawać się zbyt przydatna, ale można z niej wyprowadzić różne
36typy zmiennych dla aplikacji. W ten sposób, do obiektów tych nowych
37klas można odwoływać się przy pomocy udostępnionych przez ten moduł
38protokołów.
d37d7f3e
JB
39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
b617bb72 44%{__perl} Makefile.PL \
1f229a6d 45 INSTALLDIRS=vendor
d37d7f3e
JB
46%{__make}
47
8823dce7 48%{?with_tests:%{__make} test}
d37d7f3e
JB
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes README
b617bb72 62%{perl_vendorlib}/Math/SimpleVariable.pm
d37d7f3e 63%{_mandir}/man3/*
This page took 0.089251 seconds and 4 git commands to generate.