/[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 102534 - (show annotations) (download)
Thu Jun 9 17:33:06 2011 UTC (12 years, 9 months ago) by dmorgan
File size: 4278 byte(s)
Do not package .la files
1 %define name clutter
2 %define version 1.6.14
3 %define git 0
4 %define rel 2
5 %if ! %git
6 %define release %mkrel %rel
7 %else
8 %define release %mkrel -c %git %rel
9 %endif
10
11 %define api 1.0
12 %define major 0
13 %define libname %mklibname %name %api %major
14 %define libnamedevel %mklibname -d %name %api
15
16 Summary: Software library for fast, visually rich GUIs
17 Name: %{name}
18 Version: %{version}
19 Release: %{release}
20 %if %git
21 Source0: %{name}-%{git}.tar.bz2
22 %else
23 Source0: http://www.clutter-project.org/sources/clutter/1.6/%{name}-%{version}.tar.bz2
24 %endif
25 License: LGPLv2+
26 Group: Graphics
27 Url: http://clutter-project.org/
28 BuildRequires: libx11-devel
29 BuildRequires: libxext-devel
30 BuildRequires: libxcomposite-devel >= 0.4
31 BuildRequires: libxdamage-devel
32 BuildRequires: libxfixes-devel >= 3
33 BuildRequires: GL-devel
34 BuildRequires: atk-devel >= 1.17
35 BuildRequires: pango-devel >= 1.20
36 BuildRequires: glib2-devel >= 2.26.0
37 BuildRequires: libgdk_pixbuf2.0-devel >= 2.0
38 BuildRequires: libjson-glib-devel >= 0.12.0
39 BuildRequires: gobject-introspection-devel >= 0.9.5
40 BuildRequires: gtk-doc
41 BuildRequires: docbook-dtd412-xml
42 BuildRequires: x11-server-xvfb
43
44 %description
45 Clutter is an open source software library for creating fast, visually rich
46 graphical user interfaces. The most obvious example of potential usage is in
47 media center type applications. We hope however it can be used for a lot more.
48
49 Clutter uses OpenGL (and soon optionally OpenGL ES) for rendering but with an
50 API which hides the underlying GL complexity from the developer. The Clutter
51 API is intended to be easy to use, efficient and flexible.
52
53 #----------------------------------------------------------------------------
54
55 %package i18n
56 Summary: Translations for %name
57 Group: System/Internationalization
58
59 %description i18n
60 This contains the translation data for %name.
61
62 %package -n %libname
63 Summary: Software library for fast, visually rich GUIs
64 Group: System/Libraries
65 Requires: %name-i18n >= %version
66
67 %description -n %libname
68 Clutter is an open source software library for creating fast, visually rich
69 graphical user interfaces. The most obvious example of potential usage is in
70 media center type applications. We hope however it can be used for a lot more.
71
72 Clutter uses OpenGL (and soon optionally OpenGL ES) for rendering but with an
73 API which hides the underlying GL complexity from the developer. The Clutter
74 API is intended to be easy to use, efficient and flexible.
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 Requires: %libname = %version-%release
83
84 %description -n %libnamedevel
85 Development headers/libraries for %name (see %libname package)
86
87 #----------------------------------------------------------------------------
88
89 %prep
90 %if %git
91 %setup -q -n %name
92 ./autogen.sh -V
93 %else
94 %setup -q
95 %endif
96 %apply_patches
97 #autoreconf -fi
98
99 %build
100 %configure2_5x --enable-gtk-doc
101 #git from 20090602 does not work with parallel make
102 xvfb-run %make
103
104 %install
105 rm -rf %buildroot
106
107 %makeinstall_std
108 %find_lang %name-%api
109
110 find %{buildroot} -name '*.la' -exec rm -f {} ';'
111
112 %clean
113 rm -rf %buildroot
114
115 %files i18n -f %name-%api.lang
116
117 %files -n %libname
118 %defattr(-,root,root)
119 %_libdir/lib%{name}-glx-%{api}.so.*
120 %_libdir/girepository-1.0/Cally-%api.typelib
121 %_libdir/girepository-1.0/Clutter-%api.typelib
122 %_libdir/girepository-1.0/ClutterX11-%api.typelib
123 %_libdir/girepository-1.0/Cogl-%api.typelib
124
125 %files -n %libnamedevel
126 %defattr(-,root,root)
127 %_libdir/pkgconfig/cally-%{api}.pc
128 %_libdir/pkgconfig/cogl-%{api}.pc
129 %_libdir/pkgconfig/cogl-gl-%{api}.pc
130 %_libdir/pkgconfig/%{name}-%{api}.pc
131 %_libdir/pkgconfig/%{name}-glx-%{api}.pc
132 %_libdir/pkgconfig/%{name}-x11-%{api}.pc
133 %_libdir/lib%{name}-glx-%{api}.so
134 %dir %_includedir/%{name}-%{api}
135 %_includedir/%{name}-%{api}/cally
136 %_includedir/%{name}-%{api}/%{name}
137 %_includedir/%{name}-%{api}/cogl
138 %_datadir/gir-1.0/Cally-%api.gir
139 %_datadir/gir-1.0/Clutter-%api.gir
140 %_datadir/gir-1.0/ClutterX11-%api.gir
141 %_datadir/gir-1.0/Cogl-%api.gir
142 %_datadir/gtk-doc/html/cally
143 %_datadir/gtk-doc/html/%name
144 %_datadir/gtk-doc/html/cogl
145
146

  ViewVC Help
Powered by ViewVC 1.1.30