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