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