]> git.pld-linux.org Git - packages/perl-IPC-Shareable.git/commitdiff
- new, STBR
authorradek <radek@pld-linux.org>
Sat, 24 Aug 2002 17:04:41 +0000 (17:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-IPC-Shareable.spec -> 1.1

perl-IPC-Shareable.spec [new file with mode: 0644]

diff --git a/perl-IPC-Shareable.spec b/perl-IPC-Shareable.spec
new file mode 100644 (file)
index 0000000..12f16b9
--- /dev/null
@@ -0,0 +1,59 @@
+#
+# Conditional build:
+# _with_tests - perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    IPC
+%define        pnam    Shareable
+Summary:       IPC::Shareable - share Perl variables between processes
+#Summary(pl):  
+Name:          perl-IPC-Shareable
+Version:       0.60
+Release:       1
+License:       GPL v2+
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+%if %{?_with_tests:1}%{!?_with_tests:0}
+BuildRequires: perl-Storable >= 0.607
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+IPC::Shareable allows you to tie a variable to shared memory making it
+easy to share the contents of that variable with other Perl processes.
+Scalars, arrays, and hashes can be tied.  The variable being tied may
+contain arbitrarily complex data structures - including references to
+arrays, hashes of hashes, etc.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%{?_with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a eg $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES CREDITS DISCLAIMER README TO_DO
+%{perl_sitelib}/%{pdir}/*.pm
+%{perl_sitelib}/%{pdir}/%{pnam}
+%{_examplesdir}/%{name}-%{version}
+%{_mandir}/man3/*
This page took 0.246283 seconds and 4 git commands to generate.