]>
Commit | Line | Data |
---|---|---|
f7601c73 | 1 | # |
2 | Summary: Library integrating clutter with GTK+ | |
3 | Name: clutter-gtk | |
4 | Version: 0.1.0 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Applications | |
8 | Source0: http://www.clutter-project.org/sources/clutter-gtk/0.1/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 0b0b30203a432d581aae91d1ca7d6367 | |
10 | URL: http://www.clutter-project.com/ | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: clutter-devel | |
14 | BuildRequires: glib2-devel | |
15 | BuildRequires: gtk+2-devel | |
16 | BuildRequires: gtk-doc-common | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | Clutter is an open source software library for creating fast, visually | |
21 | rich graphical user interfaces. The most obvious example of potential | |
22 | usage is in media center type applications. We hope however it can be | |
23 | used for a lot more. | |
24 | ||
25 | Clutter uses OpenGL (and soon optionally OpenGL ES) for rendering but | |
26 | with an API which hides the underlying GL complexity from the | |
27 | developer. The Clutter API is intended to be easy to use, efficient | |
28 | and flexible. | |
29 | ||
30 | %package devel | |
31 | Summary: Header files for clutter-gst library | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki clutter-gst | |
33 | Group: Development/Libraries | |
34 | Requires: %{name} = %{version}-%{release} | |
35 | ||
36 | %description devel | |
37 | Header files for clutter-gst library. | |
38 | ||
39 | %description devel -l pl.UTF-8 | |
40 | Pliki nagłówkowe biblioteki clutter-gst. | |
41 | ||
42 | %package static | |
43 | Summary: Static clutter-gst library | |
44 | Summary(pl.UTF-8): Statyczna biblioteka clutter-gst | |
45 | Group: Development/Libraries | |
46 | Requires: %{name}-devel = %{version}-%{release} | |
47 | ||
48 | %description static | |
49 | Static clutter-gst library. | |
50 | ||
51 | %description static -l pl.UTF-8 | |
52 | Statyczna biblioteka clutter-gst. | |
53 | ||
54 | %package apidocs | |
55 | Summary: clutter-gst API documentation | |
56 | Summary(pl.UTF-8): Dokumentacja API clutter-gst | |
57 | Group: Documentation | |
58 | Requires: gtk-doc-common | |
59 | ||
60 | %description apidocs | |
61 | clutter-gst API documentation. | |
62 | ||
63 | %description apidocs -l pl.UTF-8 | |
64 | Dokumentacja API clutter-gst. | |
65 | ||
66 | %prep | |
67 | %setup -q | |
68 | ||
69 | %build | |
70 | %{__gtkdocize} | |
71 | %{__aclocal} | |
72 | %{__autoconf} | |
73 | %{__automake} | |
74 | %configure \ | |
75 | --enable-gtk-doc \ | |
76 | --with-html-dir=%{_gtkdocdir} | |
77 | ||
78 | %{__make} | |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %post -p /sbin/ldconfig | |
90 | %postun -p /sbin/ldconfig | |
91 | ||
92 | %files | |
93 | %defattr(644,root,root,755) | |
94 | %doc AUTHORS ChangeLog NEWS README | |
95 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
96 | ||
97 | %files devel | |
98 | %defattr(644,root,root,755) | |
99 | %{_includedir}/clutter-*/%{name} | |
100 | %{_libdir}/lib*.la | |
101 | %{_libdir}/lib*.so | |
102 | %{_pkgconfigdir}/*.pc | |
103 | ||
104 | %files apidocs | |
105 | %defattr(644,root,root,755) | |
106 | %{_gtkdocdir}/%{name} |