!37 [sync] PR-36: split static from ncurses-devel

From: @openeuler-sync-bot 
Reviewed-by: @yanan-rock 
Signed-off-by: @yanan-rock
This commit is contained in:
openeuler-ci-bot 2022-11-14 12:01:41 +00:00 committed by Gitee
commit 9faa2c6dc1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: ncurses Name: ncurses
Version: 6.3 Version: 6.3
Release: 4 Release: 5
Summary: Terminal control library Summary: Terminal control library
License: MIT License: MIT
URL: https://invisible-island.net/ncurses/ncurses.html URL: https://invisible-island.net/ncurses/ncurses.html
@ -49,8 +49,6 @@ Summary: Development files for the ncurses library
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-c++-libs = %{version}-%{release} Requires: %{name}-c++-libs = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
Provides: %{name}-static = %{version}-%{release}
Obsoletes: %{name}-static < %{version}-%{release}
Provides: libtermcap-devel = 2.0.8-48 Provides: libtermcap-devel = 2.0.8-48
Obsoletes: libtermcap-devel < 2.0.8-48 Obsoletes: libtermcap-devel < 2.0.8-48
@ -74,6 +72,13 @@ discontinued 4.4 BSD classic curses library.
This package contains the ABI version 5 of the ncurses libraries for This package contains the ABI version 5 of the ncurses libraries for
compatibility. compatibility.
%package static
Summary: Static libraries for the ncurses library
Requires: %{name}-devel = %{version}-%{release}
%description static
The ncurses-static package includes static libraries of the ncurses library.
%package help %package help
Summary: Ncurse help document Summary: Ncurse help document
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -214,7 +219,6 @@ xz NEWS
%files devel %files devel
%{_bindir}/ncurses*-config %{_bindir}/ncurses*-config
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/lib*.a
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_includedir}/ncurses/*.h %{_includedir}/ncurses/*.h
%{_includedir}/ncursesw/*.h %{_includedir}/ncursesw/*.h
@ -223,6 +227,9 @@ xz NEWS
%files compat-libs %files compat-libs
%{_libdir}/lib*.so.5* %{_libdir}/lib*.so.5*
%files static
%{_libdir}/lib*.a
%files help %files help
%doc NEWS.xz README TO-DO %doc NEWS.xz README TO-DO
%doc doc/html/hackguide.html %doc doc/html/hackguide.html
@ -235,6 +242,12 @@ xz NEWS
%{_mandir}/man7/* %{_mandir}/man7/*
%changelog %changelog
* Thu Nov 10 2022 yanglu <yanglu72@h-partners.com> - 6.3-5
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:split static from ncurses-devel
* Thu Jun 16 2022 yanglu <yanglu72@h-partners.com> - 6.3-4 * Thu Jun 16 2022 yanglu <yanglu72@h-partners.com> - 6.3-4
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA