Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 0981d3cc4e7a562f1bbfaf19a1bef2b4 > files > 3

clutter-box2d-0.10.0-6mdv2010.1.src.rpm

%define major 0
%define api 0.10
%define clutterapi 1.0
%define libname %mklibname %name _%api %major
%define develname %mklibname -d %name _%api
Name:           clutter-box2d
Version:        0.10.0
Release:        %mkrel 6
Summary:        Glue layer between clutter and box2d
Group:          Graphics
License:        LGPLv2+
URL:            http://www.clutter-project.org
Source0:        http://www.clutter-project.org/sources/%{name}/%api/%{name}-%{version}.tar.bz2
Patch: clutter-box2d-0.10.0-new-gobject-introspection.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires:  clutter-devel >= 1.0
BuildRequires:  gobject-introspection-devel gir-repository

%description
This allows clutter to be embedded in cairo applications. 

%package -n %libname
Summary:       Glue layer between clutter and box2d
Group:         System/Libraries

%description -n %libname
This allows clutter to be embedded in cairo applications. 

%package -n %develname
Summary:        Clutter-box2d development environment
Group:          Development/C
Requires:       %{libname} = %{version}-%{release}
Provides:	%name-devel = %version-%release

%description -n %develname
Header files and libraries for building a extension library for the
clutter-box2d

%prep
%setup -q
%patch -p1 -b .new-gobject-introspection
autoreconf -fi

%build
%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

rm -f %buildroot%{_libdir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%files -n %libname
%defattr(-,root,root,-)
%doc AUTHORS README
%{_libdir}/libclutter-box2d-%api.so.%{major}*
%_libdir/girepository-1.0/ClutterBox2D-%api.typelib

%files -n %develname
%defattr(-,root,root,-)
%doc %{_datadir}/gtk-doc/html/clutter-box2d
%{_libdir}/pkgconfig/clutter-box2d-%api.pc
%{_libdir}/libclutter-box2d-%api.so
%{_includedir}/clutter-%clutterapi/clutter-box2d
%_datadir/gir-1.0/ClutterBox2D-%api.gir




%changelog
* Tue Feb 16 2010 Götz Waschk <waschk@mandriva.org> 0.10.0-6mdv2010.1
+ Revision: 506613
- rebuild for new clutter

* Tue Aug 18 2009 Götz Waschk <waschk@mandriva.org> 0.10.0-5mdv2010.0
+ Revision: 417563
- update introspection patch

* Mon Aug 17 2009 Götz Waschk <waschk@mandriva.org> 0.10.0-4mdv2010.0
+ Revision: 417247
- fix for new gobject-introspection
- fix devel provides

* Wed Aug 12 2009 Götz Waschk <waschk@mandriva.org> 0.10.0-3mdv2010.0
+ Revision: 415269
- move typelib to the library package

* Thu Jul 30 2009 Götz Waschk <waschk@mandriva.org> 0.10.0-1mdv2010.0
+ Revision: 404639
- new version
- make it a proper library package
- new API

* Thu Feb 12 2009 Funda Wang <fwang@mandriva.org> 0.8.2-1mdv2009.1
+ Revision: 339721
- New version 0.8.2

* Thu Oct 16 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.8.0-5.27mdv2009.1
+ Revision: 294282
- import clutter-box2d


* Thu Oct 16 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.8.0-5.27mdv2009.1
- adapt to Mandriva

* Fri Aug 22 2008 Xu Li <xu.li@intel.com> 0.8.0-1
- Add patch to destroy Box2D body when Actor is destroyed.