Name: clutter-gesture Version: 0.0.2.1 Release: 1%{?_dist_release} Summary: Gesture Library for Clutter Group: System Environment/Libraries License: LGPLv2+ and MIT URL: http://moblin.org/projects/clutter-gesture Source0: http://git.moblin.org/cgit.cgi/%{name}/snapshot/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: clutter-gesture-0.0.2.1-configure.patch BuildRequires: clutter-devel BuildRequires: glib2-devel # Require these because the git tarball doesn't have the configure built BuildRequires: libtool Vendor: Project Vine Distribution: Vine Linux Packager: Takemikaduchi %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 devel Summary: Development package for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel Files for development with %{name}. %prep %setup -q %patch0 -p1 # The NEWS file contains the license so use it as a COPYING file. Upstream has been contacted to resolve the issue cp NEWS COPYING # run autogen.sh until we have a proper release, but don't run configure twice. sed -i '/configure/d' autogen.sh ./autogen.sh %build %configure --disable-static make %{?_smp_mflags} V=1 %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL='install -p' #Remove libtool archives. find %{buildroot} -name '*.la' -exec rm -f {} ';' %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING %{_libdir}/libcluttergesture-*.so.* %{_libdir}/libengine.so.* %files devel %defattr(-,root,root,-) %{_libdir}/libcluttergesture-*.so %{_libdir}/libengine.so %{_includedir}/%{name} %{_libdir}/pkgconfig/%{name}.pc %changelog * Mon Aug 15 2011 Yoji TOYODA 0.0.2.1-1 - initial build for Vine Linux * Sat Dec 19 2009 Peter Robinson 0.0.2-2 - Review updates * Tue Sep 15 2009 Peter Robinson 0.0.2-1 - Initial packaging