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