Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win32
mingw32-termcap
mingw32-termcap.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-termcap.spec of Package mingw32-termcap
# # spec file for package mingw32-termcap # # 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-termcap Version: 1.3.1 Release: 0 Summary: MinGW terminal feature database License: GPL-2.0+ Group: Development/Libraries/C and C++ Url: ftp://ftp.gnu.org/gnu/termcap/ Source0: ftp://ftp.gnu.org/gnu/termcap/termcap-%{version}.tar.gz BuildRequires: autoconf #!BuildIgnore: post-build-checks BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-filesystem %_mingw32_package_header_debug BuildArch: noarch %description This is the GNU termcap library -- a library of C functions that enable programs to send control strings to terminals in a way independent of the terminal type. The GNU termcap library does not place an arbitrary limit on the size of termcap entries, unlike most other termcap libraries. %package -n mingw32-libtermcap0 Summary: MinGW terminal feature database Group: System/Libraries Obsoletes: %{name} Provides: %{name} %description -n mingw32-libtermcap0 This is the GNU termcap library -- a library of C functions that enable programs to send control strings to terminals in a way independent of the terminal type. The GNU termcap library does not place an arbitrary limit on the size of termcap entries, unlike most other termcap libraries. This package contains libraries for the MinGW cross-compiled version. %package devel Summary: MinGW terminal feature database (development tools) Group: Development/Libraries/C and C++ Requires: mingw32-libtermcap0 = %{version} %description devel This is the GNU termcap library -- a library of C functions that enable programs to send control strings to terminals in a way independent of the terminal type. The GNU termcap library does not place an arbitrary limit on the size of termcap entries, unlike most other termcap libraries. This package contains import libraries and development tools for the MinGW cross-compiled version. %_mingw32_debug_package %prep %setup -q -n termcap-%{version} # Packaged script doesn't understand --bindir, so rebuild: autoconf %build %{_mingw32_configure} make %{?_smp_mflags} # Build a shared library. No need for -fPIC on Windows. %{_mingw32_cc} -shared \ -Wl,--out-implib,libtermcap.dll.a \ -o libtermcap-0.dll \ termcap.o tparam.o version.o %install make install \ prefix=%{buildroot}%{_mingw32_prefix} \ exec_prefix=%{buildroot}%{_mingw32_prefix} \ libdir=%{buildroot}%{_mingw32_libdir} \ oldincludedir= # Move the shared library to the correct locations. mkdir -p %{buildroot}%{_mingw32_bindir} install -m 0755 libtermcap-0.dll %{buildroot}%{_mingw32_bindir} install -m 0755 libtermcap.dll.a %{buildroot}%{_mingw32_libdir} # Don't want the static library, thank you. rm %{buildroot}%{_mingw32_libdir}/libtermcap.a # Move the info files to the correct location. mkdir -p %{buildroot}%{_mingw32_infodir} mv %{buildroot}%{_mingw32_prefix}/info/* %{buildroot}%{_mingw32_infodir} %files -n mingw32-libtermcap0 %defattr(-,root,root) %{_mingw32_bindir}/libtermcap-0.dll %files devel %defattr(-,root,root) %{_mingw32_libdir}/libtermcap.dll.a %{_mingw32_includedir}/termcap.h %{_mingw32_infodir}/* %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