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