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