clutter-gesture-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Name: clutter-gesture
  2. Version: 0.0.2.1
  3. Release: 5%{?_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. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2.1-5
  62. - rebuild with cogl-1.14.0
  63. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2.1-4
  64. - rebuild with cogl-1.12.0
  65. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2.1-3
  66. - rebuild with cogl-1.10.0
  67. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2.1-2
  68. - rebuild with cogl-1.8.0
  69. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2.1-1
  70. - initial build for Vine Linux
  71. * Sat Dec 19 2009 Peter Robinson <pbrobinson@gmail.com> 0.0.2-2
  72. - Review updates
  73. * Tue Sep 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.0.2-1
  74. - Initial packaging