- Fixed %defattr line

- Added -static subpackage
This commit is contained in:
epienbro 2009-04-14 19:30:36 +00:00
parent de1c3b173d
commit c9063f21d5

View File

@ -6,7 +6,7 @@
Name: mingw32-pixman Name: mingw32-pixman
Version: 0.13.2 Version: 0.13.2
Release: 4%{?dist} Release: 5%{?dist}
Summary: MinGW Windows Pixman library Summary: MinGW Windows Pixman library
License: MIT License: MIT
@ -32,6 +32,15 @@ Requires: pkgconfig
MinGW Windows Pixman library. 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 %prep
%setup -q -n pixman-%{version} %setup -q -n pixman-%{version}
%patch0 -p1 %patch0 -p1
@ -40,7 +49,7 @@ MinGW Windows Pixman library.
%build %build
# Uses GTK for its testsuite, so disable this otherwise # Uses GTK for its testsuite, so disable this otherwise
# we have a chicken & egg problem on mingw # 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} make %{?_smp_mflags}
@ -55,7 +64,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc LICENSE %doc LICENSE
%{_mingw32_bindir}/libpixman-1-0.dll %{_mingw32_bindir}/libpixman-1-0.dll
%{_mingw32_includedir}/pixman-1 %{_mingw32_includedir}/pixman-1
@ -64,7 +73,16 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw32_libdir}/pkgconfig/pixman-1.pc %{_mingw32_libdir}/pkgconfig/pixman-1.pc
%files static
%defattr(-,root,root,-)
%{_mingw32_libdir}/libpixman-1.a
%changelog %changelog
* Fri Apr 3 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.13.2-5
- Fixed %%defattr line
- Added -static subpackage
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.2-4 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild