From ee3485a9a80dc1ce10f9c9dac0ca58ffcd827413 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 7 Feb 2021 22:55:44 +0100 Subject: [PATCH] Initial commit --- .gitattributes | 1 + .tito/releasers.conf | 1 + .tito/tito.props | 5 ++- Auth-Yubikey_WebClient-4.02.tar.gz | 3 ++ perl-Auth-Yubikey_WebClient.spec | 59 ++++++++++++++++++++++++++++++ 5 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 .gitattributes create mode 120000 .tito/releasers.conf create mode 100644 Auth-Yubikey_WebClient-4.02.tar.gz create mode 100644 perl-Auth-Yubikey_WebClient.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.tito/releasers.conf b/.tito/releasers.conf new file mode 120000 index 0000000..867c32f --- /dev/null +++ b/.tito/releasers.conf @@ -0,0 +1 @@ +../../tito_libs/releasers.conf \ No newline at end of file diff --git a/.tito/tito.props b/.tito/tito.props index eab3f19..fb351a8 100644 --- a/.tito/tito.props +++ b/.tito/tito.props @@ -1,5 +1,6 @@ [buildconfig] -builder = tito.builder.Builder -tagger = tito.tagger.VersionTagger +builder = fws.builder.GitLfsBuilder +tagger = tito.tagger.ReleaseTagger changelog_do_not_remove_cherrypick = 0 changelog_format = %s (%ae) +lib_dir = ../tito_libs diff --git a/Auth-Yubikey_WebClient-4.02.tar.gz b/Auth-Yubikey_WebClient-4.02.tar.gz new file mode 100644 index 0000000..048e35e --- /dev/null +++ b/Auth-Yubikey_WebClient-4.02.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:776fb87529261caf5c9ee7027425e36889fab1996a501cb5030b67b3c9c67bfe +size 5649 diff --git a/perl-Auth-Yubikey_WebClient.spec b/perl-Auth-Yubikey_WebClient.spec new file mode 100644 index 0000000..c3fe02e --- /dev/null +++ b/perl-Auth-Yubikey_WebClient.spec @@ -0,0 +1,59 @@ +Name: perl-Auth-Yubikey_WebClient +Version: 4.02 +Release: 1%{?dist} +Summary: Auth::Yubikey_WebClient Perl module +License: Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Auth-Yubikey_WebClient/ +Source0: http://www.cpan.org/authors/id/M/MA/MASSYN/Auth-Yubikey_WebClient-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Digest::HMAC_SHA1) >= 1 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(LWP::UserAgent) >= 1 +BuildRequires: perl(Test::More) +BuildRequires: perl(URI::Escape) >= 1 +Requires: perl(Digest::HMAC_SHA1) >= 1 +Requires: perl(LWP::UserAgent) >= 1 +Requires: perl(Test::More) +Requires: perl(URI::Escape) >= 1 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +The README is used to introduce the module and provide instructions on how +to install the module, any machine dependencies it may have (for example C +compilers and installed libraries) and any other information that should be +provided before the module is installed. + +%prep +%setup -q -n Auth-Yubikey_WebClient-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes META.json README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jun 12 2020 Daniel Berteaud - 4.02-1 +- Specfile autogenerated by cpanspec 1.78.