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