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="-O2 -g -Wall -pipe" \
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/dumpsexp.exe
52 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libgcrypt-11.dll
53 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libgcrypt-config
54 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgcrypt.a
55 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgcrypt.def
56 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgcrypt.dll.a
57 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgcrypt.la
58 %{_prefix}/i686-pc-mingw32/sys-root/mingw/include/gcrypt-module.h
59 %{_prefix}/i686-pc-mingw32/sys-root/mingw/include/gcrypt.h
60 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/aclocal/libgcrypt.m4
61 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/info/gcrypt.info
64 * Tue Sep 2 2008 Daniel P. Berrange <berrange@redhat.com> - 1.4.1-2
65 - List files explicitly and use custom CFLAGS
67 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 1.4.1-1
68 - Initial RPM release, largely based on earlier work from several sources.