]>
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 |
83146e33 | 4 | Version: 0.6.4 |
cb5cfe3c | 5 | Release: 1 |
ddcb41cc | 6 | License: LGPL v2+ |
a76a4f90 | 7 | Group: Libraries |
2a9db648 | 8 | Source0: http://www.clutter-project.org/sources/clutter/0.6/%{name}-%{version}.tar.gz |
83146e33 | 9 | # Source0-md5: d28dec49517475c2ea0de884d7b87268 |
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 | |
6b294ff5 | 14 | BuildRequires: glib2-devel >= 1:2.10 |
a76a4f90 | 15 | BuildRequires: gtk+2-devel >= 1:2.0 |
6b294ff5 | 16 | BuildRequires: gtk-doc >= 1.6 |
a76a4f90 | 17 | BuildRequires: libtool |
2fefc9c6 | 18 | BuildRequires: pango-devel |
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 JB |
53 | Requires: gtk+2-devel >= 1:2.0 |
54 | Requires: pango-devel | |
55 | Requires: xorg-lib-libX11-devel | |
6b294ff5 | 56 | Requires: xorg-lib-libXfixes-devel >= 4 |
cb5cfe3c | 57 | |
58 | %description devel | |
59 | Header files for clutter library. | |
60 | ||
61 | %description devel -l pl.UTF-8 | |
62 | Pliki nagłówkowe biblioteki clutter. | |
63 | ||
64 | %package static | |
65 | Summary: Static clutter library | |
66 | Summary(pl.UTF-8): Statyczna biblioteka clutter | |
67 | Group: Development/Libraries | |
68 | Requires: %{name}-devel = %{version}-%{release} | |
69 | ||
70 | %description static | |
71 | Static clutter library. | |
72 | ||
73 | %description static -l pl.UTF-8 | |
74 | Statyczna biblioteka clutter. | |
75 | ||
76 | %package apidocs | |
77 | Summary: clutter API documentation | |
78 | Summary(pl.UTF-8): Dokumentacja API clutter | |
79 | Group: Documentation | |
80 | Requires: gtk-doc-common | |
81 | ||
82 | %description apidocs | |
83 | clutter API documentation. | |
84 | ||
85 | %description apidocs -l pl.UTF-8 | |
86 | Dokumentacja API clutter. | |
87 | ||
88 | %prep | |
89 | %setup -q | |
90 | ||
91 | %build | |
92 | %{__gtkdocize} | |
a76a4f90 | 93 | %{__libtoolize} |
cb5cfe3c | 94 | %{__aclocal} |
95 | %{__autoconf} | |
96 | %{__automake} | |
97 | %configure \ | |
98 | --enable-gtk-doc \ | |
a76a4f90 | 99 | --enable-static \ |
cb5cfe3c | 100 | --with-html-dir=%{_gtkdocdir} |
101 | ||
102 | %{__make} | |
103 | ||
104 | %install | |
105 | rm -rf $RPM_BUILD_ROOT | |
106 | ||
107 | %{__make} install \ | |
108 | DESTDIR=$RPM_BUILD_ROOT | |
109 | ||
110 | %clean | |
111 | rm -rf $RPM_BUILD_ROOT | |
112 | ||
113 | %post -p /sbin/ldconfig | |
114 | %postun -p /sbin/ldconfig | |
115 | ||
116 | %files | |
117 | %defattr(644,root,root,755) | |
118 | %doc AUTHORS ChangeLog NEWS README TODO | |
2a9db648 PZ |
119 | %attr(755,root,root) %{_libdir}/libclutter-glx-0.6.so.*.*.* |
120 | %attr(755,root,root) %ghost %{_libdir}/libclutter-glx-0.6.so.0 | |
cb5cfe3c | 121 | |
122 | %files devel | |
123 | %defattr(644,root,root,755) | |
2a9db648 PZ |
124 | %attr(755,root,root) %{_libdir}/libclutter-glx-0.6.so |
125 | %{_libdir}/libclutter-glx-0.6.la | |
126 | %{_includedir}/clutter-0.6 | |
127 | %{_pkgconfigdir}/clutter-0.6.pc | |
128 | %{_pkgconfigdir}/clutter-glx-0.6.pc | |
129 | %{_pkgconfigdir}/clutter-x11-0.6.pc | |
a76a4f90 JB |
130 | |
131 | %files static | |
132 | %defattr(644,root,root,755) | |
2a9db648 | 133 | %{_libdir}/libclutter-glx-0.6.a |
cb5cfe3c | 134 | |
135 | %files apidocs | |
136 | %defattr(644,root,root,755) | |
137 | %{_gtkdocdir}/%{name} |