]> git.pld-linux.org Git - packages/perl-Date-ICal.git/blobdiff - perl-Date-ICal.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Date-ICal.git] / perl-Date-ICal.spec
index 9c10d688d443e79e09c4db004a92845e99351250..ee401a503841bd1d3ca5edca51e9acc255743337 100644 (file)
@@ -1,33 +1,36 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
-%define        pdir    Date
-%define        pnam    ICal
-Summary:       Perl extension for ICalendar date objects
-Summary(pl):   Modu³ perla Date::ICal
+%bcond_without tests   # do not perform "make test"
+
+%define                pdir    Date
+%define                pnam    ICal
+Summary:       Date::ICal - Perl extension for ICalendar date objects
+Summary(pl.UTF-8):     Date::ICal - rozszerzenie Perla o obiekty czasu ICalendar
 Name:          perl-Date-ICal
 Version:       1.72
-Release:       2
-License:       unknown
+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: 69e10541f5da09fc0f53474073da6744
-BuildRequires: perl-devel >= 5.6.1
+URL:           http://search.cpan.org/dist/Date-ICal/
 BuildRequires: perl-Date-Leapyear >= 1.03
-BuildRequires: perl-Storable
 BuildRequires: perl-Test-Simple >= 0.19
-BuildRequires: perl-Time-HiRes
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Perl extension for ICalendar date objects.
+Perl module Date::ICal talks the ICal date format, and is intended to
+be a base class for other date/calendar modules that know about ICal
+time format also.
 
-%description -l pl
-Rozszerzenie perla do obiektów danych ICalendar.
+%description -l pl.UTF-8
+Moduł Perla Date::ICal komunikuje sie za pomocą formatu daty ICal.
+Jest on zaprojektowany jako klasa bazowa dla innych modułów
+daty/kalendarza, rozumiejących ICal jako jeden z formatów czasu.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -36,12 +39,14 @@ Rozszerzenie perla do obiekt
 %{__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.067855 seconds and 4 git commands to generate.