diff --git a/.cvsignore b/.cvsignore index e69de29..d31d619 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libgdiplus-1.1.10.tar.gz diff --git a/libgdiplus.spec b/libgdiplus.spec new file mode 100644 index 0000000..cf59350 --- /dev/null +++ b/libgdiplus.spec @@ -0,0 +1,51 @@ +Name: libgdiplus +Version: 1.1.10 +Release: 1 +Summary: libgdiplus: An Open Source implementation of the GDI+ API + +Group: System Environment/Libraries +License: MIT X11 +URL: http://www.mono-project.com/ +Source0: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: freetype-devel glib2-devel libjpeg-devel libtiff-devel +BuildRequires: libungif-devel libpng-devel +# We don't actually use the external cairo yet, but this is an easy way +# to pull in the right cairo requirements for the internal copy +BuildRequires: cairo-devel + +%description +An Open Source implementation of the GDI+ +API, it is part of the Mono Project + +%prep +%setup -q + +%build +%configure +perl -pi -e "s,-Werror,,g" src/Makefile +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +rm $RPM_BUILD_ROOT%{_libdir}/*.a +rm $RPM_BUILD_ROOT%{_libdir}/*.la + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{_libdir}/* +%{_libdir}/pkgconfig/* + +%changelog +* Thu Nov 17 2005 Alexander Larsson - 1.1.10-1 +- Initial version + diff --git a/sources b/sources index e69de29..04b4a3a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1c91d5df9bdff329d10dea378770f0ae libgdiplus-1.1.10.tar.gz