1 Summary: Library for rich GUIs
2 Summary(pl.UTF-8): Biblioteka do bogatych graficznych interfejsów użytkownika
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/clutter/1.14/%{name}-%{version}.tar.xz
9 # Source0-md5: c072e4c27e69368f2b877ea4f6da2cdf
12 Patch2: clutter-bug692706.patch
13 URL: http://www.clutter-project.org/
14 BuildRequires: OpenGL-GLX-devel
15 BuildRequires: atk-devel >= 1:2.5.3
16 BuildRequires: autoconf >= 2.63
17 BuildRequires: automake >= 1:1.11
18 BuildRequires: cairo-devel >= 1.10
19 BuildRequires: cairo-gobject-devel >= 1.10
20 BuildRequires: cogl-devel >= 1.14.0
21 BuildRequires: docbook-dtd412-xml
22 BuildRequires: gdk-pixbuf2-devel >= 2.0
23 BuildRequires: gettext-devel >= 0.17
24 BuildRequires: glib2-devel >= 1:2.32.0
25 BuildRequires: gobject-introspection-devel >= 0.10.0
26 BuildRequires: gtk+3-devel >= 3.4.0
27 BuildRequires: gtk-doc >= 1.15
28 BuildRequires: json-glib-devel >= 0.12.0
29 BuildRequires: libtool >= 2:2.2.6
30 BuildRequires: libxslt-progs
31 BuildRequires: pango-devel >= 1:1.30
32 BuildRequires: pkgconfig
33 BuildRequires: python-modules
34 BuildRequires: tar >= 1:1.22
35 BuildRequires: xorg-lib-libX11-devel
36 BuildRequires: xorg-lib-libXcomposite-devel >= 0.4
37 BuildRequires: xorg-lib-libXdamage-devel
38 BuildRequires: xorg-lib-libXext-devel
39 BuildRequires: xorg-lib-libXfixes-devel >= 4
40 BuildRequires: xorg-lib-libXi-devel
42 Requires: atk >= 1:2.5.3
43 Requires: cairo-gobject >= 1.10
44 Requires: cogl >= 1.14.0
45 Requires: glib2 >= 1:2.32.0
46 Requires: gtk+3 >= 3.4.0
47 Requires: json-glib >= 0.12.0
48 Requires: pango >= 1:1.30
49 Obsoletes: clutter-cairo < 1.0
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53 Clutter is an open source software library for creating fast, visually
54 rich graphical user interfaces. The most obvious example of potential
55 usage is in media center type applications. We hope however it can be
58 Clutter uses OpenGL (and soon optionally OpenGL ES) for rendering but
59 with an API which hides the underlying GL complexity from the
60 developer. The Clutter API is intended to be easy to use, efficient
63 %description -l pl.UTF-8
64 Clutter to biblioteka o otwartych źródłach do tworzenia szybkich,
65 bogatych wizualnie graficznych interfejsów użytkownika. Najbardziej
66 oczywistym przykładem potencjalnego zastosowania są aplikacje typu
67 centrum multimedialne. Jednak autorzy mają nadzieję, że znajdzie się
70 Clutter wykorzystuje OpenGL (i wkrótce opcjonalnie OpenGL ES) do
71 renderowania, ale API ukrywa złożoność warstwy GL przed programistami.
72 API biblioteki Clutter ma być łatwe w użyciu, wydajne i elastyczne.
75 Summary: Header files for clutter library
76 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki clutter
77 Group: Development/Libraries
78 Requires: %{name} = %{version}-%{release}
79 Requires: OpenGL-GLX-devel
80 Requires: atk-devel >= 1:2.5.3
81 Requires: cairo-gobject-devel >= 1.10
82 Requires: cogl-devel >= 1.14.0
83 Requires: gdk-pixbuf2-devel >= 2.0
84 Requires: glib2-devel >= 1:2.32.0
85 Requires: gtk+3-devel >= 3.4.0
86 Requires: json-glib-devel >= 0.12.0
87 Requires: pango-devel >= 1:1.30
88 Requires: xorg-lib-libX11-devel
89 Requires: xorg-lib-libXcomposite-devel >= 0.4
90 Requires: xorg-lib-libXdamage-devel
91 Requires: xorg-lib-libXext-devel
92 Requires: xorg-lib-libXfixes-devel >= 4
93 Obsoletes: clutter-cairo-devel < 1.0
96 Header files for clutter library.
98 %description devel -l pl.UTF-8
99 Pliki nagłówkowe biblioteki clutter.
102 Summary: Static clutter library
103 Summary(pl.UTF-8): Statyczna biblioteka clutter
104 Group: Development/Libraries
105 Requires: %{name}-devel = %{version}-%{release}
106 Obsoletes: clutter-cairo-static < 1.0
109 Static clutter library.
111 %description static -l pl.UTF-8
112 Statyczna biblioteka clutter.
115 Summary: clutter API documentation
116 Summary(pl.UTF-8): Dokumentacja API clutter
118 Requires: gtk-doc-common
121 clutter API documentation.
123 %description apidocs -l pl.UTF-8
124 Dokumentacja API clutter.
135 %{__aclocal} -I build/autotools
140 --disable-silent-rules \
144 --with-html-dir=%{_gtkdocdir}
148 rm -rf $RPM_BUILD_ROOT
151 DESTDIR=$RPM_BUILD_ROOT
153 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libclutter-1.0.la
155 # drop unsupported locale
156 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/az_IR
158 # move to %{_examplesdir} and package in -examples?
159 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/clutter-1.0/cookbook/examples
161 %find_lang clutter-1.0
164 rm -rf $RPM_BUILD_ROOT
166 %post -p /sbin/ldconfig
167 %postun -p /sbin/ldconfig
169 %files -f clutter-1.0.lang
170 %defattr(644,root,root,755)
171 %doc ChangeLog NEWS README
172 %attr(755,root,root) %{_libdir}/libclutter-1.0.so.*.*.*
173 %attr(755,root,root) %ghost %{_libdir}/libclutter-1.0.so.0
174 %attr(755,root,root) %{_libdir}/libclutter-glx-1.0.so.0
175 %{_libdir}/girepository-1.0/Cally-1.0.typelib
176 %{_libdir}/girepository-1.0/Clutter-1.0.typelib
177 %{_libdir}/girepository-1.0/ClutterGdk-1.0.typelib
178 %{_libdir}/girepository-1.0/ClutterX11-1.0.typelib
181 %defattr(644,root,root,755)
182 %attr(755,root,root) %{_libdir}/libclutter-1.0.so
183 %attr(755,root,root) %{_libdir}/libclutter-glx-1.0.so
184 %{_includedir}/clutter-1.0
185 %{_datadir}/gir-1.0/Cally-1.0.gir
186 %{_datadir}/gir-1.0/Clutter-1.0.gir
187 %{_datadir}/gir-1.0/ClutterGdk-1.0.gir
188 %{_datadir}/gir-1.0/ClutterX11-1.0.gir
189 %{_pkgconfigdir}/cally-1.0.pc
190 %{_pkgconfigdir}/clutter-1.0.pc
191 %{_pkgconfigdir}/clutter-cogl-1.0.pc
192 %{_pkgconfigdir}/clutter-gdk-1.0.pc
193 %{_pkgconfigdir}/clutter-glx-1.0.pc
194 %{_pkgconfigdir}/clutter-x11-1.0.pc
197 %defattr(644,root,root,755)
198 %{_libdir}/libclutter-1.0.a
201 %defattr(644,root,root,755)
203 %{_gtkdocdir}/clutter
204 %{_gtkdocdir}/clutter-cookbook