SHA256
1
0
forked from pool/ncurses

Accepting request 674681 from home:jengelh:branches:Base:System

- Implement library packaging guideline: split static libraries.

OBS-URL: https://build.opensuse.org/request/show/674681
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=411
This commit is contained in:
Dr. Werner Fink 2019-02-18 08:55:24 +00:00 committed by Git OBS Bridge
parent fbd20f1e7e
commit ce653119c0
2 changed files with 60 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 13 17:12:33 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Implement library packaging guideline: split static libraries.
-------------------------------------------------------------------
Mon Feb 11 09:46:34 UTC 2019 - Dr. Werner Fink <werner@suse.de>

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -215,6 +215,30 @@ Obsoletes: ncurses-devel-64bit
This package contains the headers needed to build against
the ncurses library in its ABI version 6 form.
%package -n ncurses-devel-static
Summary: Static libraries for the ncurses6 terminal control library
License: MIT
Group: Development/Libraries/C and C++
Provides: ncurses-devel:%{_libdir}/libform.a
Provides: ncurses-devel:%{_libdir}/libformw.a
Provides: ncurses-devel:%{_libdir}/libmenu.a
Provides: ncurses-devel:%{_libdir}/libmenuw.a
Provides: ncurses-devel:%{_libdir}/libncurses++.a
Provides: ncurses-devel:%{_libdir}/libncurses++w.a
Provides: ncurses-devel:%{_libdir}/libncurses.a
Provides: ncurses-devel:%{_libdir}/libncurses.a
Provides: ncurses-devel:%{_libdir}/libncursesw.a
Provides: ncurses-devel:%{_libdir}/libpanel.a
Provides: ncurses-devel:%{_libdir}/libpanelw.a
Provides: ncurses-devel:%{_libdir}/libtic.a
Provides: ncurses-devel:%{_libdir}/libticw.a
Provides: ncurses-devel:%{_libdir}/libtinfo.a
Requires: ncurses-devel = %{version}-%{release}
%description -n ncurses-devel-static
This package contains the static library files for
the ncurses library in its ABI version 6 form.
%package -n ncurses5-devel
Summary: Development files for the ncurses5 terminal control library
License: MIT
@ -229,6 +253,30 @@ Requires: ncurses-devel = %{version}-%{release}
This package contains the headers needed to build against
the ncurses library in its ABI version 5 form.
%package -n ncurses5-devel-static
Summary: Static libraries for the ncurses5 terminal control library
License: MIT
Group: Development/Libraries/C and C++
Provides: ncurses5-devel:%{_libdir}/ncurses5/libform.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libformw.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libmenu.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libmenuw.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libncurses++.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libncurses++w.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libncurses.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libncurses.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libncursesw.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libpanel.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libpanelw.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libtic.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libticw.a
Provides: ncurses5-devel:%{_libdir}/ncurses5/libtinfo.a
Requires: ncurses5-devel = %{version}-%{release}
%description -n ncurses5-devel-static
This package contains the static library files for
the ncurses library in its ABI version 5 form.
%package -n tack
Summary: Terminfo action checker
License: GPL-2.0-or-later
@ -1095,7 +1143,6 @@ popd
%{_incdir}/*.h
%{_incdir}/ncurses/*.h
%{_incdir}/ncursesw/*.h
%{_libdir}/lib*.a
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*[clmosuw\+].pc
%doc %{_mandir}/man1/ncurses*6-config.1.gz
@ -1105,6 +1152,9 @@ popd
%doc %{_mandir}/man3/*.gz
%doc %{_mandir}/man7/*.gz
%files -n ncurses-devel-static
%{_libdir}/lib*.a
%files -n ncurses5-devel
%defattr(-,root,root)
%{_bindir}/ncurses*5-config
@ -1115,11 +1165,13 @@ popd
%{_incdir}/ncurses5/ncurses/*.h
%{_incdir}/ncurses5/ncursesw/*.h
%dir %{_libdir}/ncurses5/
%{_libdir}/ncurses5/lib*.a
%{_libdir}/ncurses5/lib*.so
%{_libdir}/pkgconfig/*5.pc
%doc %{_mandir}/man1/ncurses*5-config.1.gz
%files -n ncurses5-devel-static
%{_libdir}/ncurses5/lib*.a
%files -n tack
%defattr(-,root,root)
%{_bindir}/tack