mirror of
https://github.com/YellowJacketLinux/LFS.git
synced 2025-01-23 14:32:15 +08:00
more perl spec files
This commit is contained in:
parent
ca6737cc90
commit
aa082a8131
101
SPECS/perl-Net-SSLeay.spec
Normal file
101
SPECS/perl-Net-SSLeay.spec
Normal file
@ -0,0 +1,101 @@
|
||||
# DEV RELEASE --- necessary due to LibreSSL version
|
||||
|
||||
%global cpanname Net-SSLeay
|
||||
|
||||
Name: perl-%{cpanname}
|
||||
Version: 1.93
|
||||
Release: %{?repo}0.rc1%{?dist}
|
||||
Summary: Perl bindings for OpenSSL and LibreSSL
|
||||
|
||||
Group: Development/Libraries
|
||||
License: Artistic-2.0
|
||||
URL: https://metacpan.org/dist/%{cpanname}
|
||||
#Source0: https://cpan.metacpan.org/authors/id/C/CH/CHRISN/%%{cpanname}-%%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.93_01.tar.gz
|
||||
|
||||
BuildRequires: zlib-devel
|
||||
%if 0%{?libresslAPI:1} == 1
|
||||
BuildRequires: libressl-devel
|
||||
%else
|
||||
BuildRequires: openssl-devel
|
||||
%endif
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(English)
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(Text::Wrap)
|
||||
BuildRequires: perl(constant)
|
||||
# for test
|
||||
%if 0%{?runtests:1} == 1
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(SelectSaver)
|
||||
BuildRequires: perl(Socket)
|
||||
BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(Test::Builder)
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(MIME::Base64)
|
||||
%endif
|
||||
# runtime
|
||||
Requires: perl(MIME::Base64)
|
||||
# /end runtime
|
||||
%if 0%{?perl5_ABI:1} == 1
|
||||
Requires: %{perl5_ABI}
|
||||
%endif
|
||||
|
||||
%description
|
||||
This module provides Perl bindings for libssl (an SSL/TLS API) and
|
||||
libcrypto (a cryptography API).
|
||||
|
||||
%prep
|
||||
#%%setup -n %%{cpanname}-%%{version}
|
||||
%setup -n %{cpanname}-%{version}_01
|
||||
# avoid bogus dependencies
|
||||
%__chmod -c 644 examples/*
|
||||
|
||||
|
||||
%build
|
||||
PERL_MM_USE_DEFAULT=1 \
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%if 0%{?runtests:1} == 1
|
||||
make test > %{name}-make.test.log 2>&1
|
||||
%else
|
||||
echo "make test not run during package build." > %{name}-make.test.log
|
||||
%endif
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
# if binary
|
||||
%{_fixperms} %{buildroot}%{perl5_vendorarch}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{perl5_vendorarch}/Net
|
||||
%attr(0444,root,root) %{perl5_vendorarch}/Net/SSLeay.pm
|
||||
%dir %{perl5_vendorarch}/Net/SSLeay
|
||||
%attr(0444,root,root) %{perl5_vendorarch}/Net/SSLeay/Handle.pm
|
||||
%attr(0444,root,root) %{perl5_vendorarch}/Net/SSLeay.pod
|
||||
%dir %{perl5_vendorarch}/auto/Net
|
||||
%dir %{perl5_vendorarch}/auto/Net/SSLeay
|
||||
%attr(0444,root,root) %{perl5_vendorarch}/auto/Net/SSLeay/*.al
|
||||
%attr(0444,root,root) %{perl5_vendorarch}/auto/Net/SSLeay/autosplit.ix
|
||||
%attr(0555,root,root) %{perl5_vendorarch}/auto/Net/SSLeay/SSLeay.so
|
||||
%attr(0644,root,root) %{_mandir}/man3/Net::SSLeay.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/Net::SSLeay::Handle.3*
|
||||
%license LICENSE
|
||||
%doc Changes CONTRIBUTING.md Credits LICENSE QuickRef README examples
|
||||
%doc %{name}-make.test.log
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Apr 29 2023 Michael A. Peters <anymouseprophet@gmail.com> - 1.93-0.rc1
|
||||
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)
|
86
SPECS/perl-Regexp-IPv6.spec
Normal file
86
SPECS/perl-Regexp-IPv6.spec
Normal file
@ -0,0 +1,86 @@
|
||||
%global cpanname Regexp-IPv6
|
||||
|
||||
Name: perl-%{cpanname}
|
||||
Version: 0.03
|
||||
Release: %{?repo}0.rc1%{?dist}
|
||||
Summary: Regular expression for IPv6 addresses
|
||||
BuildArch: noarch
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL-1.0-or-later or Artistic-1.0-Perl
|
||||
URL: https://metacpan.org/dist/%{cpanname}
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/SA/SALVA/Regexp-IPv6-0.03.tar.gz
|
||||
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
# for test
|
||||
%if 0%{?runtests:1} == 1
|
||||
BuildRequires: perl(Test::More)
|
||||
%endif
|
||||
# runtime
|
||||
#Requires:
|
||||
# /end runtime
|
||||
# Change both perl5_API below to perl5_ABI for binary packages
|
||||
%if 0%{?perl5_API:1} == 1
|
||||
Requires: %{perl5_API}
|
||||
%endif
|
||||
%if 0%{?perl5_cpanlic:1} == 1
|
||||
Requires: common-CPAN-licenses
|
||||
%endif
|
||||
|
||||
%description
|
||||
This module exports the $IPv6_re regular expression that matches any
|
||||
valid IPv6 address as described in "RFC 2373 - 2.2 Text Representation
|
||||
of Addresses" but ::. Any string not compliant with such RFC will be
|
||||
rejected.
|
||||
|
||||
%prep
|
||||
%setup -n %{cpanname}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%if 0%{?runtests:1} == 1
|
||||
make test > %{name}-make.test.log 2>&1
|
||||
%else
|
||||
echo "make test not run during package build." > %{name}-make.test.log
|
||||
%endif
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
%if 0%{?perl5_cpanlic:1} == 1
|
||||
cat > Perl5-Licenses.txt << "EOF"
|
||||
This package specifies it uses the Perl 5 licenses but did not include
|
||||
them in the package source.
|
||||
|
||||
They can be found in the following directory:
|
||||
|
||||
%{perl5_cpanlic}/Perl5/
|
||||
|
||||
EOF
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{perl5_vendorlib}/Regexp
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/Regexp/IPv6.pm
|
||||
%attr(0644,root,root) %{_mandir}/man3/Regexp::IPv6.3*
|
||||
%if 0%{?perl5_cpanlic:1} == 1
|
||||
%license Perl5-Licenses.txt README
|
||||
%doc Changes README Perl5-Licenses.txt
|
||||
%else
|
||||
%license README
|
||||
%doc Changes README
|
||||
%endif
|
||||
%doc %{name}-make.test.log
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Apr 29 2023 Michael A. Peters <anymouseprophet@gmail.com> - 0.03-0.rc1
|
||||
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)
|
180
SPECS/perl-URI.spec
Normal file
180
SPECS/perl-URI.spec
Normal file
@ -0,0 +1,180 @@
|
||||
%global cpanname URI
|
||||
|
||||
Name: perl-%{cpanname}
|
||||
Version: 5.17
|
||||
Release: %{?repo}0.rc1%{?dist}
|
||||
Summary: Uniform Resource Identifiers (absolute and relative)
|
||||
BuildArch: noarch
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL-1.0-or-later or Artistic-1.0-Perl
|
||||
URL: https://metacpan.org/dist/%{cpanname}
|
||||
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-%{version}.tar.gz
|
||||
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
# for test
|
||||
%if 0%{?runtests:1} == 1
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(JSON::PP)
|
||||
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Test::Needs)
|
||||
BuildRequires: perl(Test::Warnings)
|
||||
BuildRequires: perl(utf8)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Encode)
|
||||
BuildRequires: perl(Exporter) >= 5.57
|
||||
BuildRequires: perl(MIME::Base64) >= 2
|
||||
BuildRequires: perl(Net::Domain)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(integer)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(parent)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(utf8)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(Business::ISBN) >= 3.005
|
||||
BuildRequires: perl(Regexp::IPv6) >= 0.03
|
||||
%endif
|
||||
# runtime
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Cwd)
|
||||
Requires: perl(Data::Dumper)
|
||||
Requires: perl(Encode)
|
||||
Requires: perl(Exporter) >= 5.57
|
||||
Requires: perl(MIME::Base64) >= 2
|
||||
Requires: perl(Net::Domain)
|
||||
Requires: perl(Scalar::Util)
|
||||
Requires: perl(constant)
|
||||
Requires: perl(integer)
|
||||
Requires: perl(overload)
|
||||
Requires: perl(parent)
|
||||
Requires: perl(strict)
|
||||
Requires: perl(utf8)
|
||||
Requires: perl(warnings)
|
||||
Requires: perl(Business::ISBN) >= 3.005
|
||||
Requires: perl(Regexp::IPv6) >= 0.03
|
||||
# /end runtime
|
||||
# Change both perl5_API below to perl5_ABI for binary packages
|
||||
%if 0%{?perl5_API:1} == 1
|
||||
Requires: %{perl5_API}
|
||||
%endif
|
||||
|
||||
%description
|
||||
This module implements the URI class. Objects of this class represent
|
||||
"Uniform Resource Identifier references" as specified in RFC 2396 (and
|
||||
updated by RFC 2732).
|
||||
|
||||
A Uniform Resource Identifier is a compact string of characters that
|
||||
identifies an abstract or physical resource. A Uniform Resource
|
||||
Identifier can be further classified as either a Uniform Resource Locator
|
||||
(URL) or a Uniform Resource Name (URN). The distinction between URL and
|
||||
URN does not matter to the URI class interface. A "URI-reference" is a
|
||||
URI that may have additional information attached in the form of a
|
||||
fragment identifier.
|
||||
|
||||
%prep
|
||||
%setup -n %{cpanname}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%if 0%{?runtests:1} == 1
|
||||
make test > %{name}-make.test.log 2>&1
|
||||
%else
|
||||
echo "make test not run during package build." > %{name}-make.test.log
|
||||
%endif
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI.pm
|
||||
%dir %{perl5_vendorlib}/URI
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/Escape.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/Heuristic.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/IRI.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/QueryParam.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/Split.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/URL.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/WithBase.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/_foreign.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/_generic.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/_idna.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/_ldap.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/_login.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/_punycode.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/_query.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/_segment.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/_server.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/_userpass.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/data.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/file.pm
|
||||
%dir %{perl5_vendorlib}/URI/file
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/file/Base.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/file/FAT.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/file/Mac.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/file/OS2.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/file/QNX.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/file/Unix.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/file/Win32.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/ftp.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/gopher.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/http.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/https.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/ldap.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/ldapi.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/ldaps.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/mailto.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/mms.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/news.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/nntp.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/nntps.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/pop.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/rlogin.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/rsync.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/rtsp.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/rtspu.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/sftp.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/sip.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/sips.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/snews.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/ssh.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/telnet.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/tn3270.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/urn.pm
|
||||
%dir %{perl5_vendorlib}/URI/urn
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/urn/isbn.pm
|
||||
%attr(0444,root,root) %{perl5_vendorlib}/URI/urn/oid.pm
|
||||
%attr(0644,root,root) %{_mandir}/man3/URI.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/URI::Escape.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/URI::Heuristic.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/URI::QueryParam.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/URI::Split.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/URI::URL.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/URI::WithBase.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/URI::_punycode.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/URI::data.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/URI::file.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/URI::ldap.3*
|
||||
%license LICENSE
|
||||
%doc Changes CONTRIBUTING.md LICENSE README
|
||||
%doc %{name}-make.test.log
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Apr 29 2023 Michael A. Peters <anymouseprophet@gmail.com> - 5.17-0.rc1
|
||||
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)
|
Loading…
Reference in New Issue
Block a user