Projects
Eulaceura:Factory
perl-IO-Prompter
_service:obs_scm:perl-IO-Prompter.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-IO-Prompter.spec of Package perl-IO-Prompter
%global _empty_manifest_terminate_build 0 Name: perl-IO-Prompter Version: 0.004015 Release: 1 Summary: Prompt for input, read it, clean it, return it License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/IO-Prompter/ Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/IO-Prompter-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(Contextual::Return) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(Contextual::Return) Requires: perl(Test::More) %description IO::Prompter exports a single subroutine, prompt, that prints a prompt (but only if the program's selected input and output streams are connected to a terminal), then reads some input, then chomps it, and finally returns an object representing that text. %package help Summary : Prompt for input, read it, clean it, return it Provides: perl-IO-Prompter-doc %description help Man page for Perl-IO-Prompter %prep %setup -q -n IO-Prompter-%{version} %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install export PERL_MM_OPT="" 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/* pushd %{buildroot} touch filelist.lst if [ -d usr/bin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ];then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib ];then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi popd mv %{buildroot}/filelist.lst . %check || : make test %clean rm -rf $RPM_BUILD_ROOT %files -f filelist.lst %defattr(-,root,root,-) %doc Changes META.json README %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Thu Jul 21 2022 Perl_Bot <Perl_Bot@openeuler.org> 0.004015-1 - Specfile autogenerated by Perl_Bot
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2