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