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