/[packages]/cauldron/clutter/current/SPECS/clutter.spec
ViewVC logotype

Contents of /cauldron/clutter/current/SPECS/clutter.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142728 - (show annotations) (download)
Mon Sep 12 14:42:33 2011 UTC (8 years, 10 months ago) by fwang
File size: 4716 byte(s)
new version 1.7.90
1 %define api 1.0
2 %define major 0
3 %define girmajor 1.0
4
5 %define libname %mklibname %{name}-glx %{api} %{major}
6 %define libnamedevel %mklibname -d %{name}-glx %{api}
7 %define girname %mklibname %{name}-glx-gir %{girmajor}
8
9 Summary: Software library for fast, visually rich GUIs
10 Name: clutter
11 Version: 1.7.90
12 Release: %mkrel 1
13 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/clutter/1.7/%{name}-%{version}.tar.xz
14 License: LGPLv2+
15 Group: Graphics
16 Url: http://clutter-project.org/
17 BuildRequires: pkgconfig(atk) >= 2.1.5
18 BuildRequires: pkgconfig(cairo-gobject) >= 1.10
19 BuildRequires: pkgconfig(cogl-1.0) >= 1.7.6
20 BuildRequires: pkgconfig(cogl-pango-1.0)
21 BuildRequires: pkgconfig(gl)
22 BuildRequires: pkgconfig(glib-2.0) >= 2.26.0
23 BuildRequires: pkgconfig(json-glib-1.0) >= 0.12.0
24 BuildRequires: pkgconfig(pangocairo) >= 1.20
25 BuildRequires: pkgconfig(pangoft2)
26 BuildRequires: pkgconfig(x11)
27 BuildRequires: pkgconfig(xcomposite) >= 0.4
28 BuildRequires: pkgconfig(xdamage)
29 BuildRequires: pkgconfig(xext)
30 BuildRequires: pkgconfig(xfixes) >= 3
31 BuildRequires: pkgconfig(xi)
32 BuildRequires: gobject-introspection-devel >= 0.9.5
33
34 %description
35 Clutter is an open source software library for creating fast, visually rich
36 graphical user interfaces. The most obvious example of potential usage is in
37 media center type applications. We hope however it can be used for a lot more.
38
39 Clutter uses OpenGL (and soon optionally OpenGL ES) for rendering but with an
40 API which hides the underlying GL complexity from the developer. The Clutter
41 API is intended to be easy to use, efficient and flexible.
42
43 #--------------------------------------------------------------------
44
45 %package i18n
46 Summary: Translations for %{name}
47 Group: System/Internationalization
48
49 %description i18n
50 This contains the translation data for %{name}.
51
52 %files i18n -f %{name}-%{api}.lang
53
54 #--------------------------------------------------------------------
55
56 %package -n %{libname}
57 Summary: Software library for fast, visually rich GUIs
58 Group: System/Libraries
59 Requires: %{name}-i18n >= %{version}-%{release}
60 Requires: %{girname}
61 Provides: %{mklibname %{name} %{api} %{major}} = %{version}-%{release}
62 Obsoletes: %{mklibname %{name} %{api} %{major}} < 1.7.4
63
64 %description -n %{libname}
65 Clutter is an open source software library for creating fast, visually rich
66 graphical user interfaces. The most obvious example of potential usage is in
67 media center type applications. We hope however it can be used for a lot more.
68
69 Clutter uses OpenGL (and soon optionally OpenGL ES) for rendering but with an
70 API which hides the underlying GL complexity from the developer. The Clutter
71 API is intended to be easy to use, efficient and flexible.
72
73 %files -n %{libname}
74 %{_libdir}/lib%{name}-glx-%{api}.so.%{major}*
75
76 #--------------------------------------------------------------------
77
78 %package -n %{libnamedevel}
79 Summary: Development headers/libraries for %{name}
80 Group: Development/X11
81 Provides: %{name}-devel = %{version}-%{release}
82 Provides: %{name}-glx-devel = %{version}-%{release}
83 Provides: %{mklibname -d %{name} %{api}} = %{version}-%{release}
84 Obsoletes: %{mklibname -d %{name} %{api}} < 1.7.4
85 Requires: %{libname} = %{version}-%{release}
86
87 %description -n %{libnamedevel}
88 Development headers/libraries for %{name} (see %{libname} package)
89
90 %files -n %{libnamedevel}
91 %{_libdir}/pkgconfig/cally-%{api}.pc
92 %{_libdir}/pkgconfig/%{name}-%{api}.pc
93 %{_libdir}/pkgconfig/%{name}-glx-%{api}.pc
94 %{_libdir}/pkgconfig/%{name}-cogl-%{api}.pc
95 %{_libdir}/pkgconfig/%{name}-x11-%{api}.pc
96 %{_libdir}/lib%{name}-glx-%{api}.so
97 %dir %{_includedir}/%{name}-%{api}
98 %{_includedir}/%{name}-%{api}/cally
99 %{_includedir}/%{name}-%{api}/%{name}
100 %{_datadir}/gir-1.0/Cally-%{girmajor}.gir
101 %{_datadir}/gir-1.0/Clutter-%{girmajor}.gir
102 %{_datadir}/gir-1.0/ClutterX11-%{girmajor}.gir
103 %{_datadir}/gtk-doc/html/cally
104 %{_datadir}/gtk-doc/html/%{name}
105
106 #--------------------------------------------------------------------
107
108 %package -n %{girname}
109 Summary: GObject Introspection interface description for %{name}
110 Group: System/Libraries
111 Requires: %{libname} = %{version}-%{release}
112 Conflicts: %{mklibname %{name}-glx1.0-gir 1.0} < 1.7.4-3
113
114 %description -n %{girname}
115 GObject Introspection interface description for %{name}.
116
117 %files -n %{girname}
118 %{_libdir}/girepository-1.0/Cally-%{girmajor}.typelib
119 %{_libdir}/girepository-1.0/Clutter-%{girmajor}.typelib
120 %{_libdir}/girepository-1.0/ClutterX11-%{girmajor}.typelib
121
122
123 #--------------------------------------------------------------------
124
125 %prep
126 %setup -q
127
128 %build
129 %configure2_5x
130 %make
131
132 %install
133 rm -rf %{buildroot}
134
135 %makeinstall_std
136 %find_lang %{name}-%{api}
137
138 # we don't want these
139 find %{buildroot} -name '*.la' -exec rm -f {} ';'
140

  ViewVC Help
Powered by ViewVC 1.1.28