clutter-gtk/clutter-gtk.spec

205 lines
6.1 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f 1-2)
Name: clutter-gtk
Version: 1.8.2
Release: 2mamba
Summary: A basic GTK clutter widget
Group: Development/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
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: libGL-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXi-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcap-devel
BuildRequires: libclutter-devel
BuildRequires: libcogl-devel
BuildRequires: libdrm-devel
BuildRequires: libdw-devel
BuildRequires: libevdev-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgbm-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libgudev-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libinput-devel
BuildRequires: libjson-glib-devel
BuildRequires: libmount-devel
BuildRequires: libmtdev-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libthai-devel
BuildRequires: libudev-devel
BuildRequires: libuuid-devel
BuildRequires: libwacom-devel
BuildRequires: libxcb-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libclutter-devel >= 1.10
BuildRequires: libcogl-devel >= 1.18
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
* Sat Jul 22 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.2-2mamba
- rebuilt
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Sat Apr 09 2016 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Wed Oct 21 2015 Automatic Build System <autodist@mambasoft.it> 1.6.6-1mamba
- automatic version update by autodist
* Wed Jul 01 2015 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
- automatic version update by autodist
* Mon Sep 22 2014 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
- automatic version update by autodist
* Fri Aug 22 2014 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
- automatic version update by autodist
* Wed Jun 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.2-2mamba
- rebuilt with libcogl 1.18
* Wed Feb 19 2014 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
- automatic version update by autodist
* Tue Nov 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-2mamba
- rebuilt with libcogl 1.16
* Sun Apr 07 2013 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
- automatic version update by autodist
* Mon Dec 17 2012 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic version update by autodist
* Thu Oct 18 2012 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Wed Sep 26 2012 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
- automatic version update by autodist
* Mon Apr 02 2012 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- update to 1.2.0
* Sun Oct 23 2011 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
- update to 1.0.4
* Thu Jul 28 2011 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- update to 1.0.2
* Sun Jul 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0
* Mon Sep 20 2010 gil <puntogil@libero.it> 0.10.6-1mamba
- package created by autospec