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