]>
Commit | Line | Data |
---|---|---|
1 | Summary: Library for rich GUIs | |
2 | Summary(pl.UTF-8): Biblioteka do bogatych graficznych interfejsów użytkownika | |
3 | Name: clutter | |
4 | Version: 0.6.4 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: Libraries | |
8 | Source0: http://www.clutter-project.org/sources/clutter/0.6/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: d28dec49517475c2ea0de884d7b87268 | |
10 | URL: http://www.clutter-project.org/ | |
11 | BuildRequires: OpenGL-GLX-devel | |
12 | BuildRequires: autoconf >= 2.53 | |
13 | BuildRequires: automake >= 1:1.7 | |
14 | BuildRequires: glib2-devel >= 1:2.10 | |
15 | BuildRequires: gtk+2-devel >= 1:2.0 | |
16 | BuildRequires: gtk-doc >= 1.6 | |
17 | BuildRequires: libtool | |
18 | BuildRequires: pango-devel | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: xorg-lib-libX11-devel | |
21 | BuildRequires: xorg-lib-libXfixes-devel >= 4 | |
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 | ||
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 | ||
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} | |
51 | Requires: OpenGL-GLX-devel | |
52 | Requires: glib2-devel >= 1:2.10 | |
53 | Requires: gtk+2-devel >= 1:2.0 | |
54 | Requires: pango-devel | |
55 | Requires: xorg-lib-libX11-devel | |
56 | Requires: xorg-lib-libXfixes-devel >= 4 | |
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} | |
93 | %{__libtoolize} | |
94 | %{__aclocal} | |
95 | %{__autoconf} | |
96 | %{__automake} | |
97 | %configure \ | |
98 | --enable-gtk-doc \ | |
99 | --enable-static \ | |
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 | |
119 | %attr(755,root,root) %{_libdir}/libclutter-glx-0.6.so.*.*.* | |
120 | %attr(755,root,root) %ghost %{_libdir}/libclutter-glx-0.6.so.0 | |
121 | ||
122 | %files devel | |
123 | %defattr(644,root,root,755) | |
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 | |
130 | ||
131 | %files static | |
132 | %defattr(644,root,root,755) | |
133 | %{_libdir}/libclutter-glx-0.6.a | |
134 | ||
135 | %files apidocs | |
136 | %defattr(644,root,root,755) | |
137 | %{_gtkdocdir}/%{name} |