File mingw32-libunicows.spec of Package mingw32-libunicows
#
# spec file for package mingw32-libunicows
#
# 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-libunicows
Version: 1.1.2
Release: 0
Summary: Import library that is needed if you want to use unicows.dll
License: MIT
Group: Development/Libraries
Url: http://libunicows.sourceforge.net/
Source0: http://prdownloads.sourceforge.net/libunicows/libunicows-%{version}-src.tar.gz
Source1000: %{name}-%{version}-rpmlintrc
Patch0: libunicows-1.1.2-mingw.patch
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-filesystem >= 23
BuildRequires: nasm
BuildArch: noarch
%_mingw32_package_header_debug
%description
libunicows makes writing Unicode-enabled applications for Windows 9x a bit easier
- it provides portable, compiler-independent import library that is needed if you
want to use unicows.dll from MSLU, MS Unicode Layer for Windows 9x. It supports also
opencow.dll from MZLU, the Mozilla Layer for Unicode.
%package devel
Summary: Import library that is needed if you want to use unicows.dll
Group: Development/Libraries
%description devel
libunicows makes writing Unicode-enabled applications for Windows 9x a bit easier
- it provides portable, compiler-independent import library that is needed if you
want to use unicows.dll from MSLU, MS Unicode Layer for Windows 9x. It supports also
opencow.dll from MZLU, the Mozilla Layer for Unicode.
%prep
%setup -q -n libunicows-%{version}
%patch -P 0 -p1 -b .mingw
%build
%{_mingw32_make} -C src -f makefile.mingw32
%install
mkdir -p %{buildroot}%{_mingw32_libdir}
cp -f lib/mingw32/*.a %{buildroot}%{_mingw32_libdir}/
%files devel
%defattr(-,root,root)
%{_mingw32_libdir}/libunicows.a
%{_mingw32_libdir}/liblibunicows.a
%changelog