- Remove gtk-doc.
[fedora-mingw.git] / libgpg-error / mingw32-libgpg-error.spec
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}
6
7 Name:           mingw32-libgpg-error
8 Version:        1.6
9 Release:        9%{?dist}
10 Summary:        MinGW Windows GnuPGP error library
11
12 License:        LGPLv2+
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)
19 BuildArch:      noarch
20
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
27
28 BuildRequires:  gettext
29
30
31 %description
32 MinGW Windows GnuPGP error library.
33
34
35 %prep
36 %setup -q -n libgpg-error-%{version}
37
38
39 %build
40 %{_mingw32_configure}
41 make %{?_smp_mflags}
42
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 make DESTDIR=$RPM_BUILD_ROOT install
48
49 rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libgpg-error.a
50
51 %find_lang libgpg-error
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56
57 %files -f libgpg-error.lang
58 %defattr(-,root,root)
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/*
67
68 %changelog
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)
73     + BR mingw32-dlfcn
74     + BR mingw32-iconv
75 - Use _smp_mflags.
76 - Use find_lang.
77
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.
81
82 * Mon Sep 22 2008 Daniel P. Berrange <berrange@redhat.com> - 1.6-6
83 - Added signature source file & correct URLs
84
85 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 1.6-5
86 - Remove static libraries.
87
88 * Fri Sep  5 2008 Daniel P. Berrange <berrange@redhat.com> - 1.6-4
89 - Add gettext support
90
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.
94
95 * Tue Sep  2 2008 Daniel P. Berrange <berrange@redhat.com> - 1.6-2
96 - List files explicitly and use custom CFLAGS
97
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.