Sophie

Sophie

distrib > Mandriva > cooker > i586 > media > main-release-src > by-pkgid > a6beb2060dff5a9d4b249a30804bd79e > files > 3

clutter-gesture-0.0.2.1-2.src.rpm

%define api	0.0.2
%define major		0
%define libname		%mklibname %{name} %{api} %{major}
%define develname	%mklibname %{name} %{api} -d

Summary:	Gesture Library for Clutter
Name:		clutter-gesture
Version:	0.0.2.1
Release:	2
Group:		System/Libraries
License:	LGPLv2+ and MIT
URL:		http://maemo.org/packages/view/clutter-gesture/
Source0:	http://git.moblin.org/cgit.cgi/%{name}/snapshot/%{name}-%{version}.tar.bz2
Patch1:		clutter-gesture-0.0.2-build.patch

BuildRequires:	pkgconfig(clutter-x11-1.0)
BuildRequires:	pkgconfig(gl)
BuildRequires:	pkgconfig(glib-2.0)

%description
This library allows clutter applications to be aware of gestures 
and to easily attach some handlers to the gesture events. The library 
supports both single and multi touch.

%package -n %{libname}
Summary:	Gesture Library for Clutter
Group:		System/Libraries

%description -n %{libname}
This library allows clutter applications to be aware of gestures
and to easily attach some handlers to the gesture events. The library
supports both single and multi touch.

%package -n %{develname}
Summary:	Development files and headers for %{name}
Group:		Development/Other
Requires:	%{libname} = %{version}-%{release}

%description -n %{develname}
Files for development with %{name}.

%prep
%setup -q
%apply_patches

# don't treat warnings as errors
sed -i -e 's,-Werror,,g' configure.ac

# The NEWS file contains the license so use it as a COPYING file. Upstream has been contacted to resolve the issue
cp NEWS COPYING

%build
autoreconf -vfi
%configure2_5x \
	--disable-static

%make LIBS=-lm CFLAGS+="-DGLIB_DISABLE_DEPRECATION_WARNINGS -DCLUTTER_DISABLE_DEPRECATION_WARNINGS" V=1

%install
%makeinstall_std

#Remove libtool archives.
find %{buildroot} -name '*.la' -exec rm -f {} ';'

%files -n %{libname}
%doc COPYING
%{_libdir}/libcluttergesture-%{api}.so.%{major}*
%{_libdir}/libengine.so.%{major}*

%files -n %{develname}
%{_libdir}/libcluttergesture-%{api}.so
%{_libdir}/libengine.so
%{_includedir}/%{name}
%{_libdir}/pkgconfig/%{name}.pc



%changelog
* Tue May 01 2012 Matthew Dawkins <mattydaw@mandriva.org> 0.0.2.1-2
+ Revision: 794810
- rebuild for new clutter

* Mon Nov 28 2011 Matthew Dawkins <mattydaw@mandriva.org> 0.0.2.1-1
+ Revision: 734927
- imported package clutter-gesture