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