[mingw-atk: 3/27] - Added -static subpackage - Rebuild for mingw32-gcc 4.4
epienbro
epienbro at fedoraproject.org
Tue Mar 6 16:29:04 UTC 2012
commit cd5b1f3a16aed1d4310e64929511c386c1aabe13
Author: Richard W.M. Jones <rjones at fedoraproject.org>
Date: Fri Feb 20 21:58:37 2009 +0000
- Added -static subpackage
- Rebuild for mingw32-gcc 4.4
mingw32-atk.spec | 22 +++++++++++++++++++---
1 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/mingw32-atk.spec b/mingw32-atk.spec
index b5b8203..fbee86c 100644
--- a/mingw32-atk.spec
+++ b/mingw32-atk.spec
@@ -6,7 +6,7 @@
Name: mingw32-atk
Version: 1.25.2
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: MinGW Windows Atk library
License: LGPLv2+
@@ -17,7 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: mingw32-filesystem >= 23
+BuildRequires: mingw32-filesystem >= 49
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
BuildRequires: mingw32-iconv
@@ -36,12 +36,20 @@ Requires: pkgconfig
MinGW Windows Atk library.
+%package static
+Summary: Static version of the MinGW Windows Atk library
+Requires: %{name} = %{version}-%{release}
+
+%description static
+Static version of the MinGW Windows Atk library.
+
+
%prep
%setup -q -n atk-%{version}
%build
-%{_mingw32_configure} --disable-static
+%{_mingw32_configure} --enable-static --enable-shared
make %{?_smp_mflags}
@@ -76,8 +84,16 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw32_libdir}/libatk-1.0.la
%{_mingw32_libdir}/pkgconfig/atk.pc
+%files static
+%defattr(-,root,root,-)
+%{_mingw32_libdir}/libatk-1.0.a
+
%changelog
+* Fri Feb 20 2009 Erik van Pienbroek <info at nntpgrab.nl> - 1.25.2-6
+- Added -static subpackage
+- Rebuild for mingw32-gcc 4.4
+
* Fri Feb 6 2009 Richard W.M. Jones <rjones at redhat.com> - 1.25.2-5
- Include license file.
More information about the scm-commits
mailing list