Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-pdcurses
mingw32-pdcurses.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-pdcurses.spec of Package mingw32-pdcurses
# # spec file for package mingw32-pdcurses # # 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/ # Name: mingw32-pdcurses Version: 3.4 Release: 0 Summary: Curses library for MinGW License: SUSE-Public-Domain Group: Development/Libraries Url: http://pdcurses.sourceforge.net/ Source0: http://dl.sourceforge.net/sourceforge/pdcurses/PDCurses-%{version}.tar.gz #!BuildIgnore: post-build-checks Patch0: mingw32-pdcurses-3.4-build.patch BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-filesystem >= 26 %_mingw32_package_header_debug BuildArch: noarch %description PDCurses is a public domain curses library for DOS, OS/2, Win32, X11 and SDL, implementing most of the functions available in X/Open and System V R4 curses. It supports many compilers for these platforms. The X11 port lets you recompile existing text-mode curses programs to produce native X11 applications. Note that ncurses is not available for MinGW / Windows. Applications which need curses functionality can use this package, provided they don't use any of the extensions specific to ncurses. %package devel Summary: Curses library for MinGW Group: Development/Libraries %description devel PDCurses is a public domain curses library for DOS, OS/2, Win32, X11 and SDL, implementing most of the functions available in X/Open and System V R4 curses. It supports many compilers for these platforms. The X11 port lets you recompile existing text-mode curses programs to produce native X11 applications. Note that ncurses is not available for MinGW / Windows. Applications which need curses functionality can use this package, provided they don't use any of the extensions specific to ncurses. %package progs Summary: Curses library for MinGW Group: Development/Libraries %description progs PDCurses is a public domain curses library for DOS, OS/2, Win32, X11 and SDL, implementing most of the functions available in X/Open and System V R4 curses. It supports many compilers for these platforms. The X11 port lets you recompile existing text-mode curses programs to produce native X11 applications. Note that ncurses is not available for MinGW / Windows. Applications which need curses functionality can use this package, provided they don't use any of the extensions specific to ncurses. %_mingw32_debug_package %prep %setup -q -n PDCurses-%{version} %patch -P 0 -p1 %build pushd win32 make -f mingwin32.mak \ CC=%{_mingw32_cc} \ LINK=%{_mingw32_cc} \ WIDE=Y UTF8=Y DLL=Y popd %install mkdir -p %{buildroot}%{_mingw32_bindir} mkdir -p %{buildroot}%{_mingw32_libdir} mkdir -p %{buildroot}%{_mingw32_includedir} install win32/*.exe %{buildroot}%{_mingw32_bindir} install win32/pdcurses.dll %{buildroot}%{_mingw32_bindir}/pdcurses.dll install win32/pdcurses.a %{buildroot}%{_mingw32_libdir}/libpdcurses.dll.a install curses.h panel.h term.h %{buildroot}%{_mingw32_includedir} %files %defattr(-,root,root) %{_mingw32_bindir}/pdcurses.dll %files devel %defattr(-,root,root) %{_mingw32_libdir}/libpdcurses.dll.a %{_mingw32_includedir}/curses.h %{_mingw32_includedir}/panel.h %{_mingw32_includedir}/term.h %files progs %defattr(-,root,root) %{_mingw32_bindir}/firework.exe %{_mingw32_bindir}/newdemo.exe %{_mingw32_bindir}/ptest.exe %{_mingw32_bindir}/rain.exe %{_mingw32_bindir}/testcurs.exe %{_mingw32_bindir}/tuidemo.exe %{_mingw32_bindir}/xmas.exe %{_mingw32_bindir}/worm.exe %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