Sophie

Sophie

distrib > Arklinux > devel > i586 > media > main-src > by-pkgid > 12676106cfc63a331e7df58bbae252a6 > files > 4

libgdiplus-2.8.1-1ark.src.rpm

Name:           libgdiplus
Version:        2.8.1
Release:        1ark
Summary:        An Open Source implementation of the GDI+ API

Group:          Deprecated/System/Libraries
License:        MIT
URL:            http://www.mono-project.com/
Source:         http://ftp.novell.com/pub/mono/sources/libgdiplus/%{name}-%{version}.tar.bz2
Patch:		libgdiplus-2.6.4-linkage.patch
Patch1:		libgdiplus-2.8.1-libpng-1.5.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
BuildRequires:  cairo-devel
BuildRequires:  zlib-devel

%track
prog %name = {
	url = http://ftp.novell.com/pub/mono/sources-stable/
	regex = %name-(__VER__)\.tar\.bz2
	version = %version
}

%description
An Open Source implementation of the GDI+ API.

This package is deprecated; the Qt API is better than the GDI+ API and
the implementation of %name could be a lot better.
Do not use this package unless you need to.

%package devel
Summary: Development files for libgdiplus
Group: Deprecated/Development/Libraries
Requires: %{name} = %{version}-%{release} pkgconfig

%description devel
Development files for libgdiplus

This package is deprecated; the Qt API is better than the GDI+ API and
the implementation of %name could be a lot better.
Do not use this package unless you need to.

%package static
Summary: Libraries for linking statically to %name
Group: Deprecated/Development/Libraries/Static
Requires: %name-devel = %version-%release

%description static
Libraries for linking statically to %name

This package is deprecated; the Qt API is better than the GDI+ API and
the implementation of %name could be a lot better.
Do not use this package unless you need to.

%prep
%setup -q
%patch -p1 -b .linkage~
%patch1 -p1 -b .libpng15~
libtoolize --force
aclocal
automake -a
autoconf

%build
%configure --with-cairo=system
make %{?_smp_mflags} 

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

rm $RPM_BUILD_ROOT%{_libdir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%doc COPYING NEWS README TODO MPL-1.1.html AUTHORS
%defattr(-,root,root,-)
%_libdir/lib*.so*

%files devel
%doc ChangeLog
%defattr(-,root,root,-)
%_libdir/pkgconfig/*

%files static
%_libdir/*.a

%changelog
* Mon Jan 17 2011 Bernhard Rosenkraenzer <bero@arklinux.org> 2.8.1-1ark
- 2.8.1
- libpng 1.5

* Fri Apr 30 2010 Bernhard Rosenkraenzer <bero@arklinux.org> 2.6.4-1ark
- 2.6.4

* Thu Aug 27 2009 Bernhard Rosenkraenzer <bero@arklinux.org> 2.4.2-1ark
- 2.4.2
- Add deprecation notice
- Add rpm5 tracking info

* Wed Dec 10 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 2.2-0.pre1.1ark
- initial Ark package