diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0569488 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Term-UI-0.38.tar.gz diff --git a/.perl516-perl-Term-UI.metadata b/.perl516-perl-Term-UI.metadata new file mode 100644 index 0000000..c6a011d --- /dev/null +++ b/.perl516-perl-Term-UI.metadata @@ -0,0 +1 @@ +7b306a01f0bbff603e8b3563fe9643ba2be412fb SOURCES/Term-UI-0.38.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index ce46a88..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -\ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Term-UI.spec b/SPECS/perl-Term-UI.spec new file mode 100644 index 0000000..e979b12 --- /dev/null +++ b/SPECS/perl-Term-UI.spec @@ -0,0 +1,83 @@ +%{?scl:%scl_package perl-Term-UI} +%{!?scl:%global pkg_name %{name}} + +Name: %{?scl_prefix}perl-Term-UI +Version: 0.38 +Release: 2%{?dist} +Summary: Term::ReadLine user interface made easy +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Term-UI/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Term-UI-%{version}.tar.gz +BuildArch: noarch +BuildRequires: %{?scl_prefix}perl +BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) +BuildRequires: %{?scl_prefix}perl(strict) +# Run-time: +BuildRequires: %{?scl_prefix}perl(base) +BuildRequires: %{?scl_prefix}perl(Carp) +%if 0%(perl -e 'print $] > 5.017') +BuildRequires: %{?scl_prefix}perl(deprecate) +%endif +BuildRequires: %{?scl_prefix}perl(Exporter) +BuildRequires: %{?scl_prefix}perl(if) +BuildRequires: %{?scl_prefix}perl(Locale::Maketext::Simple) +BuildRequires: %{?scl_prefix}perl(Log::Message) +BuildRequires: %{?scl_prefix}perl(Log::Message::Simple) +BuildRequires: %{?scl_prefix}perl(Params::Check) +BuildRequires: %{?scl_prefix}perl(Term::ReadLine) +BuildRequires: %{?scl_prefix}perl(vars) +# Tests: +BuildRequires: %{?scl_prefix}perl(File::Spec) +BuildRequires: %{?scl_prefix}perl(lib) +BuildRequires: %{?scl_prefix}perl(Test::More) +%{?scl:%global perl_version %(scl enable %{scl} 'eval "`perl -V:version`"; echo $version')} +%{!?scl:%global perl_version %(eval "`perl -V:version`"; echo $version)} +Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%{perl_version}) +%if 0%(perl -e 'print $] > 5.017') +Requires: %{?scl_prefix}perl(deprecate) +%endif + +%description +Term::UI is a transparent way of eliminating the overhead of having to +format a question and then validate the reply, informing the user if the +answer was not proper and re-issuing the question. + +%prep +%setup -q -n Term-UI-%{version} + +%build +%{?scl:scl enable %{scl} "} +perl Makefile.PL INSTALLDIRS=vendor +%{?scl:"} +%{?scl:scl enable %{scl} "} +make %{?_smp_mflags} +%{?scl:"} + +%install +%{?scl:scl enable %{scl} "} +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{?scl:"} +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{?scl:scl enable %{scl} "} +make test +%{?scl:"} + +%files +%doc CHANGES README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Dec 11 2013 Jitka Plesnikova - 0.38-2 +- Rebuilt with newer perl516-build +- Resolves: rhbz#1040474 + +* Wed Nov 13 2013 Jitka Plesnikova - 0.38-1 +- 0.38 bump + +* Mon Feb 18 2013 Jitka Plesnikova - 0.34-1 +- SCL package - initial import