- Fixed %defattr line
- Added -static subpackage
This commit is contained in:
parent
de1c3b173d
commit
c9063f21d5
@ -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 <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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user