2012-04-21 02:33:15 +00:00
|
|
|
%?mingw_package_header
|
2009-01-17 11:31:32 +00:00
|
|
|
|
2012-03-07 16:38:04 +00:00
|
|
|
Name: mingw-pdcurses
|
2009-01-17 11:31:32 +00:00
|
|
|
Version: 3.4
|
2015-06-17 20:32:03 +00:00
|
|
|
Release: 17%{?dist}
|
2009-01-17 11:31:32 +00:00
|
|
|
Summary: Curses library for MinGW
|
|
|
|
|
|
|
|
License: Public Domain
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://pdcurses.sourceforge.net/
|
2010-01-13 15:22:00 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/pdcurses/PDCurses-%{version}.tar.gz
|
2009-01-17 11:31:32 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2012-04-21 02:33:15 +00:00
|
|
|
Patch0: mingw-pdcurses-3.4-build.patch
|
2009-01-17 11:31:32 +00:00
|
|
|
|
2012-04-21 02:33:15 +00:00
|
|
|
BuildRequires: mingw32-filesystem >= 95
|
2009-01-17 11:31:32 +00:00
|
|
|
BuildRequires: mingw32-gcc
|
|
|
|
BuildRequires: mingw32-binutils
|
|
|
|
|
2012-04-21 02:33:15 +00:00
|
|
|
BuildRequires: mingw64-filesystem >= 95
|
|
|
|
BuildRequires: mingw64-gcc
|
|
|
|
BuildRequires: mingw64-binutils
|
|
|
|
|
|
|
|
%?mingw_debug_package
|
2009-01-17 11:31:32 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
2012-03-07 16:38:04 +00:00
|
|
|
%package -n mingw32-pdcurses
|
2012-04-21 02:33:15 +00:00
|
|
|
Summary: Curses library for MinGW32
|
2012-03-07 16:38:04 +00:00
|
|
|
|
|
|
|
%description -n mingw32-pdcurses
|
|
|
|
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.
|
|
|
|
|
2012-04-21 02:33:15 +00:00
|
|
|
%package -n mingw64-pdcurses
|
|
|
|
Summary: Curses library for MinGW64
|
|
|
|
|
|
|
|
%description -n mingw64-pdcurses
|
|
|
|
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.
|
|
|
|
|
2012-03-07 16:38:04 +00:00
|
|
|
|
2009-01-17 11:31:32 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n PDCurses-%{version}
|
|
|
|
%patch0 -p1
|
|
|
|
|
2012-04-21 02:33:15 +00:00
|
|
|
cp -a win32 win64
|
2009-01-17 11:31:32 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
pushd win32
|
|
|
|
make -f mingwin32.mak \
|
2012-03-07 16:39:14 +00:00
|
|
|
CC=%{mingw32_cc} \
|
|
|
|
LINK=%{mingw32_cc} \
|
2012-04-21 02:33:15 +00:00
|
|
|
STRIP=%{mingw32_strip} \
|
2009-01-17 11:31:32 +00:00
|
|
|
WIDE=Y UTF8=Y DLL=Y
|
|
|
|
popd
|
|
|
|
|
2012-04-21 02:33:15 +00:00
|
|
|
pushd win64
|
|
|
|
make -f mingwin32.mak \
|
|
|
|
CC=%{mingw64_cc} \
|
|
|
|
LINK=%{mingw64_cc} \
|
|
|
|
STRIP=%{mingw64_strip} \
|
|
|
|
WIDE=Y UTF8=Y DLL=Y
|
|
|
|
popd
|
2009-01-17 11:31:32 +00:00
|
|
|
|
|
|
|
%install
|
2012-03-07 16:39:14 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{mingw32_bindir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{mingw32_libdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{mingw32_includedir}
|
2009-01-17 11:31:32 +00:00
|
|
|
|
2012-03-07 16:39:14 +00:00
|
|
|
install win32/*.exe $RPM_BUILD_ROOT%{mingw32_bindir}
|
|
|
|
install win32/pdcurses.dll $RPM_BUILD_ROOT%{mingw32_bindir}/pdcurses.dll
|
|
|
|
install win32/pdcurses.a $RPM_BUILD_ROOT%{mingw32_libdir}/libpdcurses.dll.a
|
|
|
|
install -m 0644 curses.h panel.h term.h $RPM_BUILD_ROOT%{mingw32_includedir}
|
2009-01-17 11:31:32 +00:00
|
|
|
|
|
|
|
|
2012-04-21 02:33:15 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{mingw64_bindir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{mingw64_libdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{mingw64_includedir}
|
|
|
|
|
|
|
|
install win64/*.exe $RPM_BUILD_ROOT%{mingw64_bindir}
|
|
|
|
install win64/pdcurses.dll $RPM_BUILD_ROOT%{mingw64_bindir}/pdcurses.dll
|
|
|
|
install win64/pdcurses.a $RPM_BUILD_ROOT%{mingw64_libdir}/libpdcurses.dll.a
|
|
|
|
install -m 0644 curses.h panel.h term.h $RPM_BUILD_ROOT%{mingw64_includedir}
|
|
|
|
|
|
|
|
|
2012-03-07 16:38:04 +00:00
|
|
|
%files -n mingw32-pdcurses
|
2012-03-07 16:39:14 +00:00
|
|
|
%{mingw32_bindir}/pdcurses.dll
|
|
|
|
%{mingw32_libdir}/libpdcurses.dll.a
|
|
|
|
%{mingw32_includedir}/curses.h
|
|
|
|
%{mingw32_includedir}/panel.h
|
|
|
|
%{mingw32_includedir}/term.h
|
|
|
|
%{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
|
2009-01-17 11:31:32 +00:00
|
|
|
|
2012-04-21 02:33:15 +00:00
|
|
|
%files -n mingw64-pdcurses
|
|
|
|
%{mingw64_bindir}/pdcurses.dll
|
|
|
|
%{mingw64_libdir}/libpdcurses.dll.a
|
|
|
|
%{mingw64_includedir}/curses.h
|
|
|
|
%{mingw64_includedir}/panel.h
|
|
|
|
%{mingw64_includedir}/term.h
|
|
|
|
%{mingw64_bindir}/firework.exe
|
|
|
|
%{mingw64_bindir}/newdemo.exe
|
|
|
|
%{mingw64_bindir}/ptest.exe
|
|
|
|
%{mingw64_bindir}/rain.exe
|
|
|
|
%{mingw64_bindir}/testcurs.exe
|
|
|
|
%{mingw64_bindir}/tuidemo.exe
|
|
|
|
%{mingw64_bindir}/xmas.exe
|
|
|
|
%{mingw64_bindir}/worm.exe
|
|
|
|
|
2009-01-17 11:31:32 +00:00
|
|
|
|
|
|
|
%changelog
|
2015-06-17 20:32:03 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-07 10:06:57 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 10:58:56 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 07:09:44 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 01:44:52 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-21 02:33:15 +00:00
|
|
|
* Sat Apr 21 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 3.4-12
|
|
|
|
- Add mingw64.
|
|
|
|
- Rework patch.
|
|
|
|
- Rename mingw32-pdcurses-3.4-build.patch into mingw-pdcurses-3.4-build.patch.
|
|
|
|
|
2012-03-07 16:38:04 +00:00
|
|
|
* Wed Mar 07 2012 Kalev Lember <kalevlember@gmail.com> - 3.4-11
|
|
|
|
- Renamed the source package to mingw-pdcurses (#801012)
|
2012-03-07 16:38:55 +00:00
|
|
|
- Modernize the spec file
|
2012-03-07 16:39:14 +00:00
|
|
|
- Use mingw macros without leading underscore
|
2012-03-07 16:38:04 +00:00
|
|
|
|
2012-02-27 19:27:48 +00:00
|
|
|
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.4-10
|
|
|
|
- Rebuild against the mingw-w64 toolchain
|
2012-02-27 20:11:41 +00:00
|
|
|
- Use the correct toolchain tools in the patch
|
2012-02-27 19:27:48 +00:00
|
|
|
|
2012-01-13 10:06:34 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 19:01:28 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-01-13 15:22:00 +00:00
|
|
|
* Wed Jan 13 2010 Richard W.M. Jones <rjones@redhat.com> - 3.4-7
|
|
|
|
- Fix Source0 URL.
|
|
|
|
|
2009-07-25 14:28:25 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 01:20:26 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-20 23:29:16 +00:00
|
|
|
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 3.4-4
|
|
|
|
- Rebuild for mingw32-gcc 4.4
|
|
|
|
|
2009-01-17 11:31:32 +00:00
|
|
|
* Fri Jan 16 2009 Richard Jones <rjones@redhat.com> - 3.4-3
|
|
|
|
- Remove +x permissions on the header files.
|
|
|
|
|
|
|
|
* Sat Nov 22 2008 Richard Jones <rjones@redhat.com> - 3.4-2
|
|
|
|
- Rename implib to libpdcurses.dll.a so that libtool can use it.
|
|
|
|
|
|
|
|
* Thu Sep 25 2008 Richard Jones <rjones@redhat.com> - 3.4-1
|
|
|
|
- Initial RPM release.
|