]>
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.10.2 | |
5 | Release: 4 | |
6 | License: LGPL v2+ | |
7 | Group: X11/Libraries | |
8 | Source0: http://www.clutter-project.org/sources/clutter-gtk/0.10/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 1203dbf7091bbde0ca36053a95d9d18d | |
10 | URL: http://www.clutter-project.org/ | |
11 | BuildRequires: autoconf >= 2.53 | |
12 | BuildRequires: automake >= 1:1.9 | |
13 | BuildRequires: clutter-devel >= 1.0.0 | |
14 | BuildRequires: docbook-dtd412-xml | |
15 | BuildRequires: gir-repository-devel | |
16 | BuildRequires: glibc-misc | |
17 | BuildRequires: gobject-introspection-devel | |
18 | BuildRequires: gtk+2-devel >= 2:2.10.0 | |
19 | BuildRequires: gtk-doc >= 1.4 | |
20 | BuildRequires: libtool | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: python-modules | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Library integrating clutter with GTK+. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Biblioteka integrująca clutter z GTK+. | |
30 | ||
31 | %package devel | |
32 | Summary: Header files for clutter-gtk library | |
33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki clutter-gtk | |
34 | Group: X11/Development/Libraries | |
35 | Requires: %{name} = %{version}-%{release} | |
36 | Requires: clutter-devel >= 1.0.0 | |
37 | Requires: gtk+2-devel >= 2:2.10.0 | |
38 | ||
39 | %description devel | |
40 | Header files for clutter-gtk library. | |
41 | ||
42 | %description devel -l pl.UTF-8 | |
43 | Pliki nagłówkowe biblioteki clutter-gtk. | |
44 | ||
45 | %package static | |
46 | Summary: Static clutter-gtk library | |
47 | Summary(pl.UTF-8): Statyczna biblioteka clutter-gtk | |
48 | Group: X11/Development/Libraries | |
49 | Requires: %{name}-devel = %{version}-%{release} | |
50 | ||
51 | %description static | |
52 | Static clutter-gtk library. | |
53 | ||
54 | %description static -l pl.UTF-8 | |
55 | Statyczna biblioteka clutter-gtk. | |
56 | ||
57 | %package apidocs | |
58 | Summary: clutter-gtk API documentation | |
59 | Summary(pl.UTF-8): Dokumentacja API clutter-gtk | |
60 | Group: Documentation | |
61 | Requires: gtk-doc-common | |
62 | ||
63 | %description apidocs | |
64 | clutter-gtk API documentation. | |
65 | ||
66 | %description apidocs -l pl.UTF-8 | |
67 | Dokumentacja API clutter-gtk. | |
68 | ||
69 | %prep | |
70 | %setup -q | |
71 | ||
72 | %build | |
73 | %{__gtkdocize} | |
74 | %{__libtoolize} | |
75 | %{__aclocal} -I build/autotools | |
76 | %{__autoconf} | |
77 | %{__autoheader} | |
78 | %{__automake} | |
79 | %configure \ | |
80 | --enable-gtk-doc \ | |
81 | --enable-static \ | |
82 | --with-html-dir=%{_gtkdocdir} | |
83 | ||
84 | %{__make} | |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %{__make} install \ | |
90 | DESTDIR=$RPM_BUILD_ROOT | |
91 | ||
92 | %clean | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %post -p /sbin/ldconfig | |
96 | %postun -p /sbin/ldconfig | |
97 | ||
98 | %files | |
99 | %defattr(644,root,root,755) | |
100 | %doc AUTHORS ChangeLog NEWS | |
101 | %attr(755,root,root) %{_libdir}/libclutter-gtk-0.10.so.*.*.* | |
102 | %attr(755,root,root) %ghost %{_libdir}/libclutter-gtk-0.10.so.0 | |
103 | %{_libdir}/girepository-1.0/*.typelib | |
104 | ||
105 | %files devel | |
106 | %defattr(644,root,root,755) | |
107 | %attr(755,root,root) %{_libdir}/libclutter-gtk-0.10.so | |
108 | %{_libdir}/libclutter-gtk-0.10.la | |
109 | %{_includedir}/clutter-1.0/%{name} | |
110 | %{_pkgconfigdir}/clutter-gtk-0.10.pc | |
111 | %{_datadir}/gir-1.0/*.gir | |
112 | ||
113 | %files static | |
114 | %defattr(644,root,root,755) | |
115 | %{_libdir}/libclutter-gtk-0.10.a | |
116 | ||
117 | %files apidocs | |
118 | %defattr(644,root,root,755) | |
119 | %{_gtkdocdir}/%{name} |