forked from pool/perl-Curses
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
c0cbc000fa | |||
8a5dbd8da8 |
@@ -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
|
||||||
@@ -40,7 +40,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 +52,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 +62,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