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