]> git.pld-linux.org Git - packages/clutter.git/blob - clutter.spec
ea16f7f4768da0f5ced215d0267d6f62c1ffa1a6
[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.2
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:  101cd6a03e4061b51ad6df6f6f7022bf
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         --with-json=system \
106         --enable-gtk-doc \
107         --enable-static \
108         --with-html-dir=%{_gtkdocdir}
109 %{__make}
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113
114 %{__make} install \
115         DESTDIR=$RPM_BUILD_ROOT
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %post   -p /sbin/ldconfig
121 %postun -p /sbin/ldconfig
122
123 %files
124 %defattr(644,root,root,755)
125 %doc AUTHORS ChangeLog NEWS README TODO
126 %attr(755,root,root) %{_libdir}/libclutter-glx-1.0.so.*.*.*
127 %attr(755,root,root) %ghost %{_libdir}/libclutter-glx-1.0.so.0
128 %{_libdir}/girepository-1.0/*.typelib
129
130 %files devel
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_libdir}/libclutter-glx-1.0.so
133 %{_libdir}/libclutter-glx-1.0.la
134 %{_includedir}/clutter-1.0
135 %{_datadir}/gir-1.0/*.gir
136 %{_pkgconfigdir}/clutter-1.0.pc
137 %{_pkgconfigdir}/clutter-glx-1.0.pc
138 %{_pkgconfigdir}/clutter-x11-1.0.pc
139 %{_pkgconfigdir}/cogl-1.0.pc
140 %{_pkgconfigdir}/cogl-gl-1.0.pc
141
142 %files static
143 %defattr(644,root,root,755)
144 %{_libdir}/libclutter-glx-1.0.a
145
146 %files apidocs
147 %defattr(644,root,root,755)
148 %{_gtkdocdir}/clutter
149 %{_gtkdocdir}/cogl
This page took 0.032712 seconds and 3 git commands to generate.