]>
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 |
442b86cb | 4 | Version: 0.3.1 |
cb5cfe3c | 5 | Release: 1 |
ddcb41cc | 6 | License: LGPL v2+ |
a76a4f90 | 7 | Group: Libraries |
442b86cb | 8 | Source0: http://www.clutter-project.org/sources/clutter/0.3/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 549311509899e239d379939fe911156f | |
74b5426e | 10 | URL: http://www.clutter-project.org/ |
a76a4f90 JB |
11 | BuildRequires: OpenGL-GLX-devel |
12 | BuildRequires: autoconf >= 2.53 | |
13 | BuildRequires: automake >= 1:1.7 | |
14 | BuildRequires: glib2-devel >= 1:2.8 | |
15 | BuildRequires: gtk+2-devel >= 1:2.0 | |
16 | BuildRequires: gtk-doc >= 1.4 | |
17 | BuildRequires: libtool | |
2fefc9c6 | 18 | BuildRequires: pango-devel |
a76a4f90 JB |
19 | BuildRequires: pkgconfig |
20 | BuildRequires: xorg-lib-libX11-devel | |
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 JB |
50 | Requires: OpenGL-GLX-devel |
51 | Requires: glib2-devel >= 1:2.8 | |
52 | Requires: gtk+2-devel >= 1:2.0 | |
53 | Requires: pango-devel | |
54 | Requires: xorg-lib-libX11-devel | |
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} | |
94 | %{__automake} | |
95 | %configure \ | |
96 | --enable-gtk-doc \ | |
a76a4f90 | 97 | --enable-static \ |
cb5cfe3c | 98 | --with-html-dir=%{_gtkdocdir} |
99 | ||
100 | %{__make} | |
101 | ||
102 | %install | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
105 | %{__make} install \ | |
106 | DESTDIR=$RPM_BUILD_ROOT | |
107 | ||
108 | %clean | |
109 | rm -rf $RPM_BUILD_ROOT | |
110 | ||
111 | %post -p /sbin/ldconfig | |
112 | %postun -p /sbin/ldconfig | |
113 | ||
114 | %files | |
115 | %defattr(644,root,root,755) | |
116 | %doc AUTHORS ChangeLog NEWS README TODO | |
a76a4f90 | 117 | %attr(755,root,root) %{_libdir}/libclutter-*.so.*.*.* |
cb5cfe3c | 118 | |
119 | %files devel | |
120 | %defattr(644,root,root,755) | |
a76a4f90 JB |
121 | %attr(755,root,root) %{_libdir}/libclutter-*.so |
122 | %{_libdir}/libclutter-*.la | |
123 | %{_includedir}/clutter-* | |
124 | %{_pkgconfigdir}/clutter-*.pc | |
125 | ||
126 | %files static | |
127 | %defattr(644,root,root,755) | |
128 | %{_libdir}/libclutter-*.a | |
cb5cfe3c | 129 | |
130 | %files apidocs | |
131 | %defattr(644,root,root,755) | |
132 | %{_gtkdocdir}/%{name} |