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