[packages/perl-Badger] Initial

arekm arekm at pld-linux.org
Wed Oct 22 22:46:04 CEST 2025


commit 4780debbdcf44bccb68d87b7fb7f430f87c945b9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Oct 22 22:45:42 2025 +0200

    Initial

 perl-Badger.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
---
diff --git a/perl-Badger.spec b/perl-Badger.spec
new file mode 100644
index 0000000..51afee0
--- /dev/null
+++ b/perl-Badger.spec
@@ -0,0 +1,53 @@
+#
+# Conditional build:
+%bcond_without	tests		# unit tests
+#
+%define		pdir	Badger
+Summary:	Badger::Hub::Badger - central hub for accessing Badger components
+Name:		perl-Badger
+Version:	0.16
+Release:	1
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Badger/%{pdir}-%{version}.tar.gz
+# Source0-md5:	d3514ccafe7efd4405f7940780aa3d22
+URL:		https://metacpan.org/dist/Badger
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
+%if %{with tests}
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Badger::Hub module implements a generic object which provides
+access to other components in an application. The Badger::Hub::Badger
+module is an eating-your-own-dog-food subclass module for the
+Badger::* modules.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?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 TODO
+%{perl_vendorlib}/Badger*.pm
+%{perl_vendorlib}/Badger
+%{_mandir}/man3/Badger*.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Badger.git/commitdiff/4780debbdcf44bccb68d87b7fb7f430f87c945b9



More information about the pld-cvs-commit mailing list