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