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