Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-ncurses
mingw32-ncurses.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-ncurses.spec of Package mingw32-ncurses
# # spec file for package mingw32-ncurses # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # %define _name ncurses %define enable_wide 1 %define _release 20150509 Name: mingw32-ncurses Version: 5.9 Release: 0 Summary: New curses Libraries License: MIT Group: System/Base Url: http://www.gnu.org/software/ncurses/ Source0: ftp://invisible-island.net/%{_name}/current/%{_name}-%{version}-%{_release}.tgz Source1000: %{name}-rpmlintrc BuildRequires: autoconf BuildRequires: automake BuildRequires: intltool BuildRequires: libtool BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-cross-pkg-config # need non cross-compiled tic BuildRequires: ncurses-devel %_mingw32_package_header_debug BuildArch: noarch #!BuildIgnore: post-build-checks %description As soon as a text application needs to directly control its output to the screen (if it wants to place the cursor at location (x,y) then write text), ncurses is used. The panel and the forms libraries are included in this package. These new libraries support color, special characters, and panels. %package -n mingw32-libncurses6 Summary: MinGW Windows port of the New Curses library Group: System/Libraries Obsoletes: mingw32-ncurses %description -n mingw32-libncurses6 As soon as a text application needs to directly control its output to the screen (if it wants to place the cursor at location (x,y) then write text), ncurses is used. The panel and the forms libraries are included in this package. These new libraries support color, special characters, and panels. %package devel Summary: New curses Libraries Group: Development/Libraries/C and C++ Requires: mingw32-libncurses6 = %{version} %description devel As soon as a text application needs to directly control its output to the screen (if it wants to place the cursor at location (x,y) then write text), ncurses is used. The panel and the forms libraries are included in this package. These new libraries support color, special characters, and panels. This package contains all necessary include files and libraries needed to develop applications that require these. %_mingw32_debug_package %prep %setup -q -n %{_name}-%{version}-%{_release} %build echo "lt_cv_deplibs_check_method='pass_all'" >> %{_mingw32_cache} PATH="%{_mingw32_bindir}:$PATH"; export PATH; \ CPPFLAGS="-std=gnu89" ; export CPPFLAGS; \ MINGW32_CXXFLAGS="$_mingw32_cxxflags -std=c++11" \ %{_mingw32_configure} \ --disable-echo \ --disable-db-install \ --disable-getcap \ --disable-hard-tabs \ --disable-overwrite \ --disable-termcap \ --enable-const \ --enable-ext-mouse \ --enable-interop \ --enable-sp-funcs \ --enable-term-driver \ --enable-warnings \ --with-cxx-shared \ --with-develop \ --with-shared \ --with-tparm-arg=intptr_t \ --with-trace \ --with-xterm-kbs=DEL \ --without-ada \ --without-debug \ --without-progs \ %if %{enable_wide} --enable-ext-colors \ --enable-widec \ %endif --without-tests \ --enable-pc-files \ --with-pkg-config-libdir=%{_mingw32_libdir}/pkgconfig # other win32 recommended switches: # --disable-leaks --disable-macros # --verbose --without-manpages %{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make} %if %{enable_wide} %define wide_suffix w %else %define wide_suffix %{nil} %endif %install %{_mingw32_make} DESTDIR=%{buildroot} install rm -f %{buildroot}%{_mingw32_libdir}/libform%{wide_suffix}.a rm -f %{buildroot}%{_mingw32_libdir}/libmenu%{wide_suffix}.a rm -f %{buildroot}%{_mingw32_libdir}/libncurses++%{wide_suffix}.a rm -f %{buildroot}%{_mingw32_libdir}/libncurses%{wide_suffix}.a rm -f %{buildroot}%{_mingw32_libdir}/libpanel%{wide_suffix}.a %files -n mingw32-libncurses6 %defattr(-,root,root) %{_mingw32_bindir}/libform%{wide_suffix}6.dll %{_mingw32_bindir}/libmenu%{wide_suffix}6.dll %{_mingw32_bindir}/libncurses++%{wide_suffix}6.dll %{_mingw32_bindir}/libncurses%{wide_suffix}6.dll %{_mingw32_bindir}/libpanel%{wide_suffix}6.dll %files devel %defattr(-,root,root) %{_mingw32_bindir}/ncurses%{wide_suffix}6-config %{_mingw32_includedir}/ncurses%{wide_suffix}/ %{_mingw32_libdir}/libform%{wide_suffix}.dll.a %{_mingw32_libdir}/libmenu%{wide_suffix}.dll.a %{_mingw32_libdir}/libncurses++%{wide_suffix}.dll.a %{_mingw32_libdir}/libncurses%{wide_suffix}.dll.a %{_mingw32_libdir}/libpanel%{wide_suffix}.dll.a %{_mingw32_libdir}/pkgconfig %{_mingw32_mandir}/man1/* %{_mingw32_mandir}/man3/* %{_mingw32_mandir}/man5/* %{_mingw32_mandir}/man7/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor