]> git.pld-linux.org Git - packages/perl-Math-Quaternion.git/blobdiff - perl-Math-Quaternion.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Math-Quaternion.git] / perl-Math-Quaternion.spec
index ef44639d22d1bb3914a59ca87f0eec76f46ff8d5..12c9a3e246d5d621cf8a44715ece6f3f54ce2e47 100644 (file)
@@ -1,38 +1,38 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
-%define        pdir    Math
-%define        pnam    Quaternion
+%bcond_without tests   # do not perform "make test"
+
+%define                pdir    Math
+%define                pnam    Quaternion
 Summary:       Math::Quaternion - Perl class to represent quaternions
-Summary(pl):   Math::Quaternion - klasa Perla do reprezentowania kwaternionów
+Summary(pl.UTF-8):     Math::Quaternion - klasa Perla do reprezentowania kwaternionów
 Name:          perl-Math-Quaternion
-Version:       0.01
+Version:       0.03
 Release:       1
+# same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: afb5a960eb511d572a323608c42d7b11
-BuildRequires: perl-devel >= 5.8.0
+# Source0-md5: 818e88923c99053f26317acd4c61adfd
+URL:           http://search.cpan.org/dist/Math-Quaternion/
+%{?with_tests:BuildRequires:   perl-Test-Simple}
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-%{!?_without_tests:BuildRequires:      perl-Test-Simple}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This package lets you create and manipulate quaternions. A
-quaternion is a mathematical object developed as a kind of
-generalization of complex numbers, usually represented by an array
-of four real numbers, and is often used to represent rotations in
-three-dimensional space.
-
-%description -l pl
-Ten pakiet pozwala na tworzenie oraz wykorzystywanie kwaternionów w
-obliczeniach. Kwaternion to obiekt matematyczny wymy¶lony jako rodzaj
-uogólnienia liczb zespolonych, zazwyczaj reprezentowany jako tablica
-czterech liczb rzeczywistych, czêsto u¿ywany do reprezentowania
-obrotów w przestrzeni trójwymiarowej.
+This package lets you create and manipulate quaternions. A quaternion
+is a mathematical object developed as a kind of generalization of
+complex numbers, usually represented by an array of four real numbers,
+and is often used to represent rotations in three-dimensional space.
+
+%description -l pl.UTF-8
+Ten pakiet pozwala na tworzenie oraz wykorzystywanie kwaternionów w
+obliczeniach. Kwaternion to obiekt matematyczny wymyślony jako rodzaj
+uogólnienia liczb zespolonych, zazwyczaj reprezentowany jako tablica
+czterech liczb rzeczywistych, często używany do reprezentowania
+obrotów w przestrzeni trójwymiarowej.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -40,10 +40,9 @@ obrot
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.046981 seconds and 4 git commands to generate.