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