]> git.pld-linux.org Git - packages/perl-DBIx-DataSource.git/blobdiff - perl-DBIx-DataSource.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-DBIx-DataSource.git] / perl-DBIx-DataSource.spec
index 1f14991643b46948cfc70e194406ff6b9109e70c..7596a364158b3e04614ed8f95689e744b6b94553 100644 (file)
@@ -1,29 +1,34 @@
-%include       /usr/lib/rpm/macros.perl
-%define        pdir    DBIx
-%define        pnam    DataSource
-Summary:       DBIx::DataSource - database-independant create and drop functions
-Summary(pl):   DBIx::DataSource - niezale¿ne od bazy danych funkcje do tworzenia i usuwania
-Name:          perl-%{pdir}-%{pnam}
+#
+# Conditional build:
+%bcond_without tests   # Do not perform "make test"
+
+%define                pdir    DBIx
+%define                pnam    DataSource
+Summary:       DBIx::DataSource - database-independent create and drop functions
+Summary(pl.UTF-8):     DBIx::DataSource - niezależne od bazy danych funkcje do tworzenia i usuwania
+Name:          perl-DBIx-DataSource
 Version:       0.02
-Release:       3
-License:       GPL/Artistic
+Release:       5
+# 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: 12d60ad75ceced40286d18fcdcb5a40b
-BuildRequires: perl-devel >= 5.6
+URL:           http://search.cpan.org/dist/DBIx-DataSource/
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This module implements create_database and drop_database functions for
-databases.  It aims to provide a common interface to database creation
+databases. It aims to provide a common interface to database creation
 and deletion regardless of the actual database being used.
 
-%description -l pl
-Ten modu³ jest implementacj± funkcji create_database i drop_database
-dla baz danych. Celem jego jest dostarczenie wspólnego interfejsu do
-tworzenia i usuwania baz danych, niezale¿nego od u¿ywanej bazy.
+%description -l pl.UTF-8
+Ten moduł jest implementacją funkcji create_database i drop_database
+dla baz danych. Celem jego jest dostarczenie wspólnego interfejsu do
+tworzenia i usuwania baz danych, niezależnego od używanej bazy.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -32,12 +37,14 @@ tworzenia i usuwania baz danych, niezale
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.071649 seconds and 4 git commands to generate.