You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libgdiplus/libgdiplus.spec

58 lines
1.3 KiB

Name: libgdiplus
Version: 1.1.10
Release: 3
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
* Mon Jan 9 2006 Alexander Larsson <alexl@redhat.com> - 1.1.10-3
- Rebuild
* Thu Nov 17 2005 Alexander Larsson <alexl@redhat.com> 1.1.10-2
- Build on s390* also
* Thu Nov 17 2005 Alexander Larsson <alexl@redhat.com> - 1.1.10-1
- Initial version