diff --git a/mingw-libgpg-error.spec b/mingw-libgpg-error.spec index 3928a77..70e626d 100644 --- a/mingw-libgpg-error.spec +++ b/mingw-libgpg-error.spec @@ -5,7 +5,7 @@ Name: mingw-libgpg-error Version: 1.10 -Release: 2%{?dist} +Release: 3%{?dist} Summary: MinGW Windows GnuPGP error library License: LGPLv2+ @@ -36,17 +36,31 @@ MinGW Windows GnuPGP error library. %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 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 -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 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 @@ -56,7 +70,7 @@ MinGW Windows GnuPGP error library. %build -%mingw_configure +%mingw_configure --enable-shared --enable-static # Workaround a bug in libtool: http://savannah.gnu.org/support/?107959 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}/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 %{mingw64_bindir}/gpg-error-config %{mingw64_bindir}/gpg-error.exe @@ -95,8 +112,14 @@ find $RPM_BUILD_ROOT -name "*.la" -delete %{mingw64_datadir}/aclocal/gpg-error.m4 %{mingw64_datadir}/common-lisp/source/gpg-error/* +%files -n mingw64-libgpg-error-static +%{mingw64_libdir}/libgpg-error.a + %changelog +* Sun Oct 21 2012 Yaakov Selkowitz - 1.10-3 +- Add static libraries. + * Fri Jul 20 2012 Fedora Release Engineering - 1.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild