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