1 %define __strip %{_mingw32_strip}
2 %define __objdump %{_mingw32_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw32_findrequires}
5 %define __find_provides %{_mingw32_findprovides}
7 Name: mingw32-libgpg-error
10 Summary: MinGW Windows GnuPGP error library
13 Group: Development/Libraries
14 URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/
15 Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2
16 Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2.sig
17 Source2: wk@g10code.com
18 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
21 BuildRequires: mingw32-filesystem >= 27
22 BuildRequires: mingw32-gcc
23 BuildRequires: mingw32-binutils
24 BuildRequires: mingw32-dlfcn
25 BuildRequires: mingw32-iconv
26 BuildRequires: mingw32-gettext
28 BuildRequires: gettext
32 MinGW Windows GnuPGP error library.
36 %setup -q -n libgpg-error-%{version}
45 rm -rf $RPM_BUILD_ROOT
47 make DESTDIR=$RPM_BUILD_ROOT install
49 rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libgpg-error.a
51 %find_lang libgpg-error
54 rm -rf $RPM_BUILD_ROOT
57 %files -f libgpg-error.lang
59 %{_mingw32_bindir}/gpg-error-config
60 %{_mingw32_bindir}/gpg-error.exe
61 %{_mingw32_bindir}/libgpg-error-0.dll
62 %{_mingw32_libdir}/libgpg-error.dll.a
63 %{_mingw32_libdir}/libgpg-error.la
64 %{_mingw32_includedir}/gpg-error.h
65 %{_mingw32_datadir}/aclocal/gpg-error.m4
66 %{_mingw32_datadir}/common-lisp/source/gpg-error/*
69 * Thu Jan 22 2009 Richard W.M. Jones <rjones@redhat.com> - 1.6-9
70 - Verify that we are still matching current native package.
71 - Use auto-buildrequires to identify more accurate list of BRs:
72 + BR gettext (for /usr/bin/msgfmt etc)
78 * Mon Sep 22 2008 Richard W.M. Jones <rjones@redhat.com> - 1.6-8
79 - Rename mingw -> mingw32.
80 - Depends on mingw-filesystem 27.
82 * Mon Sep 22 2008 Daniel P. Berrange <berrange@redhat.com> - 1.6-6
83 - Added signature source file & correct URLs
85 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 1.6-5
86 - Remove static libraries.
88 * Fri Sep 5 2008 Daniel P. Berrange <berrange@redhat.com> - 1.6-4
91 * Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 1.6-3
92 - Use mingw-filesystem RPM macros.
93 - BuildArch is noarch.
95 * Tue Sep 2 2008 Daniel P. Berrange <berrange@redhat.com> - 1.6-2
96 - List files explicitly and use custom CFLAGS
98 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 1.6-1
99 - Initial RPM release, largely based on earlier work from several sources.