1 %define __os_install_post /usr/lib/rpm/brp-compress %{nil}
6 Summary: MinGW Windows GnuTLS TLS/SSL encryption library
9 Group: Development/Libraries
10 URL: http://www.gnu.org/software/gnutls/
11 Source0: ftp://ftp.gnutls.org/pub/gnutls/gnutls-%{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
17 BuildRequires: mingw-libgcrypt
19 Requires: mingw-runtime
20 Requires: mingw-libgpg-error
21 Requires: mingw-libgcrypt
24 MinGW Windows GnuTLS TLS/SSL encryption library.
28 %setup -q -n gnutls-%{version}
32 CFLAGS="-O2 -g -Wall -pipe" \
35 --host=i686-pc-mingw32 \
36 --prefix=%{_prefix}/i686-pc-mingw32/sys-root/mingw \
38 # Disable C++ package until we have a C++ compiler (see mingw-gcc).
44 rm -rf $RPM_BUILD_ROOT
46 make DESTDIR=$RPM_BUILD_ROOT install
50 rm -rf $RPM_BUILD_ROOT
55 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/certtool.exe
56 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/gnutls-cli-debug.exe
57 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/gnutls-cli.exe
58 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/gnutls-serv.exe
59 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libgnutls-26.def
60 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libgnutls-26.dll
61 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libgnutls-config
62 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libgnutls-extra-26.def
63 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libgnutls-extra-26.dll
64 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libgnutls-extra-config
65 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libgnutls-openssl-26.def
66 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/libgnutls-openssl-26.dll
67 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/psktool.exe
68 %{_prefix}/i686-pc-mingw32/sys-root/mingw/bin/srptool.exe
69 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgnutls-extra.a
70 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgnutls-extra.dll.a
71 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgnutls-extra.la
72 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgnutls-openssl.a
73 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgnutls-openssl.dll.a
74 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgnutls-openssl.la
75 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgnutls.a
76 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgnutls.dll.a
77 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/libgnutls.la
78 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig/gnutls-extra.pc
79 %{_prefix}/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig/gnutls.pc
80 %dir %{_prefix}/i686-pc-mingw32/sys-root/mingw/include/gnutls
81 %{_prefix}/i686-pc-mingw32/sys-root/mingw/include/gnutls/*
82 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/aclocal/libgnutls-extra.m4
83 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/aclocal/libgnutls.m4
84 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/info/gnutls-*.png
85 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/info/gnutls.info*
86 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man1/certtool.1*
87 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man1/gnutls-cli-debug.1*
88 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man1/gnutls-cli.1*
89 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man1/gnutls-serv.1*
90 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man1/psktool.1*
91 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man1/srptool.1*
92 %{_prefix}/i686-pc-mingw32/sys-root/mingw/share/man/man3/gnutls_*.3*
96 * Tue Sep 2 2008 Daniel P. Berrange <berrange@redhat.com> - 2.4.1-2
97 - List files explicitly and use custom CFLAGS
99 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 2.4.1-1
100 - Initial RPM release, largely based on earlier work from several sources.