1 %define __strip %{_mingw_strip}
2 %define __objdump %{_mingw_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw_findrequires}
5 %define __find_provides %{_mingw_findprovides}
10 Summary: MinGW Windows GnuTLS TLS/SSL encryption library
13 Group: Development/Libraries
14 URL: http://www.gnu.org/software/gnutls/
15 Source0: ftp://ftp.gnutls.org/pub/gnutls/gnutls-%{version}.tar.bz2
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 Patch0: gnutls-certtool-build.patch
22 BuildRequires: mingw-filesystem >= 23
23 BuildRequires: mingw-gcc
24 BuildRequires: mingw-binutils
25 BuildRequires: mingw-libgpg-error
26 BuildRequires: mingw-libgcrypt
27 BuildRequires: mingw-iconv
28 BuildRequires: mingw-gettext
29 BuildRequires: mingw-zlib
30 BuildRequires: autoconf automake libtool
33 MinGW Windows GnuTLS TLS/SSL encryption library.
37 %setup -q -n gnutls-%{version}
43 PATH="%{_mingw_bindir}:$PATH" \
44 %{_mingw_configure} --with-included-libtasn1 --disable-cxx
49 rm -rf $RPM_BUILD_ROOT
51 make DESTDIR=$RPM_BUILD_ROOT install
52 rm -f $RPM_BUILD_ROOT%{_mingw_datadir}/info/dir
54 rm $RPM_BUILD_ROOT%{_mingw_libdir}/libgnutls-extra.a
55 rm $RPM_BUILD_ROOT%{_mingw_libdir}/libgnutls-openssl.a
56 rm $RPM_BUILD_ROOT%{_mingw_libdir}/libgnutls.a
60 rm -rf $RPM_BUILD_ROOT
65 %{_mingw_bindir}/certtool.exe
66 %{_mingw_bindir}/gnutls-cli-debug.exe
67 %{_mingw_bindir}/gnutls-cli.exe
68 %{_mingw_bindir}/gnutls-serv.exe
69 %{_mingw_bindir}/libgnutls-26.def
70 %{_mingw_bindir}/libgnutls-26.dll
71 %{_mingw_bindir}/libgnutls-config
72 %{_mingw_bindir}/libgnutls-extra-26.def
73 %{_mingw_bindir}/libgnutls-extra-26.dll
74 %{_mingw_bindir}/libgnutls-extra-config
75 %{_mingw_bindir}/libgnutls-openssl-26.def
76 %{_mingw_bindir}/libgnutls-openssl-26.dll
77 %{_mingw_bindir}/psktool.exe
78 %{_mingw_bindir}/srptool.exe
79 %{_mingw_libdir}/libgnutls-extra.dll.a
80 %{_mingw_libdir}/libgnutls-extra.la
81 %{_mingw_libdir}/libgnutls-openssl.dll.a
82 %{_mingw_libdir}/libgnutls-openssl.la
83 %{_mingw_libdir}/libgnutls.dll.a
84 %{_mingw_libdir}/libgnutls.la
85 %{_mingw_libdir}/pkgconfig/gnutls-extra.pc
86 %{_mingw_libdir}/pkgconfig/gnutls.pc
87 %{_mingw_includedir}/gnutls/
88 %{_mingw_datadir}/aclocal/libgnutls-extra.m4
89 %{_mingw_datadir}/aclocal/libgnutls.m4
90 %{_mingw_datadir}/info/gnutls-*.png
91 %{_mingw_datadir}/info/gnutls.info*
92 %{_mingw_mandir}/man1/certtool.1*
93 %{_mingw_mandir}/man1/gnutls-cli-debug.1*
94 %{_mingw_mandir}/man1/gnutls-cli.1*
95 %{_mingw_mandir}/man1/gnutls-serv.1*
96 %{_mingw_mandir}/man1/psktool.1*
97 %{_mingw_mandir}/man1/srptool.1*
98 %{_mingw_mandir}/man3/gnutls_*.3*
99 %{_mingw_datadir}/locale/*/LC_MESSAGES/gnutls.mo
103 * Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 2.4.1-7
104 - Add BR on autoconf, automake and libtool
106 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.4.1-6
107 - Need to run autoreconf after patching src/Makefile.am.
108 - Remove static libs.
110 * Fri Sep 5 2008 Richard W.M. Jones <rjones@redhat.com> - 2.4.1-5
111 - Add patch to build certtool.exe because of missing dep of gnulib on intl.
112 - BuildArch is noarch.
114 * Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 2.4.1-3
115 - Use mingw-filesystem RPM macros.
116 - Depends on mingw-iconv, mingw-gettext.
118 * Tue Sep 2 2008 Daniel P. Berrange <berrange@redhat.com> - 2.4.1-2
119 - List files explicitly and use custom CFLAGS
121 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 2.4.1-1
122 - Initial RPM release, largely based on earlier work from several sources.