Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > a9843a70b153f15bd133ae668f2a93e2 > files > 2

perl-Data-Serializer-0.28-1.src.rpm

# $Revision: 1.8 $, $Date: 2004/12/12 10:17:07 $
#
# Conditional build:
%bcond_without	tests	# do not perform "make test"
#
%include	/usr/lib/rpm/macros.perl
%define		pdir	Data
%define		pnam	Serializer
Summary:	Modules that serialize data structures
Summary(pl):	Modu³y do serializacji struktur danych
Name:		perl-Data-Serializer
Version:	0.28
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:	544b70d42ee6a50da6e7836d46566e73
URL:		http://search.cpan.org/dist/Data-Serializer/
BuildRequires:	perl-Digest-SHA1
BuildRequires:	perl-devel >= 1:5.8.0
BuildRequires:	rpm-perlprov >= 4.1-13
BuildArch:	noarch
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Provides a unified interface to the various serializing modules
currently available. Adds the functionality of both compression and
encryption.

%description -l pl
Dostarcza zunifikowany interfejs do ró¿nych modu³ów serializacji
danych. Posiada wsparcie zarówno dla kompresji jak i szyfrowania.

%prep
%setup -q -n %{pdir}-%{pnam}-%{version}

%build
%{__perl} Makefile.PL \
	INSTALLDIRS=vendor

%{__make}

%{?with_tests:%{__make} test}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc Changes README
%{perl_vendorlib}/Data/Serializer.pm
%{perl_vendorlib}/Data/Serializer
%{_mandir}/man3/*

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback@pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: perl-Data-Serializer.spec,v $
Revision 1.8  2004/12/12 10:17:07  adamg
- updated to 0.28

Revision 1.7  2004/11/03 22:30:17  paladine
- formatting

Revision 1.6  2004/06/05 20:26:52  radek
- massive: unfold macros in name/summary & other unifications

Revision 1.5  2004/06/02 01:03:01  ankry
- removed bogus R: perl-Data-Dumper - it is perl-modules module

Revision 1.4  2004/06/02 00:59:55  ankry
- removed bogus R: perl-IO-File - it is perl-base module

Revision 1.3  2004/06/01 18:53:21  qboosh
- formatting

Revision 1.2  2004/06/01 17:59:16  adamg
- added BuildRequires
- fixed typos in pl description

Revision 1.1  2004/06/01 17:55:58  adamg
- new