%define api 0.3 %define major 11 %define libname %mklibname %name %api %major %define develname %mklibname %name -d Summary: User interface library with embedded multimedia Name: pigment Version: 0.3.17 Release: %mkrel 6 Source0: http://elisa.fluendo.com/static/download/pigment/%{name}-%{version}.tar.bz2 Patch0: pigment-0.3.17-redefinition.patch Patch1: pigment-0.3.17-gleslib.patch Patch2: pigment-0.3.17-install.patch Patch3: pigment-0.3.17-automake-1.13.patch License: LGPLv2+ Group: Development/C URL: https://code.fluendo.com/pigment/trac BuildRequires: pkgconfig(cairo) >= 1.4 BuildRequires: pkgconfig(cairo-xlib) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gdk-pixbuf-xlib-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.8.0 BuildRequires: pkgconfig(gstreamer-0.10) >= 0.10.0 BuildRequires: pkgconfig(gstreamer-base-0.10) >= 0.10.0 BuildRequires: pkgconfig(gstreamer-check-0.10) >= 0.10.0 BuildRequires: pkgconfig(gstreamer-plugins-base-0.10) >= 0.10.0 BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libglade-2.0) BuildRequires: pkgconfig(pango) >= 1.20 BuildRequires: pkgconfig(pangocairo) >= 1.20 BuildRequires: pkgconfig(tslib-0.0) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcomposite) BuildRequires: pkgconfig(xrender) BuildRequires: mesaglu-devel BuildRequires: mesaglesv1-devel BuildRequires: gtk-doc %description Pigment is a library designed to easily build user interfaces with embedded multimedia. Its design allows to use it on several platforms, thanks to a plugin system allowing to choose the underlying graphical API. Pigment is the rendering engine of Elisa, the Fluendo Media Center project. %package -n %{libname} Group: System/Libraries Summary: Shared library of Pigment Obsoletes: %{_lib}pigment11 < %{version}-%{release} %description -n %{libname} Pigment is a library designed to easily build user interfaces with embedded multimedia. Its design allows to use it on several platforms, thanks to a plugin system allowing to choose the underlying graphical API. Pigment is the rendering engine of Elisa, the Fluendo Media Center project. %package -n %{develname} Group: Development/C Summary: Development headers for shared library of Pigment Requires: %{libname} = %version Provides: lib%{name}-devel = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Obsoletes: %{mklibname pigment 0 -d} Obsoletes: pigment-devel < %{version}-%{release} %description -n %{develname} Pigment is a library designed to easily build user interfaces with embedded multimedia. Its design allows to use it on several platforms, thanks to a plugin system allowing to choose the underlying graphical API. Pigment is the rendering engine of Elisa, the Fluendo Media Center project. %prep %setup -q -n %{name}-%{version} %patch0 -p2 %patch1 -p1 %patch2 -p1 %patch3 -p1 -b .automake-1_13 %build autoreconf -fi %configure2_5x --disable-gtk-doc --disable-static %make %install %makeinstall_std find %{buildroot} -name '*.la' -delete %files %dir %{_libdir}/%{name}-%{api}/%{version} %{_libdir}/%{name}-%{api}/%{version}/*.so %{_datadir}/gtk-doc/html/%{name} %files -n %{libname} %{_libdir}/lib*-%{api}.so.%{major} %{_libdir}/lib*-%{api}.so.%{major}.* %files -n %{develname} %{_includedir}/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.3.17-6.mga3 + Revision: 377740 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 09 2013 cjw <cjw> 0.3.17-5.mga3 + Revision: 343437 - patch3: fix build with automake 1.13 * Thu Oct 18 2012 fwang <fwang> 0.3.17-4.mga3 + Revision: 307820 - fix installtion - br gtk-doc - update gles lib - add upstream patch to fix build - add more br - fix dirname - correct libname * Thu Mar 24 2011 boklm <boklm> 0.3.17-3.mga1 + Revision: 76198 - rebuild for bug #497 * Sun Mar 06 2011 ennael <ennael> 0.3.17-2.mga1 + Revision: 65326 - clean spec file - imported package pigment