|
|
|
@ -1,12 +1,14 @@
|
|
|
|
|
#%define svnver 137314
|
|
|
|
|
#%define date 072209
|
|
|
|
|
Name: libgdiplus
|
|
|
|
|
Version: 2.4.2
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: An implementation of the GDI+ API
|
|
|
|
|
Version: 2.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: libgdiplus: An Open Source implementation of the GDI+ API
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://mono-project.com/Libgdiplus
|
|
|
|
|
Source0: ftp://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-%{version}.tar.bz2
|
|
|
|
|
URL: http://mono.ximian.com/monobuild/snapshot/sources-preview/
|
|
|
|
|
Source0: %{name}-%{svnver}.tar.bz2
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: freetype-devel glib2-devel libjpeg-devel libtiff-devel
|
|
|
|
@ -15,7 +17,8 @@ BuildRequires: cairo-devel
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
An implementation of the GDI+ API, built on top of Cairo.
|
|
|
|
|
An Open Source implementation of the GDI+ API, it is part of the Mono
|
|
|
|
|
Project
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for libgdiplus
|
|
|
|
@ -23,20 +26,16 @@ Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release} pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains development files for %{name}.
|
|
|
|
|
Development files for libgdiplus
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%setup -q -n %name-%svnver
|
|
|
|
|
perl -pi -e "s,-Werror,,g" src/Makefile
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
@ -51,7 +50,7 @@ rm -rf %{buildroot}
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc COPYING NEWS README TODO AUTHORS
|
|
|
|
|
%doc COPYING NEWS README TODO MPL-1.1.html AUTHORS
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
|
@ -62,13 +61,11 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Sep 3 2009 Michel Salim <salimma@fedoraproject.org> - 2.4.2-3
|
|
|
|
|
- Enable unit tests
|
|
|
|
|
- Corrected project and source URLs
|
|
|
|
|
- Remove obsolete license files
|
|
|
|
|
* Wed Sep 30 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.6-1
|
|
|
|
|
- Update to 2.6 preview 1
|
|
|
|
|
|
|
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
* Mon Jun 22 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.4,2-2
|
|
|
|
|
- bump to RC1
|
|
|
|
|
|
|
|
|
|
* Tue Jun 09 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.4.2-1
|
|
|
|
|
- bump to 2.4.2 preview
|
|
|
|
|