]> git.pld-linux.org Git - packages/perl-POE-Component-Client-Keepalive.git/commitdiff
- initial, 0.801, rel 0.1, builds here
authorMaciej Pijanka <agaran@pld-linux.org>
Sun, 6 Aug 2006 21:31:08 +0000 (21:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-POE-Component-Client-Keepalive.spec -> 1.1

perl-POE-Component-Client-Keepalive.spec [new file with mode: 0644]

diff --git a/perl-POE-Component-Client-Keepalive.spec b/perl-POE-Component-Client-Keepalive.spec
new file mode 100644 (file)
index 0000000..4690e73
--- /dev/null
@@ -0,0 +1,72 @@
+#
+# Conditional build:
+%bcond_without autodeps        # don't BR packages needed only for resolving deps
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    POE
+%define                pnam    Component-Client-Keepalive
+Summary:       perl(POE::Component::Client::Keepalive)
+Name:          perl-POE-Component-Client-Keepalive
+Version:       0.0801
+Release:       0.1
+# note if it is "same as perl"
+License:       (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+#Patch0:               %{name}
+# most of CPAN modules have generic URL (substitute pdir and pnam here)
+#URL:          http://search.cpan.org/dist/%{pdir}-%{pnam}
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+#BuildRequires:        -
+%if %{with autodeps} || %{with tests}
+#BuildRequires:        perl-
+#BuildRequires:        perl-
+%endif
+#Requires:     -
+#Provides:     -
+#Obsoletes:    -
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+#%define               _noautoreq      'perl(anything_fake_or_conditional)'
+
+%description
+#
+#%description -l pl
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+#%patch0 -p1
+
+%build
+# Don't use pipes here: they generally don't work. Apply a patch.
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make}
+# if module isn't noarch, use:
+# %{__make} \
+#      OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README
+# note it's mostly easier to copy unpackaged filelist here, and run adapter over the spec.
+# use macros:
+%{perl_vendorlib}/POE/Component/Client/Keepalive.pm
+%dir %{perl_vendorlib}/POE/Component/Connection
+%{perl_vendorlib}/POE/Component/Connection/Keepalive.pm
+%{_mandir}/man3/*
This page took 0.129744 seconds and 4 git commands to generate.