Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-TermReadKey
perl-TermReadKey.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-TermReadKey.spec of Package perl-TermReadKey
# # spec file for package perl-TermReadKey (Version 2.30) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define real_name TermReadKey %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib) %define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib) %define maketest 0 Name: perl-%{real_name} Version: 2.30 Release: 1 AutoReqProv: on Group: Development/Libraries/Perl License: Any permissive Url: http://cpan.org/modules/by-module/Term/ Summary: A Perl Module for Simple Terminal Control Source: http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/%{real_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: /bin/stty BuildRequires: perl(ExtUtils::MakeMaker) %if 0%{?fedora_version} BuildRequires: perl-devel %endif %description ReadKey provides ioctl control for terminals and Win32 consoles so the input modes can be changed (thus allowing reads of a single character at a time), and also provides non-blocking reads of stdin as well as several other terminal related features, including retrieval and modification of the screen size and retrieval and modification of the control characters. Authors: -------- Kenneth Albanowski <kjahds@kjahds.com> %prep %setup -q -n %{real_name}-%{version} chmod -R u+w %{_builddir}/%{real_name}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL `%{__perl} -MExtUtils::MakeMaker -e ' print qq|PREFIX=%{buildroot}%{_prefix}| if \$ExtUtils::MakeMaker::VERSION =~ /5\.9[1-6]|6\.0[0-5]/ '` %{__make} %check %if %maketest %ifnarch s390 s390x sparc sparc64 %{__make} test %endif %endif %install %if 0%{?suse_version} %perl_make_install %perl_process_packlist %else make DESTDIR=$RPM_BUILD_ROOT install_vendor find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod |xargs -i rm -f {} find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null %endif find %{buildroot} -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" |xargs -i rm -f {} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %doc %{_mandir}/man?/* %{perl_vendorarch}/Term %{perl_vendorarch}/auto/Term %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog * Thu May 31 2012 Holger Manthey <holger.manthey@bertelsmann.de> - remove perl-version require * Thu Apr 30 2009 Holger Manthey <holger.manthey@bertelsmann.de> - build for centos * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Aug 1 2005 mjancar@suse.cz - update to 2.30 * Fri Mar 26 2004 kukuk@suse.de - Fix Requires (/bin/stty is needed, not XFree86) * Wed Feb 18 2004 kukuk@suse.de - Remove unused packages from neededforbuild - Don't run test suite on machines without /dev/tty * Sat Jan 10 2004 adrian@suse.de - build as user * Fri Aug 22 2003 mjancar@suse.cz - require the perl version we build with * Tue Jul 15 2003 mjancar@suse.cz - adapt to perl-5.8.1 - use %%perl_process_packlist * Wed Jun 18 2003 coolo@suse.de - package directories * Tue May 20 2003 mjancar@suse.cz - remove unpackaged files * Tue Nov 12 2002 prehak@suse.cz - updated to version 2.21 - updated neededforbuild after xf86-rename * Mon Jul 22 2002 prehak@suse.cz - update to version 2.20 - enabled make test * Tue Jul 2 2002 mls@suse.de - remove race in .packlist generation * Thu Jan 17 2002 rvasice@suse.cz - update to version 2.16 * Fri Nov 2 2001 rvasice@suse.cz - initial package release (version 2.14)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor