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