summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramateja2009-10-16 07:24:07 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit8096d92d7fc0e245df0379028e7bf0c02983b59d (patch)
tree8e241e761ddc684dacba9faa7f4515da508b1ca8
parent199015b0aa2a059d19c12c25e44440ee35446be1 (diff)
downloadperl-Text-SimpleTable-8096d92d7fc0e245df0379028e7bf0c02983b59d.zip
perl-Text-SimpleTable-8096d92d7fc0e245df0379028e7bf0c02983b59d.tar.gz
Changed files: perl-Text-SimpleTable.spec -> 1.8
-rw-r--r--perl-Text-SimpleTable.spec22
1 files changed, 13 insertions, 9 deletions
diff --git a/perl-Text-SimpleTable.spec b/perl-Text-SimpleTable.spec
index 43a05d9..ba824f4 100644
--- a/perl-Text-SimpleTable.spec
+++ b/perl-Text-SimpleTable.spec
@@ -8,13 +8,13 @@
Summary: Text::SimpleTable - Simple Eyecandy ASCII Tables
Summary(pl.UTF-8): Text::SimpleTable - proste, ładne tabele ASCII
Name: perl-Text-SimpleTable
-Version: 0.03
-Release: 2
+Version: 2.0
+Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 7eaf266174d4bf2b66f98db28c291b15
+# Source0-md5: b57b6e60b5ee3cd5209d4bad510d0d2d
URL: http://search.cpan.org/dist/Text-SimpleTable/
BuildRequires: perl-Module-Build
BuildRequires: perl-devel >= 1:5.8.0
@@ -32,17 +32,20 @@ Proste, ładne tabele ASCII, takie jakie można zobaczyć w Catalyście.
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-%{__perl} Build.PL \
- destdir=$RPM_BUILD_ROOT \
- installdirs=vendor
-./Build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
-%{?with_tests:./Build test}
+%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
-./Build install
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -52,3 +55,4 @@ rm -rf $RPM_BUILD_ROOT
%doc Changes README
%{perl_vendorlib}/Text/*.pm
%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}