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