1 %define __os_install_post /usr/lib/rpm/brp-compress %{nil}
6 Summary: MinGW Windows gcrypt encryption library
9 Group: Development/Libraries
10 URL: ftp://ftp.gnupg.org/gcrypt/libgcrypt/
11 Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14 BuildRequires: mingw-gcc
15 BuildRequires: mingw-binutils
16 BuildRequires: mingw-libgpg-error
18 Requires: mingw-runtime
19 Requires: mingw-libgpg-error
22 MinGW Windows gcrypt encryption library.
26 %setup -q -n libgcrypt-%{version}
30 CFLAGS="$RPM_OPT_FLAGS -fno-stack-protector" \
33 --host=i686-pc-mingw32 \
34 --prefix=%{_prefix}/i686-pc-mingw32/sys-root/mingw
40 rm -rf $RPM_BUILD_ROOT
42 make DESTDIR=$RPM_BUILD_ROOT install
46 rm -rf $RPM_BUILD_ROOT
51 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/*
52 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/*
53 %{_prefix}/i686-pc-mingw32/sys-root/mingw/include/*
54 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/aclocal/*
55 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/info/*
59 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 1.4.1-1
60 - Initial RPM release, largely based on earlier work from several sources.