]> git.pld-linux.org Git - packages/perl-Data-Serializer.git/blob - perl-Data-Serializer.spec
13aa5d7f4c7eff55843cd58fe1c579c6c8b06c74
[packages/perl-Data-Serializer.git] / perl-Data-Serializer.spec
1 #
2 # Conditional build:
3 %bcond_without  autodeps        # don't BR packages needed only for resolving deps
4 %bcond_without  tests           # do not perform "make test"
5 #
6 %include        /usr/lib/rpm/macros.perl
7 %define         pdir    Data
8 %define         pnam    Serializer
9 Summary:        Modules that serialize data structures
10 Summary(pl.UTF-8):      Moduły do serializacji struktur danych
11 Name:           perl-Data-Serializer
12 Version:        0.43
13 Release:        1
14 # same as perl
15 License:        GPL v1+ or Artistic
16 Group:          Development/Languages/Perl
17 Source0:        http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz
18 # Source0-md5:  9bdc9f3a4b50080734288712fdd08e55
19 URL:            http://search.cpan.org/dist/Data-Serializer/
20 BuildRequires:  perl-Digest-SHA1
21 BuildRequires:  perl-devel >= 1:5.8.0
22 BuildRequires:  rpm-perlprov >= 4.1-13
23 %if %{with autodeps} || %{with tests}
24 BuildRequires:  perl-Config-General
25 BuildRequires:  perl-Data-Denter
26 #BuildRequires: perl-Data-Taxi
27 BuildRequires:  perl-Digest-SHA
28 BuildRequires:  perl-FreezeThaw
29 BuildRequires:  perl-PHP-Serialization
30 BuildRequires:  perl-XML-Dumper
31 BuildRequires:  perl-XML-Simple
32 BuildRequires:  perl-YAML
33 BuildRequires:  perl-YAML-Syck
34 %endif
35 BuildArch:      noarch
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Provides a unified interface to the various serializing modules
40 currently available. Adds the functionality of both compression and
41 encryption.
42
43 %description -l pl.UTF-8
44 Dostarcza zunifikowany interfejs do różnych modułów serializacji
45 danych. Posiada wsparcie zarówno dla kompresji jak i szyfrowania.
46
47 %prep
48 %setup -q -n %{pdir}-%{pnam}-%{version}
49
50 %build
51 %{__perl} Makefile.PL \
52         INSTALLDIRS=vendor
53
54 %{__make}
55
56 %{?with_tests:%{__make} test}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc Changes README
70 %{perl_vendorlib}/auto/Data/Serializer
71 %{perl_vendorlib}/Data/Serializer.pm
72 %{perl_vendorlib}/Data/Serializer
73 %{_mandir}/man3/*
This page took 0.070744 seconds and 3 git commands to generate.