clutter-gesture-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. Name: clutter-gesture
  2. Version: 0.0.2.1
  3. Release: 3%{?_dist_release}
  4. Summary: Gesture Library for Clutter
  5. Group: System Environment/Libraries
  6. License: LGPLv2+ and MIT
  7. URL: http://moblin.org/projects/clutter-gesture
  8. Source0: http://git.moblin.org/cgit.cgi/%{name}/snapshot/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. Patch0: clutter-gesture-0.0.2.1-configure.patch
  11. BuildRequires: clutter-devel
  12. BuildRequires: glib2-devel
  13. # Require these because the git tarball doesn't have the configure built
  14. BuildRequires: libtool
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. This library allows clutter applications to be aware of gestures
  20. and to easily attach some handlers to the gesture events. The library
  21. supports both single and multi touch.
  22. %package devel
  23. Summary: Development package for %{name}
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: pkgconfig
  27. %description devel
  28. Files for development with %{name}.
  29. %prep
  30. %setup -q
  31. %patch0 -p1
  32. # The NEWS file contains the license so use it as a COPYING file. Upstream has been contacted to resolve the issue
  33. cp NEWS COPYING
  34. # run autogen.sh until we have a proper release, but don't run configure twice.
  35. sed -i '/configure/d' autogen.sh
  36. ./autogen.sh
  37. %build
  38. %configure --disable-static
  39. make %{?_smp_mflags} V=1
  40. %install
  41. rm -rf %{buildroot}
  42. make install DESTDIR=%{buildroot} INSTALL='install -p'
  43. #Remove libtool archives.
  44. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  45. %clean
  46. rm -rf %{buildroot}
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc COPYING
  52. %{_libdir}/libcluttergesture-*.so.*
  53. %{_libdir}/libengine.so.*
  54. %files devel
  55. %defattr(-,root,root,-)
  56. %{_libdir}/libcluttergesture-*.so
  57. %{_libdir}/libengine.so
  58. %{_includedir}/%{name}
  59. %{_libdir}/pkgconfig/%{name}.pc
  60. %changelog
  61. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2.1-3
  62. - rebuild with cogl-1.10.0
  63. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2.1-2
  64. - rebuild with cogl-1.8.0
  65. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2.1-1
  66. - initial build for Vine Linux
  67. * Sat Dec 19 2009 Peter Robinson <pbrobinson@gmail.com> 0.0.2-2
  68. - Review updates
  69. * Tue Sep 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.0.2-1
  70. - Initial packaging