]> git.pld-linux.org Git - packages/clutter.git/blob - clutter.spec
Backport upstream patch to fix gnome-shell crashes. Release 2
[packages/clutter.git] / clutter.spec
1 Summary:        Library for rich GUIs
2 Summary(pl.UTF-8):      Biblioteka do bogatych graficznych interfejsów użytkownika
3 Name:           clutter
4 Version:        1.14.4
5 Release:        2
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/clutter/1.14/%{name}-%{version}.tar.xz
9 # Source0-md5:  c072e4c27e69368f2b877ea4f6da2cdf
10 Patch0:         gtkdoc.patch
11 Patch1:         missing.patch
12 Patch2:         clutter-bug692706.patch
13 URL:            http://www.clutter-project.org/
14 BuildRequires:  OpenGL-GLX-devel
15 BuildRequires:  atk-devel >= 1:2.5.3
16 BuildRequires:  autoconf >= 2.63
17 BuildRequires:  automake >= 1:1.11
18 BuildRequires:  cairo-devel >= 1.10
19 BuildRequires:  cairo-gobject-devel >= 1.10
20 BuildRequires:  cogl-devel >= 1.14.0
21 BuildRequires:  docbook-dtd412-xml
22 BuildRequires:  gdk-pixbuf2-devel >= 2.0
23 BuildRequires:  gettext-devel >= 0.17
24 BuildRequires:  glib2-devel >= 1:2.32.0
25 BuildRequires:  gobject-introspection-devel >= 0.10.0
26 BuildRequires:  gtk+3-devel >= 3.4.0
27 BuildRequires:  gtk-doc >= 1.15
28 BuildRequires:  json-glib-devel >= 0.12.0
29 BuildRequires:  libtool >= 2:2.2.6
30 BuildRequires:  libxslt-progs
31 BuildRequires:  pango-devel >= 1:1.30
32 BuildRequires:  pkgconfig
33 BuildRequires:  python-modules
34 BuildRequires:  tar >= 1:1.22
35 BuildRequires:  xorg-lib-libX11-devel
36 BuildRequires:  xorg-lib-libXcomposite-devel >= 0.4
37 BuildRequires:  xorg-lib-libXdamage-devel
38 BuildRequires:  xorg-lib-libXext-devel
39 BuildRequires:  xorg-lib-libXfixes-devel >= 4
40 BuildRequires:  xorg-lib-libXi-devel
41 BuildRequires:  xz
42 Requires:       atk >= 1:2.5.3
43 Requires:       cairo-gobject >= 1.10
44 Requires:       cogl >= 1.14.0
45 Requires:       glib2 >= 1:2.32.0
46 Requires:       gtk+3 >= 3.4.0
47 Requires:       json-glib >= 0.12.0
48 Requires:       pango >= 1:1.30
49 Obsoletes:      clutter-cairo < 1.0
50 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52 %description
53 Clutter is an open source software library for creating fast, visually
54 rich graphical user interfaces. The most obvious example of potential
55 usage is in media center type applications. We hope however it can be
56 used for a lot more.
57
58 Clutter uses OpenGL (and soon optionally OpenGL ES) for rendering but
59 with an API which hides the underlying GL complexity from the
60 developer. The Clutter API is intended to be easy to use, efficient
61 and flexible.
62
63 %description -l pl.UTF-8
64 Clutter to biblioteka o otwartych źródłach do tworzenia szybkich,
65 bogatych wizualnie graficznych interfejsów użytkownika. Najbardziej
66 oczywistym przykładem potencjalnego zastosowania są aplikacje typu
67 centrum multimedialne. Jednak autorzy mają nadzieję, że znajdzie się
68 więcej zastosowań.
69
70 Clutter wykorzystuje OpenGL (i wkrótce opcjonalnie OpenGL ES) do
71 renderowania, ale API ukrywa złożoność warstwy GL przed programistami.
72 API biblioteki Clutter ma być łatwe w użyciu, wydajne i elastyczne.
73
74 %package devel
75 Summary:        Header files for clutter library
76 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki clutter
77 Group:          Development/Libraries
78 Requires:       %{name} = %{version}-%{release}
79 Requires:       OpenGL-GLX-devel
80 Requires:       atk-devel >= 1:2.5.3
81 Requires:       cairo-gobject-devel >= 1.10
82 Requires:       cogl-devel >= 1.14.0
83 Requires:       gdk-pixbuf2-devel >= 2.0
84 Requires:       glib2-devel >= 1:2.32.0
85 Requires:       gtk+3-devel >= 3.4.0
86 Requires:       json-glib-devel >= 0.12.0
87 Requires:       pango-devel >= 1:1.30
88 Requires:       xorg-lib-libX11-devel
89 Requires:       xorg-lib-libXcomposite-devel >= 0.4
90 Requires:       xorg-lib-libXdamage-devel
91 Requires:       xorg-lib-libXext-devel
92 Requires:       xorg-lib-libXfixes-devel >= 4
93 Obsoletes:      clutter-cairo-devel < 1.0
94
95 %description devel
96 Header files for clutter library.
97
98 %description devel -l pl.UTF-8
99 Pliki nagłówkowe biblioteki clutter.
100
101 %package static
102 Summary:        Static clutter library
103 Summary(pl.UTF-8):      Statyczna biblioteka clutter
104 Group:          Development/Libraries
105 Requires:       %{name}-devel = %{version}-%{release}
106 Obsoletes:      clutter-cairo-static < 1.0
107
108 %description static
109 Static clutter library.
110
111 %description static -l pl.UTF-8
112 Statyczna biblioteka clutter.
113
114 %package apidocs
115 Summary:        clutter API documentation
116 Summary(pl.UTF-8):      Dokumentacja API clutter
117 Group:          Documentation
118 Requires:       gtk-doc-common
119
120 %description apidocs
121 clutter API documentation.
122
123 %description apidocs -l pl.UTF-8
124 Dokumentacja API clutter.
125
126 %prep
127 %setup -q
128 %patch0 -p1
129 %patch1 -p1
130 %patch2 -p1
131
132 %build
133 %{__gtkdocize}
134 %{__libtoolize}
135 %{__aclocal} -I build/autotools
136 %{__autoconf}
137 %{__autoheader}
138 %{__automake}
139 %configure \
140         --disable-silent-rules \
141         --enable-docs \
142         --enable-gtk-doc \
143         --enable-static \
144         --with-html-dir=%{_gtkdocdir}
145 %{__make}
146
147 %install
148 rm -rf $RPM_BUILD_ROOT
149
150 %{__make} install \
151         DESTDIR=$RPM_BUILD_ROOT
152
153 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libclutter-1.0.la
154
155 # drop unsupported locale
156 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/az_IR
157
158 # move to %{_examplesdir} and package in -examples?
159 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/clutter-1.0/cookbook/examples
160
161 %find_lang clutter-1.0
162
163 %clean
164 rm -rf $RPM_BUILD_ROOT
165
166 %post   -p /sbin/ldconfig
167 %postun -p /sbin/ldconfig
168
169 %files -f clutter-1.0.lang
170 %defattr(644,root,root,755)
171 %doc ChangeLog NEWS README
172 %attr(755,root,root) %{_libdir}/libclutter-1.0.so.*.*.*
173 %attr(755,root,root) %ghost %{_libdir}/libclutter-1.0.so.0
174 %attr(755,root,root) %{_libdir}/libclutter-glx-1.0.so.0
175 %{_libdir}/girepository-1.0/Cally-1.0.typelib
176 %{_libdir}/girepository-1.0/Clutter-1.0.typelib
177 %{_libdir}/girepository-1.0/ClutterGdk-1.0.typelib
178 %{_libdir}/girepository-1.0/ClutterX11-1.0.typelib
179
180 %files devel
181 %defattr(644,root,root,755)
182 %attr(755,root,root) %{_libdir}/libclutter-1.0.so
183 %attr(755,root,root) %{_libdir}/libclutter-glx-1.0.so
184 %{_includedir}/clutter-1.0
185 %{_datadir}/gir-1.0/Cally-1.0.gir
186 %{_datadir}/gir-1.0/Clutter-1.0.gir
187 %{_datadir}/gir-1.0/ClutterGdk-1.0.gir
188 %{_datadir}/gir-1.0/ClutterX11-1.0.gir
189 %{_pkgconfigdir}/cally-1.0.pc
190 %{_pkgconfigdir}/clutter-1.0.pc
191 %{_pkgconfigdir}/clutter-cogl-1.0.pc
192 %{_pkgconfigdir}/clutter-gdk-1.0.pc
193 %{_pkgconfigdir}/clutter-glx-1.0.pc
194 %{_pkgconfigdir}/clutter-x11-1.0.pc
195
196 %files static
197 %defattr(644,root,root,755)
198 %{_libdir}/libclutter-1.0.a
199
200 %files apidocs
201 %defattr(644,root,root,755)
202 %{_gtkdocdir}/cally
203 %{_gtkdocdir}/clutter
204 %{_gtkdocdir}/clutter-cookbook
This page took 0.034089 seconds and 3 git commands to generate.