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