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