- Merge-review cleanup (#226009)

epel9
paragn 14 years ago
parent a28e5c0d66
commit 1c36fbff5e

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

Loading…
Cancel
Save