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