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