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