-%include /usr/lib/rpm/macros.perl
%define pdir Data
%define pnam Buffer
Summary: Data::Buffer Perl module - read/write buffer class
-Summary(pl): Modu³ Perla Data::Buffer - klasa bufora odczytu/zapisu
+Summary(pl.UTF-8): Moduł Perla Data::Buffer - klasa bufora odczytu/zapisu
Name: perl-Data-Buffer
Version: 0.04
-Release: 1
-License: Artistic or GPL
+Release: 4
+# same as erl
+License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: perl >= 5.6
-BuildRequires: rpm-perlprov >= 3.0.3-16
+# Source0-md5: d971f7b92684cc4f4cba7a9c774b8480
+URL: http://search.cpan.org/dist/Data-Buffer/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Data::Buffer implements a low-level binary buffer in which you can get
and put integers, strings, and other data.
-%description -l pl
-Modu³ Data::Buffer jest implementacj± niskopoziomowego, binarnego
-bufora. Mo¿na w nim umieszczaæ i z niego pobieraæ liczby ca³kowite,
-³añcuchy i inne dane.
+%description -l pl.UTF-8
+Moduł Data::Buffer jest implementacją niskopoziomowego, binarnego
+bufora. Można w nim umieszczać i z niego pobierać liczby całkowite,
+łańcuchy i inne dane.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
%{__make}
%install
%files
%defattr(644,root,root,755)
%doc Changes
-%{perl_sitelib}/Data/Buffer.pm
+%{perl_vendorlib}/Data/Buffer.pm
%{_mandir}/man3/*