]>
Commit | Line | Data |
---|---|---|
1 | Summary: Library integrating clutter with GTK+ | |
2 | Summary(pl.UTF-8): Biblioteka integrująca clutter z GTK+ | |
3 | Name: clutter-gtk | |
4 | Version: 0.1.0 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: Libraries | |
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.org/ | |
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 | Library integrating clutter with GTK+. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Biblioteka integrująca clutter z GTK+. | |
24 | ||
25 | %package devel | |
26 | Summary: Header files for clutter-gtk library | |
27 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki clutter-gtk | |
28 | Group: Development/Libraries | |
29 | Requires: %{name} = %{version}-%{release} | |
30 | ||
31 | %description devel | |
32 | Header files for clutter-gtk library. | |
33 | ||
34 | %description devel -l pl.UTF-8 | |
35 | Pliki nagłówkowe biblioteki clutter-gtk. | |
36 | ||
37 | %package static | |
38 | Summary: Static clutter-gtk library | |
39 | Summary(pl.UTF-8): Statyczna biblioteka clutter-gtk | |
40 | Group: Development/Libraries | |
41 | Requires: %{name}-devel = %{version}-%{release} | |
42 | ||
43 | %description static | |
44 | Static clutter-gtk library. | |
45 | ||
46 | %description static -l pl.UTF-8 | |
47 | Statyczna biblioteka clutter-gtk. | |
48 | ||
49 | %package apidocs | |
50 | Summary: clutter-gtk API documentation | |
51 | Summary(pl.UTF-8): Dokumentacja API clutter-gtk | |
52 | Group: Documentation | |
53 | Requires: gtk-doc-common | |
54 | ||
55 | %description apidocs | |
56 | clutter-gtk API documentation. | |
57 | ||
58 | %description apidocs -l pl.UTF-8 | |
59 | Dokumentacja API clutter-gtk. | |
60 | ||
61 | %prep | |
62 | %setup -q | |
63 | ||
64 | %build | |
65 | %{__gtkdocize} | |
66 | %{__aclocal} | |
67 | %{__autoconf} | |
68 | %{__automake} | |
69 | %configure \ | |
70 | --enable-gtk-doc \ | |
71 | --with-html-dir=%{_gtkdocdir} | |
72 | ||
73 | %{__make} | |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %{__make} install \ | |
79 | DESTDIR=$RPM_BUILD_ROOT | |
80 | ||
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post -p /sbin/ldconfig | |
85 | %postun -p /sbin/ldconfig | |
86 | ||
87 | %files | |
88 | %defattr(644,root,root,755) | |
89 | %doc AUTHORS ChangeLog NEWS README | |
90 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
91 | ||
92 | %files devel | |
93 | %defattr(644,root,root,755) | |
94 | %{_includedir}/clutter-*/%{name} | |
95 | %{_libdir}/lib*.la | |
96 | %{_libdir}/lib*.so | |
97 | %{_pkgconfigdir}/*.pc | |
98 | ||
99 | %files apidocs | |
100 | %defattr(644,root,root,755) | |
101 | %{_gtkdocdir}/%{name} |