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