unpack libs subpackage
This commit is contained in:
parent
1f9906c721
commit
67e80c4acf
56
ncurses.spec
56
ncurses.spec
@ -1,7 +1,7 @@
|
|||||||
%global revision 20191109
|
%global revision 20191109
|
||||||
Name: ncurses
|
Name: ncurses
|
||||||
Version: 6.1
|
Version: 6.1
|
||||||
Release: 13
|
Release: 14
|
||||||
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
|
||||||
@ -14,11 +14,10 @@ Patch12: ncurses-kbs.patch
|
|||||||
|
|
||||||
BuildRequires: gcc gcc-c++ gpm-devel pkgconfig
|
BuildRequires: gcc gcc-c++ gpm-devel pkgconfig
|
||||||
|
|
||||||
|
Requires: %{name}-base = %{version}-%{release}
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
Obsoletes: rxvt-unicode-terminfo < 9.22-18
|
Obsoletes: rxvt-unicode-terminfo < 9.22-18
|
||||||
Provides: %{name}-base = %{version}-%{release}
|
|
||||||
Obsoletes: %{name}-base < %{version}-%{release}
|
|
||||||
Provides: %{name}-libs = %{version}-%{release}
|
|
||||||
Obsoletes: %{name}-libs < %{version}-%{release}
|
|
||||||
Provides: %{name}-compat-libs = %{version}-%{release}
|
Provides: %{name}-compat-libs = %{version}-%{release}
|
||||||
Provides: %{name}-compat-libs%{?_isa} = %{version}-%{release}
|
Provides: %{name}-compat-libs%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: %{name}-compat-libs < %{version}-%{release}
|
Obsoletes: %{name}-compat-libs < %{version}-%{release}
|
||||||
@ -34,27 +33,41 @@ format, supports pads and color and multiple highlights and forms
|
|||||||
characters and function-key mapping, and has all the other SVr4-curses
|
characters and function-key mapping, and has all the other SVr4-curses
|
||||||
enhancements over BSD curses. SVr4 curses became the basis of X/Open Curses.
|
enhancements over BSD curses. SVr4 curses became the basis of X/Open Curses.
|
||||||
|
|
||||||
%package devel
|
%package base
|
||||||
|
Summary: Descriptions of common terminals
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description base
|
||||||
|
This package contains descriptions of common terminals.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Libraries for %{name}
|
||||||
|
Requires: %{name}-base = %{version}-%{release}
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
Libraries for %{name}.
|
||||||
|
|
||||||
|
%package devel
|
||||||
Summary: Development files for the ncurses library
|
Summary: Development files for the ncurses library
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
Requires: %{name}-c++-libs = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Obsoletes: %{name}-static = %{version}-%{release}
|
Obsoletes: %{name}-static < %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The header files and libraries for developing applications that use
|
The header files and libraries for developing applications that use
|
||||||
the ncurses terminal handling library.a, including static libraries
|
the ncurses terminal handling library.a, including static libraries
|
||||||
of the ncurses library.
|
of the ncurses library.
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Ncurse help document
|
Summary: Ncurse help document
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
This package contains development documentation, manuals
|
This package contains development documentation, manuals
|
||||||
for interface function, and related documents.
|
for interface function, and related documents.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version}-%{revision} -p1
|
%autosetup -n %{name}-%{version}-%{revision} -p1
|
||||||
|
|
||||||
@ -161,21 +174,28 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/ncurses*5-config
|
|||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/terminfo
|
rm -f $RPM_BUILD_ROOT%{_libdir}/terminfo
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*_g.pc
|
rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*_g.pc
|
||||||
|
|
||||||
xz NEWS
|
xz NEWS
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%files
|
%files -f terms.term
|
||||||
%doc ANNOUNCE AUTHORS
|
%doc ANNOUNCE AUTHORS
|
||||||
%doc c++/README*
|
%doc c++/README*
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/[cirt]*
|
%{_bindir}/[cirt]*
|
||||||
%{_libdir}/lib*.so.5*
|
%{_libdir}/lib*.so.5*
|
||||||
|
%{_libdir}/libncurses++*.so.6*
|
||||||
|
|
||||||
|
%files base -f terms.base
|
||||||
%dir %{_sysconfdir}/terminfo
|
%dir %{_sysconfdir}/terminfo
|
||||||
%{_datadir}/tabset
|
%{_datadir}/tabset
|
||||||
%{_datadir}/terminfo/*
|
%dir %{_datadir}/terminfo
|
||||||
|
|
||||||
|
%files libs
|
||||||
%{_libdir}/lib*.so.6*
|
%{_libdir}/lib*.so.6*
|
||||||
|
%exclude %{_libdir}/libncurses++*.so.6*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_bindir}/ncurses*-config
|
%{_bindir}/ncurses*-config
|
||||||
@ -199,6 +219,12 @@ xz NEWS
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 17 2020 hexiujun <hexiujun1@huawei.com> - 6.1-14
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:unpack libs subpackage
|
||||||
|
|
||||||
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 6.1-13
|
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 6.1-13
|
||||||
- update to 20191102
|
- update to 20191102
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user