Add static libraries (RHBZ #868597)

epel9
Erik van Pienbroek 12 years ago
parent 4f8af5ef98
commit 3e22d4674a

@ -5,7 +5,7 @@
Name: mingw-libgpg-error Name: mingw-libgpg-error
Version: 1.10 Version: 1.10
Release: 2%{?dist} Release: 3%{?dist}
Summary: MinGW Windows GnuPGP error library Summary: MinGW Windows GnuPGP error library
License: LGPLv2+ License: LGPLv2+
@ -36,17 +36,31 @@ MinGW Windows GnuPGP error library.
%package -n mingw32-libgpg-error %package -n mingw32-libgpg-error
Summary: MinGW Windows zlib compression library for the win32 target Summary: MinGW Windows libgpg-error compression library for the win32 target
%description -n mingw32-libgpg-error %description -n mingw32-libgpg-error
MinGW Windows GnuPGP error library. MinGW Windows GnuPGP error library.
%package -n mingw32-libgpg-error-static
Summary: Static library for mingw32-libgpg-error development
Requires: mingw32-libgpg-error = %{version}-%{release}
%description -n mingw32-libgpg-error-static
Static library for mingw32-libgpg-error development.
%package -n mingw64-libgpg-error %package -n mingw64-libgpg-error
Summary: MinGW Windows zlib compression library for the win32 target Summary: MinGW Windows libgpg-error compression library for the win64 target
%description -n mingw64-libgpg-error %description -n mingw64-libgpg-error
MinGW Windows GnuPGP error library. MinGW Windows GnuPGP error library.
%package -n mingw64-libgpg-error-static
Summary: Static library for mingw64-libgpg-error development
Requires: mingw64-libgpg-error = %{version}-%{release}
%description -n mingw64-libgpg-error-static
Static library for mingw64-libgpg-error development.
%?mingw_debug_package %?mingw_debug_package
@ -56,7 +70,7 @@ MinGW Windows GnuPGP error library.
%build %build
%mingw_configure %mingw_configure --enable-shared --enable-static
# Workaround a bug in libtool: http://savannah.gnu.org/support/?107959 # Workaround a bug in libtool: http://savannah.gnu.org/support/?107959
make -C build_win32/src gpg-error.def make -C build_win32/src gpg-error.def
@ -86,6 +100,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%{mingw32_datadir}/aclocal/gpg-error.m4 %{mingw32_datadir}/aclocal/gpg-error.m4
%{mingw32_datadir}/common-lisp/source/gpg-error/* %{mingw32_datadir}/common-lisp/source/gpg-error/*
%files -n mingw32-libgpg-error-static
%{mingw32_libdir}/libgpg-error.a
%files -n mingw64-libgpg-error -f mingw64-libgpg-error.lang %files -n mingw64-libgpg-error -f mingw64-libgpg-error.lang
%{mingw64_bindir}/gpg-error-config %{mingw64_bindir}/gpg-error-config
%{mingw64_bindir}/gpg-error.exe %{mingw64_bindir}/gpg-error.exe
@ -95,8 +112,14 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%{mingw64_datadir}/aclocal/gpg-error.m4 %{mingw64_datadir}/aclocal/gpg-error.m4
%{mingw64_datadir}/common-lisp/source/gpg-error/* %{mingw64_datadir}/common-lisp/source/gpg-error/*
%files -n mingw64-libgpg-error-static
%{mingw64_libdir}/libgpg-error.a
%changelog %changelog
* Sun Oct 21 2012 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> - 1.10-3
- Add static libraries.
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

Loading…
Cancel
Save