forked from pool/perl-Term-Terminfo
Accepting request 851086 from home:M0ses:tmp
- fixed summary - added BuildRequires ncurses5-devel - re-run cpanspec OBS-URL: https://build.opensuse.org/request/show/851086 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Term-Terminfo?expand=0&rev=3
This commit is contained in:
29
cpanspec.yml
Normal file
29
cpanspec.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
preamble: |-
|
||||||
|
BuildRequires: ncurses5-devel
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
||||||
|
|
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 26 13:52:20 UTC 2020 - Frank Schreiner <FSchreiner@suse.com>
|
||||||
|
|
||||||
|
- fixed summary
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 24 08:40:49 UTC 2020 - Frank Schreiner <FSchreiner@suse.com>
|
||||||
|
|
||||||
|
- added BuildRequires ncurses5-devel
|
||||||
|
- re-run cpanspec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 10 10:59:56 UTC 2020 - Frank Schreiner <FSchreiner@suse.com>
|
Sun May 10 10:59:56 UTC 2020 - Frank Schreiner <FSchreiner@suse.com>
|
||||||
|
|
||||||
|
@@ -19,74 +19,61 @@
|
|||||||
Name: perl-Term-Terminfo
|
Name: perl-Term-Terminfo
|
||||||
Version: 0.09
|
Version: 0.09
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Access the F<terminfo> database
|
%define cpan_name Term-Terminfo
|
||||||
License: GPL-2.0-or-later OR Artistic-1.0(GPL-2.0-or-later OR Artistic-1.0)
|
Summary: Access the terminfo database
|
||||||
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Term-Terminfo-%{version}.tar.gz
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
URL: http://search.cpan.org/dist/Term-Terminfo
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
BuildRequires: perl
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: glibc-devel
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: ncurses-devel
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: pkgconfig
|
|
||||||
BuildRequires: perl(ExtUtils::CBuilder)
|
BuildRequires: perl(ExtUtils::CBuilder)
|
||||||
BuildRequires: perl(ExtUtils::CChecker) >= 0.02
|
BuildRequires: perl(ExtUtils::CChecker) >= 0.02
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build) >= 0.400400
|
||||||
BuildRequires: perl(Module::Build::Compat)
|
|
||||||
BuildRequires: perl(Module::Build::Using::PkgConfig)
|
BuildRequires: perl(Module::Build::Using::PkgConfig)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
Provides: perl(Term::Terminfo) = %{version}
|
%{perl_requires}
|
||||||
|
# MANUAL BEGIN
|
||||||
|
BuildRequires: ncurses5-devel
|
||||||
|
# MANUAL END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Objects in this class provide access to terminfo database entires.
|
Objects in this class provide access to _terminfo_ database entires.
|
||||||
This database provides information about a terminal, in three separate
|
|
||||||
sets of capabilities. Flag capabilities indicate the presence of a
|
This database provides information about a terminal, in three separate sets
|
||||||
particular ability, feature, or bug simply by their presence. Number
|
of capabilities. Flag capabilities indicate the presence of a particular
|
||||||
capabilities give the size, count or other numeric detail of some feature
|
ability, feature, or bug simply by their presence. Number capabilities give
|
||||||
of the terminal. String capabilities are usually control strings that the
|
the size, count or other numeric detail of some feature of the terminal.
|
||||||
terminal will recognise, or send.
|
String capabilities are usually control strings that the terminal will
|
||||||
|
recognise, or send.
|
||||||
|
|
||||||
Capabilities each have two names; a short name called the capname, and a
|
Capabilities each have two names; a short name called the capname, and a
|
||||||
longer name called the varname. This class provides two sets of methods,
|
longer name called the varname. This class provides two sets of methods,
|
||||||
one that works on capnames, one that work on varnames.
|
one that works on capnames, one that work on varnames.
|
||||||
This module optionally uses unibilium to access the terminfo(5) database,
|
|
||||||
if it is available at compile-time. If not, it will use <term.h> and
|
This module optionally uses _unibilium_ to access the terminfo(5) database,
|
||||||
-lcurses. For more detail, see the "SEE ALSO" section below.
|
if it is available at compile-time. If not, it will use _<term.h>_ and
|
||||||
|
_-lcurses_. For more detail, see the SEE ALSO section below.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Term-Terminfo-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
TERM=xterm \
|
perl Build.PL installdirs=vendor optimize="%{optflags}"
|
||||||
LDFLAGS="-L%{_libdir}" \
|
./Build build flags=%{?_smp_mflags}
|
||||||
%__perl ./Build.PL
|
|
||||||
TERM=xterm \
|
|
||||||
LDFLAGS="-L%{_libdir}" \
|
|
||||||
./Build
|
|
||||||
|
|
||||||
%install
|
|
||||||
TERM=xterm \
|
|
||||||
LDFLAGS="-L%{_libdir}" \
|
|
||||||
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
|
||||||
%perl_process_packlist
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
TERM=xterm \
|
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%clean
|
%install
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%dir %{perl_vendorarch}/Term
|
|
||||||
%{perl_vendorarch}/Term/Terminfo.pm
|
|
||||||
%dir %{perl_vendorarch}/auto/Term
|
|
||||||
%{perl_vendorarch}/auto/Term/Terminfo
|
|
||||||
%doc %{perl_man3dir}/Term::Terminfo.%{perl_man3ext}%{ext_man}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user