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