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