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