]> git.pld-linux.org Git - packages/clutter.git/blame - clutter.spec
- updated to 1.16.2
[packages/clutter.git] / clutter.spec
CommitLineData
3c70d844
JB
1#
2# Conditional build:
3%bcond_without egl # EGL framebuffer backend
4%bcond_without wayland # Wayland backend
618caee5 5%bcond_without evdev # evdev support for input events
3c70d844
JB
6%bcond_with tslib # TSLib support for input events (outdated?)
7#
cb5cfe3c 8Summary: Library for rich GUIs
74b5426e 9Summary(pl.UTF-8): Biblioteka do bogatych graficznych interfejsów użytkownika
cb5cfe3c 10Name: clutter
03dd03c5
JB
11Version: 1.16.2
12Release: 1
ddcb41cc 13License: LGPL v2+
a76a4f90 14Group: Libraries
ef400ed0 15Source0: http://ftp.gnome.org/pub/GNOME/sources/clutter/1.16/%{name}-%{version}.tar.xz
03dd03c5 16# Source0-md5: 976614a2f7e60af088a0a460fe9d267e
004dec01
PZ
17Patch0: gtkdoc.patch
18Patch1: missing.patch
74b5426e 19URL: http://www.clutter-project.org/
a76a4f90 20BuildRequires: OpenGL-GLX-devel
771eb21c 21BuildRequires: atk-devel >= 1:2.5.3
be96c931
JB
22BuildRequires: autoconf >= 2.63
23BuildRequires: automake >= 1:1.11
5f3c19a8 24BuildRequires: cairo-devel >= 1.10
004dec01 25BuildRequires: cairo-gobject-devel >= 1.10
ef400ed0 26BuildRequires: cogl-devel >= 1.15.9
3c70d844 27%{?with_wayland:BuildRequires: cogl-devel(wayland) >= 1.15.9}
385bc9de 28BuildRequires: docbook-dtd412-xml
5f3c19a8 29BuildRequires: gdk-pixbuf2-devel >= 2.0
be96c931 30BuildRequires: gettext-devel >= 0.17
ef400ed0 31BuildRequires: glib2-devel >= 1:2.37.3
771eb21c
ŁK
32BuildRequires: gobject-introspection-devel >= 0.10.0
33BuildRequires: gtk+3-devel >= 3.4.0
dab6c1e5 34BuildRequires: gtk-doc >= 1.15
82299da8 35BuildRequires: json-glib-devel >= 0.12.0
3c70d844 36%{?with_evdev:BuildRequires: libevdev-devel}
5f3c19a8 37BuildRequires: libtool >= 2:2.2.6
004dec01 38BuildRequires: libxslt-progs
771eb21c 39BuildRequires: pango-devel >= 1:1.30
3c70d844 40BuildRequires: pkgconfig >= 1:0.16
385bc9de 41BuildRequires: python-modules
7ebb1773 42BuildRequires: tar >= 1:1.22
3c70d844
JB
43%{?with_tslib:BuildRequires: tslib-devel >= 1.1}
44%{?with_evdev:BuildRequires: udev-glib-devel}
a76a4f90 45BuildRequires: xorg-lib-libX11-devel
be96c931
JB
46BuildRequires: xorg-lib-libXcomposite-devel >= 0.4
47BuildRequires: xorg-lib-libXdamage-devel
48BuildRequires: xorg-lib-libXext-devel
6b294ff5 49BuildRequires: xorg-lib-libXfixes-devel >= 4
be96c931 50BuildRequires: xorg-lib-libXi-devel
3c70d844
JB
51%if %{with evdev} || %{with wayland}
52BuildRequires: xorg-lib-libxkbcommon-devel
53%endif
7ebb1773 54BuildRequires: xz
3c70d844
JB
55# wayland-client wayland-cursor (for client), wayland-server (for compositor)
56%{?with_wayland:BuildRequires: wayland-devel}
ef400ed0 57BuildRequires: xorg-lib-libxkbcommon-devel
771eb21c 58Requires: atk >= 1:2.5.3
6f7bb387 59Requires: cairo-gobject >= 1.10
ef400ed0 60Requires: cogl >= 1.15.9
3c70d844 61%{?with_wayland:Requires: cogl(wayland) >= 1.15.9}
ef400ed0 62Requires: glib2 >= 1:2.37.3
771eb21c 63Requires: gtk+3 >= 3.4.0
82299da8 64Requires: json-glib >= 0.12.0
771eb21c 65Requires: pango >= 1:1.30
618caee5 66%{?with_evdev:Provides: clutter(evdev) = %{version}-%{release}}
9fbaa85b 67Obsoletes: clutter-cairo < 1.0
cb5cfe3c 68BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69
70%description
71Clutter is an open source software library for creating fast, visually
72rich graphical user interfaces. The most obvious example of potential
73usage is in media center type applications. We hope however it can be
74used for a lot more.
75
76Clutter uses OpenGL (and soon optionally OpenGL ES) for rendering but
77with an API which hides the underlying GL complexity from the
78developer. The Clutter API is intended to be easy to use, efficient
79and flexible.
80
74b5426e
JB
81%description -l pl.UTF-8
82Clutter to biblioteka o otwartych źródłach do tworzenia szybkich,
83bogatych wizualnie graficznych interfejsów użytkownika. Najbardziej
84oczywistym przykładem potencjalnego zastosowania są aplikacje typu
85centrum multimedialne. Jednak autorzy mają nadzieję, że znajdzie się
86więcej zastosowań.
87
88Clutter wykorzystuje OpenGL (i wkrótce opcjonalnie OpenGL ES) do
89renderowania, ale API ukrywa złożoność warstwy GL przed programistami.
90API biblioteki Clutter ma być łatwe w użyciu, wydajne i elastyczne.
91
cb5cfe3c 92%package devel
93Summary: Header files for clutter library
94Summary(pl.UTF-8): Pliki nagłówkowe biblioteki clutter
95Group: Development/Libraries
96Requires: %{name} = %{version}-%{release}
a76a4f90 97Requires: OpenGL-GLX-devel
d77f858f 98Requires: atk-devel >= 1:2.5.3
6f7bb387 99Requires: cairo-gobject-devel >= 1.10
3c70d844
JB
100Requires: cogl-devel >= 1.15.9
101%{?with_wayland:Requires: cogl-devel(wayland) >= 1.15.9}
5f3c19a8 102Requires: gdk-pixbuf2-devel >= 2.0
3c70d844 103Requires: glib2-devel >= 1:2.37.3
771eb21c 104Requires: gtk+3-devel >= 3.4.0
5f3c19a8 105Requires: json-glib-devel >= 0.12.0
771eb21c 106Requires: pango-devel >= 1:1.30
a76a4f90 107Requires: xorg-lib-libX11-devel
be96c931
JB
108Requires: xorg-lib-libXcomposite-devel >= 0.4
109Requires: xorg-lib-libXdamage-devel
110Requires: xorg-lib-libXext-devel
6b294ff5 111Requires: xorg-lib-libXfixes-devel >= 4
9fbaa85b 112Obsoletes: clutter-cairo-devel < 1.0
618caee5 113%{?with_evdev:Provides: clutter-devel(evdev) = %{version}-%{release}}
cb5cfe3c 114
115%description devel
116Header files for clutter library.
117
118%description devel -l pl.UTF-8
119Pliki nagłówkowe biblioteki clutter.
120
121%package static
122Summary: Static clutter library
123Summary(pl.UTF-8): Statyczna biblioteka clutter
124Group: Development/Libraries
125Requires: %{name}-devel = %{version}-%{release}
9fbaa85b 126Obsoletes: clutter-cairo-static < 1.0
618caee5 127%{?with_evdev:Provides: clutter-static(evdev) = %{version}-%{release}}
cb5cfe3c 128
129%description static
130Static clutter library.
131
132%description static -l pl.UTF-8
133Statyczna biblioteka clutter.
134
135%package apidocs
136Summary: clutter API documentation
137Summary(pl.UTF-8): Dokumentacja API clutter
138Group: Documentation
139Requires: gtk-doc-common
140
141%description apidocs
142clutter API documentation.
143
144%description apidocs -l pl.UTF-8
145Dokumentacja API clutter.
146
147%prep
148%setup -q
004dec01
PZ
149%patch0 -p1
150%patch1 -p1
cb5cfe3c 151
152%build
153%{__gtkdocize}
a76a4f90 154%{__libtoolize}
9fbaa85b 155%{__aclocal} -I build/autotools
cb5cfe3c 156%{__autoconf}
5eb2d005 157%{__autoheader}
cb5cfe3c 158%{__automake}
159%configure \
ce1cf4e6 160 --disable-silent-rules \
004dec01 161 --enable-docs \
3c70d844
JB
162 %{?with_egl:--enable-egl-backend} \
163 %{?with_evdev:--enable-evdev-input} \
164 --enable-gdk-backend \
cb5cfe3c 165 --enable-gtk-doc \
a76a4f90 166 --enable-static \
3c70d844
JB
167 %{?with_tslib:--enable-tslib-input} \
168%if %{with wayland}
ef400ed0
AF
169 --enable-wayland-backend \
170 --enable-wayland-compositor \
3c70d844 171%endif
ef400ed0 172 --enable-xinput \
cb5cfe3c 173 --with-html-dir=%{_gtkdocdir}
a5e3ce66 174%{__make}
cb5cfe3c 175
176%install
177rm -rf $RPM_BUILD_ROOT
178
179%{__make} install \
180 DESTDIR=$RPM_BUILD_ROOT
181
dab6c1e5
MB
182%{__rm} $RPM_BUILD_ROOT%{_libdir}/libclutter-1.0.la
183
b6b2daf1
JB
184# move to %{_examplesdir} and package in -examples?
185%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/clutter-1.0/cookbook/examples
186
0166de94
MB
187%find_lang clutter-1.0
188
cb5cfe3c 189%clean
190rm -rf $RPM_BUILD_ROOT
191
192%post -p /sbin/ldconfig
193%postun -p /sbin/ldconfig
194
0166de94 195%files -f clutter-1.0.lang
cb5cfe3c 196%defattr(644,root,root,755)
7ebb1773 197%doc ChangeLog NEWS README
dab6c1e5
MB
198%attr(755,root,root) %{_libdir}/libclutter-1.0.so.*.*.*
199%attr(755,root,root) %ghost %{_libdir}/libclutter-1.0.so.0
200%attr(755,root,root) %{_libdir}/libclutter-glx-1.0.so.0
be96c931
JB
201%{_libdir}/girepository-1.0/Cally-1.0.typelib
202%{_libdir}/girepository-1.0/Clutter-1.0.typelib
dab6c1e5 203%{_libdir}/girepository-1.0/ClutterGdk-1.0.typelib
be96c931 204%{_libdir}/girepository-1.0/ClutterX11-1.0.typelib
cb5cfe3c 205
206%files devel
207%defattr(644,root,root,755)
dab6c1e5 208%attr(755,root,root) %{_libdir}/libclutter-1.0.so
9fbaa85b 209%attr(755,root,root) %{_libdir}/libclutter-glx-1.0.so
9fbaa85b 210%{_includedir}/clutter-1.0
be96c931
JB
211%{_datadir}/gir-1.0/Cally-1.0.gir
212%{_datadir}/gir-1.0/Clutter-1.0.gir
dab6c1e5 213%{_datadir}/gir-1.0/ClutterGdk-1.0.gir
be96c931 214%{_datadir}/gir-1.0/ClutterX11-1.0.gir
4108ef6f 215%{_pkgconfigdir}/cally-1.0.pc
9fbaa85b 216%{_pkgconfigdir}/clutter-1.0.pc
7ebb1773 217%{_pkgconfigdir}/clutter-cogl-1.0.pc
dab6c1e5 218%{_pkgconfigdir}/clutter-gdk-1.0.pc
9fbaa85b
PZ
219%{_pkgconfigdir}/clutter-glx-1.0.pc
220%{_pkgconfigdir}/clutter-x11-1.0.pc
ef400ed0
AF
221%{_pkgconfigdir}/clutter-egl-1.0.pc
222%{_pkgconfigdir}/clutter-wayland-1.0.pc
223%{_pkgconfigdir}/clutter-wayland-compositor-1.0.pc
a76a4f90
JB
224
225%files static
226%defattr(644,root,root,755)
dab6c1e5 227%{_libdir}/libclutter-1.0.a
cb5cfe3c 228
229%files apidocs
230%defattr(644,root,root,755)
4108ef6f 231%{_gtkdocdir}/cally
5eb2d005 232%{_gtkdocdir}/clutter
004dec01 233%{_gtkdocdir}/clutter-cookbook
This page took 0.058483 seconds and 4 git commands to generate.