commit c9063f21d597be790577f27bd106809b8cb8bc5c
Author: epienbro <[email protected]>
Date: Tue Apr 14 19:30:36 2009 +0000
- Fixed %defattr line
- Added -static subpackage
mingw32-pixman.spec | 24 +++++++++++++++++++++---
1 files changed, 21 insertions(+), 3 deletions(-)
---
diff --git a/mingw32-pixman.spec b/mingw32-pixman.spec
index 2757804..593423a 100644
--- a/mingw32-pixman.spec
+++ b/mingw32-pixman.spec
@@ -6,7 +6,7 @@
Name: mingw32-pixman
Version: 0.13.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: MinGW Windows Pixman library
License: MIT
@@ -32,6 +32,15 @@ Requires: pkgconfig
MinGW Windows Pixman library.
+%package static
+Summary: Static version of the MinGW Windows Pixman library
+Requires: %{name} = %{version}-%{release}
+Group: Development/Libraries
+
+%description static
+Static version of the MinGW Windows Pixman library.
+
+
%prep
%setup -q -n pixman-%{version}
%patch0 -p1
@@ -40,7 +49,7 @@ MinGW Windows Pixman library.
%build
# Uses GTK for its testsuite, so disable this otherwise
# we have a chicken & egg problem on mingw
-%{_mingw32_configure} --disable-gtk --disable-static
+%{_mingw32_configure} --disable-gtk --enable-static --enable-shared
make %{?_smp_mflags}
@@ -55,7 +64,7 @@ rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
%doc LICENSE
%{_mingw32_bindir}/libpixman-1-0.dll
%{_mingw32_includedir}/pixman-1
@@ -64,7 +73,16 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw32_libdir}/pkgconfig/pixman-1.pc
+%files static
+%defattr(-,root,root,-)
+%{_mingw32_libdir}/libpixman-1.a
+
+
%changelog
+* Fri Apr 3 2009 Erik van Pienbroek <[email protected]> - 0.13.2-5
+- Fixed %%defattr line
+- Added -static subpackage
+
* Wed Feb 25 2009 Fedora Release Engineering <[email protected]>
- 0.13.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
_______________________________________________
mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/mingw