[packages/perl-DNS-LDNS] - new

qboosh qboosh at pld-linux.org
Wed Feb 15 20:14:23 CET 2023


commit a702fc80273d92e1205cd31379d62abebd23b7be
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Feb 15 20:15:35 2023 +0100

    - new

 perl-DNS-LDNS.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)
---
diff --git a/perl-DNS-LDNS.spec b/perl-DNS-LDNS.spec
new file mode 100644
index 0000000..abc544b
--- /dev/null
+++ b/perl-DNS-LDNS.spec
@@ -0,0 +1,71 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+#
+%define		pdir	DNS
+%define		pnam	LDNS
+Summary:	DNS::LDNS - Perl extension for the ldns library
+Summary(pl.UTF-8):	DNS::LDNS - rozszerzenie Perla do biblioteki ldns
+Name:		perl-DNS-LDNS
+Version:	0.63
+Release:	1
+# same as perl 5.14.2+ (see LDNS.pm; LICENSE is old and misleading)
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/DNS/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	c544481a56995b1abcb70405e9e26877
+URL:		https://metacpan.org/release/DNS-LDNS
+BuildRequires:	ldns-devel
+BuildRequires:	perl-ExtUtils-MakeMaker
+BuildRequires:	perl-devel >= 1:5.14.2
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
+%if %{with tests}
+BuildRequires:	perl-Test-Exception
+BuildRequires:	perl-Test-Simple
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+DNS::LDNS is a Perl OO-wrapper for the ldns library. A complete list
+of object methods is found in the perldoc for each of the individual
+classes. You may also read the documentation of the ldns library
+<https://www.nlnetlabs.nl/projects/ldns/about/>.
+
+%description -l pl.UTF-8
+DNS::LDNS to obiektowy interfejs perlowy do biblioteki ldns. Pełna
+lista metod jest dostępna w dokumentacji każdej klasy. Dokumentację
+biblioteki ldns można znaleźć pod adresem
+<https://www.nlnetlabs.nl/projects/ldns/about/>.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	CC="%{__cc}" \
+	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)
+%dir %{perl_vendorarch}/DNS
+%{perl_vendorarch}/DNS/LDNS.pm
+%{perl_vendorarch}/DNS/LDNS
+%dir %{perl_vendorarch}/auto/DNS
+%dir %{perl_vendorarch}/auto/DNS/LDNS
+%attr(755,root,root) %{perl_vendorarch}/auto/DNS/LDNS/LDNS.so
+%{perl_vendorarch}/auto/DNS/LDNS/autosplit.ix
+%{_mandir}/man3/DNS::LDNS*.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-DNS-LDNS.git/commitdiff/a702fc80273d92e1205cd31379d62abebd23b7be



More information about the pld-cvs-commit mailing list