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