Group :: Sistema/Bibliotecas
RPM: libgdiplus
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_disable static
%def_without pango
%define cairo system
Name: libgdiplus
Version: 2.2
Release: alt1
Summary: An Open Source implementation of the GDI+ API.
License: %mit
Group: System/Libraries
Packager: Mono Maintainers Team <mono at packages.altlinux.org>
Url: http://www.mono-project.com/
Source0: http://www.go-mono.com/sources/%name/%name-%version.tar.bz2
BuildPreReq: glib2-devel >= 2.2.3
BuildPreReq: libcairo-devel >= 1.4.0
%{?_with_pango:BuildPreReq: libpango-devel >= 1.10.0}
BuildPreReq: fontconfig-devel libfreetype-devel libXrender-devel libX11-devel
BuildPreReq: libexif-devel libjpeg-devel libtiff-devel libungif-devel libpng-devel
BuildPreReq: rpm-build-licenses
BuildRequires: gcc-c++
%description
An Open Source implementation of the GDI+ API
%package devel
Summary: Development libraries and headers for %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Libraries and header files for developing against libgdiplus.
%prep
%setup -q
%build
#%%remove_optflags -Wall
%configure \
%if %cairo == system
--with-cairo=%cairo \
%{?_with_pango:--with-pango} \
%endif
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files
%doc COPYING NEWS README TODO MPL-1.1.html AUTHORS ChangeLog
# We need the .so in the main package, because mono opens libgdiplus.so
%_libdir/lib*.so*
%files devel
%_pkgconfigdir/*
%changelog
…
Todas as alterações você pod ver aqui
%def_without pango
%define cairo system
Name: libgdiplus
Version: 2.2
Release: alt1
Summary: An Open Source implementation of the GDI+ API.
License: %mit
Group: System/Libraries
Packager: Mono Maintainers Team <mono at packages.altlinux.org>
Url: http://www.mono-project.com/
Source0: http://www.go-mono.com/sources/%name/%name-%version.tar.bz2
BuildPreReq: glib2-devel >= 2.2.3
BuildPreReq: libcairo-devel >= 1.4.0
%{?_with_pango:BuildPreReq: libpango-devel >= 1.10.0}
BuildPreReq: fontconfig-devel libfreetype-devel libXrender-devel libX11-devel
BuildPreReq: libexif-devel libjpeg-devel libtiff-devel libungif-devel libpng-devel
BuildPreReq: rpm-build-licenses
BuildRequires: gcc-c++
%description
An Open Source implementation of the GDI+ API
%package devel
Summary: Development libraries and headers for %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Libraries and header files for developing against libgdiplus.
%prep
%setup -q
%build
#%%remove_optflags -Wall
%configure \
%if %cairo == system
--with-cairo=%cairo \
%{?_with_pango:--with-pango} \
%endif
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files
%doc COPYING NEWS README TODO MPL-1.1.html AUTHORS ChangeLog
# We need the .so in the main package, because mono opens libgdiplus.so
%_libdir/lib*.so*
%files devel
%_pkgconfigdir/*
%changelog
…
Todas as alterações você pod ver aqui