Just whitespace changes.
[fedora-mingw.git] / gnutls / mingw-gnutls.spec
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}
6
7 Name:           mingw-gnutls
8 Version:        2.4.1
9 Release:        7%{?dist}
10 Summary:        MinGW Windows GnuTLS TLS/SSL encryption library
11
12 License:        LGPLv2+
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)
17
18 BuildArch:      noarch
19
20 Patch0:         gnutls-certtool-build.patch
21
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
31
32 %description
33 MinGW Windows GnuTLS TLS/SSL encryption library.
34
35
36 %prep
37 %setup -q -n gnutls-%{version}
38 %patch0 -p1
39
40
41 %build
42 autoreconf
43 PATH="%{_mingw_bindir}:$PATH" \
44 %{_mingw_configure} --with-included-libtasn1 --disable-cxx
45 make
46
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 make DESTDIR=$RPM_BUILD_ROOT install
52 rm -f $RPM_BUILD_ROOT%{_mingw_datadir}/info/dir
53
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
57
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62
63 %files
64 %defattr(-,root,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
100
101
102 %changelog
103 * Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 2.4.1-7
104 - Add BR on autoconf, automake and libtool
105
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.
109
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.
113
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.
117
118 * Tue Sep  2 2008 Daniel P. Berrange <berrange@redhat.com> - 2.4.1-2
119 - List files explicitly and use custom CFLAGS
120
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.