]> git.pld-linux.org Git - packages/perl-Data-Serializer.git/commitdiff
- new
authorAdam Gołębiowski <adamg@pld-linux.org>
Tue, 1 Jun 2004 17:55:58 +0000 (17:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Data-Serializer.spec -> 1.1

perl-Data-Serializer.spec [new file with mode: 0644]

diff --git a/perl-Data-Serializer.spec b/perl-Data-Serializer.spec
new file mode 100644 (file)
index 0000000..408225d
--- /dev/null
@@ -0,0 +1,60 @@
+#
+# 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-%{pdir}-%{pnam}
+Version:       0.25
+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: c09874b1892e3b70ac11f2900e7a9a4e
+URL:           http://search.cpan.org/dist/Data-Serializer/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+#%define               _noautoreq      'perl(anything_fake_or_conditional)'
+
+%description
+Provides a unified interface to the various serializing modules
+currently available. Adds the functionality of both compression and
+encryption.
+
+%description -l pl
+Dostarcza zunifikowanego interfejsu do ró¿nych modu³u 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/*
This page took 0.104989 seconds and 4 git commands to generate.