1 %define __os_install_post /usr/lib/rpm/brp-compress %{nil}
6 Summary: GNU libraries and utilities for producing multi-lingual messages
8 License: GPLv2+ and LGPLv2+
9 Group: Development/Libraries
10 URL: http://www.gnu.org/software/iconv/
11 Source0: http://ftp.gnu.org/pub/gnu/iconv/libiconv-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14 BuildRequires: mingw-gcc
15 BuildRequires: mingw-binutils
17 Requires: mingw-runtime
20 MinGW Windows Iconv library
23 %setup -q -n libiconv-%{version}
26 CFLAGS="-O2 -g -Wall -pipe" \
29 --host=i686-pc-mingw32 \
30 --prefix=%{_prefix}/i686-pc-mingw32/sys-root/mingw
35 rm -rf $RPM_BUILD_ROOT
37 make DESTDIR=$RPM_BUILD_ROOT install
40 rm -rf $RPM_BUILD_ROOT
44 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/iconv
45 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libcharset-1.dll
46 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libiconv-2.dll
47 %{_prefix}/i686-pc-mingw32/sys-root/mingw/include/iconv.h
48 %{_prefix}/i686-pc-mingw32/sys-root/mingw/include/libcharset.h
49 %{_prefix}/i686-pc-mingw32/sys-root/mingw/include/localcharset.h
50 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/charset.alias
51 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libcharset.a
52 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libcharset.dll.a
53 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libcharset.la
54 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libiconv.dll.a
55 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libiconv.la
56 %dir %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/doc/libiconv/
57 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/doc/libiconv/*.html
58 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man1/iconv.1*
59 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man3/iconv.3*
60 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man3/iconv_close.3*
61 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man3/iconv_open.3*
62 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man3/iconvctl.3*
66 * Tue Sep 2 2008 Daniel P. Berrange <berrange@redhat.com> - 0.17-1
67 - Initial RPM release, largely based on earlier work from several sources.