commit
9453e334e0
@ -0,0 +1 @@
|
||||
libgpg-error-1.6.tar.bz2
|
Binary file not shown.
@ -0,0 +1,7 @@
|
||||
--- src/gpg-error.def.orig 2012-02-27 23:38:14.864838661 +0100
|
||||
+++ src/gpg-error.def 2012-02-27 23:39:24.325103071 +0100
|
||||
@@ -1,4 +1,3 @@
|
||||
-
|
||||
EXPORTS
|
||||
gpg_strerror @1
|
||||
gpg_strerror_r @2
|
@ -0,0 +1,131 @@
|
||||
%global __strip %{_mingw32_strip}
|
||||
%global __objdump %{_mingw32_objdump}
|
||||
%global _use_internal_dependency_generator 0
|
||||
%global __find_requires %{_mingw32_findrequires}
|
||||
%global __find_provides %{_mingw32_findprovides}
|
||||
%define __debug_install_post %{_mingw32_debug_install_post}
|
||||
|
||||
Name: mingw32-libgpg-error
|
||||
Version: 1.6
|
||||
Release: 16%{?dist}
|
||||
Summary: MinGW Windows GnuPGP error library
|
||||
|
||||
License: LGPLv2+
|
||||
Group: Development/Libraries
|
||||
URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/
|
||||
Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2
|
||||
Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2.sig
|
||||
Source2: wk@g10code.com
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
# Binutils isn't able to process the .def file. Fix this
|
||||
Patch0: libgpg-error-fix-invalid-def-file.patch
|
||||
|
||||
BuildRequires: mingw32-filesystem >= 49
|
||||
BuildRequires: mingw32-gcc
|
||||
BuildRequires: mingw32-binutils
|
||||
BuildRequires: mingw32-dlfcn
|
||||
BuildRequires: mingw32-iconv
|
||||
BuildRequires: mingw32-gettext
|
||||
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
MinGW Windows GnuPGP error library.
|
||||
|
||||
|
||||
%{_mingw32_debug_package}
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n libgpg-error-%{version}
|
||||
%patch0 -p0
|
||||
|
||||
|
||||
%build
|
||||
%{_mingw32_configure}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libgpg-error.a
|
||||
|
||||
%find_lang libgpg-error
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files -f libgpg-error.lang
|
||||
%defattr(-,root,root)
|
||||
%{_mingw32_bindir}/gpg-error-config
|
||||
%{_mingw32_bindir}/gpg-error.exe
|
||||
%{_mingw32_bindir}/libgpg-error-0.dll
|
||||
%{_mingw32_libdir}/libgpg-error.dll.a
|
||||
%{_mingw32_libdir}/libgpg-error.la
|
||||
%{_mingw32_includedir}/gpg-error.h
|
||||
%{_mingw32_datadir}/aclocal/gpg-error.m4
|
||||
%{_mingw32_datadir}/common-lisp/source/gpg-error/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.6-16
|
||||
- Rebuild against the mingw-w64 toolchain
|
||||
- Use correct .def file
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Fri Oct 9 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.6-13
|
||||
- Use %%global instead of %%define
|
||||
- Automatically generate debuginfo subpackage
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 1.6-10
|
||||
- Rebuild for mingw32-gcc 4.4
|
||||
|
||||
* Thu Jan 22 2009 Richard W.M. Jones <rjones@redhat.com> - 1.6-9
|
||||
- Verify that we are still matching current native package.
|
||||
- Use auto-buildrequires to identify more accurate list of BRs:
|
||||
+ BR gettext (for /usr/bin/msgfmt etc)
|
||||
+ BR mingw32-dlfcn
|
||||
+ BR mingw32-iconv
|
||||
- Use _smp_mflags.
|
||||
- Use find_lang.
|
||||
|
||||
* Mon Sep 22 2008 Richard W.M. Jones <rjones@redhat.com> - 1.6-8
|
||||
- Rename mingw -> mingw32.
|
||||
- Depends on mingw-filesystem 27.
|
||||
|
||||
* Mon Sep 22 2008 Daniel P. Berrange <berrange@redhat.com> - 1.6-6
|
||||
- Added signature source file & correct URLs
|
||||
|
||||
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 1.6-5
|
||||
- Remove static libraries.
|
||||
|
||||
* Fri Sep 5 2008 Daniel P. Berrange <berrange@redhat.com> - 1.6-4
|
||||
- Add gettext support
|
||||
|
||||
* Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 1.6-3
|
||||
- Use mingw-filesystem RPM macros.
|
||||
- BuildArch is noarch.
|
||||
|
||||
* Tue Sep 2 2008 Daniel P. Berrange <berrange@redhat.com> - 1.6-2
|
||||
- List files explicitly and use custom CFLAGS
|
||||
|
||||
* Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 1.6-1
|
||||
- Initial RPM release, largely based on earlier work from several sources.
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue