Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
74c6116ac4 | |||
6032a8bf9a | |||
7f5b092b14 |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The current state of perl in the devel project build (devel:languages:perl)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
@@ -11,7 +11,7 @@
|
|||||||
# foo.patch: -p1
|
# foo.patch: -p1
|
||||||
# bar.patch:
|
# bar.patch:
|
||||||
preamble: |-
|
preamble: |-
|
||||||
BuildRequires: ncurses5-devel
|
BuildRequires: ncurses-devel
|
||||||
post_prep: |-
|
post_prep: |-
|
||||||
sed -i '1s| /usr//bin/perl|%{__perl}|' demo.form
|
sed -i '1s| /usr//bin/perl|%{__perl}|' demo.form
|
||||||
sed -i '1s| /usr/bin/perl|%{__perl}|' demo* gdc testsyms
|
sed -i '1s| /usr/bin/perl|%{__perl}|' demo* gdc testsyms
|
||||||
@@ -23,8 +23,8 @@ post_prep: |-
|
|||||||
license: Perl
|
license: Perl
|
||||||
#skip_noarch: 1
|
#skip_noarch: 1
|
||||||
custom_build: |-
|
custom_build: |-
|
||||||
export CURSES_CFLAGS="-I/usr/include/ncurses5/ncursesw"
|
export CURSES_CFLAGS="-I/usr/include/ncursesw"
|
||||||
export CURSES_LDFLAGS="-L%{_libdir}/ncurses5 -lncursesw"
|
export CURSES_LDFLAGS="-L%{_libdir}/ncurses -lncursesw"
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" PANELS MENUS FORMS
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" PANELS MENUS FORMS
|
||||||
%make_build
|
%make_build
|
||||||
#custom_test: |-
|
#custom_test: |-
|
||||||
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 6 22:48:52 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Fix build by depending on ncurses-devel instead of ncurses5-devel
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 28 03:09:21 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
Sun Apr 28 03:09:21 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Curses
|
# spec file for package perl-Curses
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -27,6 +27,7 @@ Summary: Terminal screen handling and optimization
|
|||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/G/GI/GIRAFFED/%{cpan_name}-%{cpan_version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/G/GI/GIRAFFED/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
|
Source100: README.md
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
Provides: perl(Curses) = %{version}
|
Provides: perl(Curses) = %{version}
|
||||||
@@ -40,7 +41,7 @@ Provides: perl(Curses::Window)
|
|||||||
%undefine __perllib_provides
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
BuildRequires: ncurses5-devel
|
BuildRequires: ncurses-devel
|
||||||
# MANUAL END
|
# MANUAL END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -52,7 +53,7 @@ document describes the interface itself, and assumes that you already know
|
|||||||
how your system's curses(3) library works.
|
how your system's curses(3) library works.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
@@ -62,8 +63,8 @@ chmod +x makeConfig
|
|||||||
# MANUAL END
|
# MANUAL END
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CURSES_CFLAGS="-I/usr/include/ncurses5/ncursesw"
|
export CURSES_CFLAGS="-I/usr/include/ncursesw"
|
||||||
export CURSES_LDFLAGS="-L%{_libdir}/ncurses5 -lncursesw"
|
export CURSES_LDFLAGS="-L%{_libdir}/ncurses -lncursesw"
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" PANELS MENUS FORMS
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" PANELS MENUS FORMS
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user