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