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