update to 1.10.4
[profile/ivi/clutter.git] / packaging / clutter.spec
1 Name:           clutter
2 Version:        1.10.4
3 Release:        1
4 License:        LGPL-2.0+
5 Summary:        Open Source software library for creating rich graphical user interfaces
6 Url:            http://www.clutter-project.org/
7 Group:          System/Libraries
8 Source0:        http://source.clutter-project.org/sources/clutter/1.10/clutter-%{version}.tar.bz2
9 Patch0:         0001-Don-t-use-any-GL-types-or-defines-in-Clutter.patch
10 BuildRequires:  gettext
11 BuildRequires:  intltool
12 BuildRequires:  pkgconfig(atk) >= 2.1.5
13 BuildRequires:  pkgconfig(cogl-1.0) >= 1.9.6
14 BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
15 BuildRequires:  pkgconfig(gl)
16 BuildRequires:  pkgconfig(glesv2)
17 BuildRequires:  pkgconfig(glib-2.0)
18 BuildRequires:  pkgconfig(json-glib-1.0) >= 0.12.0
19 BuildRequires:  pkgconfig(pango)
20 BuildRequires:  pkgconfig(wayland-client)
21 BuildRequires:  pkgconfig(x11)
22 BuildRequires:  pkgconfig(xcomposite)
23 BuildRequires:  pkgconfig(xdamage)
24 BuildRequires:  pkgconfig(xext)
25 BuildRequires:  pkgconfig(xfixes)
26 BuildRequires:  pkgconfig(xkbcommon)
27 Requires(post): /sbin/ldconfig
28 Requires(postun): /sbin/ldconfig
29
30 %description
31 Clutter is an open source software library for creating fast, visually rich
32 graphical user interfaces. The most obvious example of potential usage is in
33 media center type applications. We hope however it can be used for a lot more.
34
35 %package devel
36 Summary:        Clutter header files and development libraries
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}
39
40 %description devel
41 Development environment for Clutter
42
43 %package doc
44 Summary:        Clutter API reference
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}
47 Requires:       gtk-doc
48
49 %description doc
50 Documentation for Clutter
51
52 %prep
53 %setup -q
54 %patch0 -p1
55
56 %build
57
58 %configure --disable-static \
59     --disable-maintainer-flags \
60     --enable-xinput \
61     --enable-wayland-backend \
62     --enable-introspection=no
63
64 make %{?_smp_mflags}
65
66 %install
67 %make_install
68
69 %find_lang clutter-1.0
70
71
72
73 %post -p /sbin/ldconfig
74
75 %postun -p /sbin/ldconfig
76
77 %files -f clutter-1.0.lang
78 %doc COPYING
79 %{_libdir}/lib*.so.*
80
81
82 %files devel
83 %doc ChangeLog NEWS README
84 %{_includedir}/*
85 %{_libdir}/lib*.so
86 %{_libdir}/pkgconfig/*.pc
87
88 %files doc
89 %doc %{_datadir}/gtk-doc/html/*
90