]> git.pld-linux.org Git - packages/perl-POE-Component-Logger.git/commitdiff
- initial, works for me
authorMaciej Pijanka <agaran@pld-linux.org>
Wed, 24 Aug 2005 10:58:32 +0000 (10:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-POE-Component-Logger.spec -> 1.1

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

diff --git a/perl-POE-Component-Logger.spec b/perl-POE-Component-Logger.spec
new file mode 100644 (file)
index 0000000..5b9748c
--- /dev/null
@@ -0,0 +1,54 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    POE
+%define                pnam    Component-Logger
+Summary:       perl(POE::Component::Logger)
+Name:          perl-POE-Component-Logger
+Version:       1.00
+Release:       0.1
+License:       same as perl
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+URL:           poe.perl.org
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: perl-POE
+%if %{with tests}
+BuildRequires: perl-Log-Dispatch-Config
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _noautoreq      'perl(anything_fake_or_conditional)'
+
+%description
+POE::Component::Logger, a poe logging class, uses Log::Dispatch::Config
+
+%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}/POE/Component/Logger.pm
+%{_mandir}/man3/*
This page took 1.170061 seconds and 4 git commands to generate.