|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: libgdiplus
|
|
|
|
|
Version: 2.6.7
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: An Open Source implementation of the GDI+ API
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
@ -9,7 +9,6 @@ URL: http://www.mono-project.com/Main_Page
|
|
|
|
|
Source0: http://ftp.novell.com/pub/mono/sources/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
|
# http://github.com/mono/libgdiplus/commit/6779fbf994d5270720ccb1687ba8b004e20a1821
|
|
|
|
|
Patch0: 0001-Fix-integer-overflows-when-loading-images-see-bnc-63.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: freetype-devel glib2-devel libjpeg-devel libtiff-devel
|
|
|
|
|
BuildRequires: libungif-devel libpng-devel fontconfig-devel
|
|
|
|
@ -23,7 +22,7 @@ Project
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for libgdiplus
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release} pkgconfig
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Development files for libgdiplus
|
|
|
|
@ -37,13 +36,8 @@ Development files for libgdiplus
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
rm %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
@ -51,16 +45,18 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc COPYING NEWS README TODO MPL-1.1.html AUTHORS
|
|
|
|
|
%doc COPYING NEWS README TODO AUTHORS ChangeLog
|
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc ChangeLog
|
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Sep 24 2010 Parag Nemade <paragn AT fedoraproject.org> - 2.6.7-4
|
|
|
|
|
- Merge-review cleanup (#226009)
|
|
|
|
|
|
|
|
|
|
* Tue Aug 24 2010 Christian Krause <chkr@fedoraproject.org> - 2.6.7-3
|
|
|
|
|
- Add upstream patch for CVE-2010-1526
|
|
|
|
|
|
|
|
|
|