diff --git a/README.md b/README.md index 7588d0b..1a88d52 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # clutter-gtk +This allows clutter to be embedded in GTK applications. +We hope with further work in the future clutter-gtk will also allow the reverse, namely embedding GTK in Clutter + diff --git a/clutter-gtk.spec b/clutter-gtk.spec new file mode 100644 index 0000000..fb2f427 --- /dev/null +++ b/clutter-gtk.spec @@ -0,0 +1,159 @@ +%define majver %(echo %version | cut -d. -f 1-2) +Name: clutter-gtk +Version: 1.4.4 +Release: 2mamba +Summary: A basic GTK clutter widget +Group: Development/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://www.clutter-project.org/ +Source: ftp://ftp.gnome.org/pub/gnome/sources/clutter-gtk/%{majver}/clutter-gtk-%{version}.tar.xz +#http://source.clutter-project.org/sources/clutter-gtk/%{majver}/clutter-gtk-%{version}.tar.xz +License: GPL, LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libclutter-devel +BuildRequires: libdrm-devel +BuildRequires: libexpat-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libGL-devel +BuildRequires: libglib-devel +BuildRequires: libgtk-devel +BuildRequires: libjson-glib-devel +BuildRequires: libpango-devel +BuildRequires: libpixman-devel +BuildRequires: libpng-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: libselinux-devel +BuildRequires: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXdamage-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXext-devel +BuildRequires: libXfixes-devel +BuildRequires: libXi-devel +BuildRequires: libXrender-devel +BuildRequires: libz-devel +BuildRequires: udev-devel +## AUTOBUILDREQ-END +BuildRequires: libclutter-devel >= 1.10 +BuildRequires: libcogl-devel >= 1.16 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This allows clutter to be embedded in GTK applications. +We hope with further work in the future clutter-gtk will also allow the reverse, namely embedding GTK in Clutter + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +A basic GTK clutter widget. + +This package contains static libraries and header files need for development. + +%package static +Summary: Static libraries for %{name} +Group: Development/Libraries +Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} + +%description static +A basic GTK clutter widget. + +This package contains static libraries need for development. + +%package doc +Summary: Documentation for %{name} +Group: Documentation +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description doc +Clutter is an open source software library for creating fast, compelling, portable, and dynamic graphical user interfaces. + +This package contains documentation for %{name}. + +%prep + +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang cluttergtk-1.0 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f cluttergtk-1.0.lang +%defattr(-,root,root) +%{_libdir}/libclutter-gtk-*.so.* +%{_libdir}/girepository-*/GtkClutter-*.typelib +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/clutter-gtk-1.0 +%dir %{_includedir}/clutter-gtk-1.0/clutter-gtk +%{_includedir}/clutter-gtk-1.0/clutter-gtk/*.h +%{_libdir}/libclutter-gtk-*.so +%{_libdir}/pkgconfig/clutter-gtk-*.pc +%{_datadir}/gir-*/GtkClutter-*.gir +%doc NEWS README + +%files static +%defattr(-,root,root) +%{_libdir}/libclutter-gtk-*.la + +%files doc +%defattr(-,root,root) +%{_datadir}/gtk-doc/html/clutter-gtk-1.0 + +%changelog +* Tue Nov 12 2013 Silvan Calarco 1.4.4-2mamba +- rebuilt with libcogl 1.16 + +* Sun Apr 07 2013 Automatic Build System 1.4.4-1mamba +- automatic version update by autodist + +* Mon Dec 17 2012 Automatic Build System 1.4.2-1mamba +- automatic version update by autodist + +* Thu Oct 18 2012 Automatic Build System 1.4.0-1mamba +- automatic version update by autodist + +* Wed Sep 26 2012 Automatic Build System 1.3.2-1mamba +- automatic version update by autodist + +* Mon Apr 02 2012 Automatic Build System 1.2.0-1mamba +- update to 1.2.0 + +* Sun Oct 23 2011 Automatic Build System 1.0.4-1mamba +- update to 1.0.4 + +* Thu Jul 28 2011 Automatic Build System 1.0.2-1mamba +- update to 1.0.2 + +* Sun Jul 24 2011 Silvan Calarco 1.0.0-1mamba +- update to 1.0.0 + +* Mon Sep 20 2010 gil 0.10.6-1mamba +- package created by autospec