]>
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 |
b17c6e65 | 5 | Release: 4 |
471d35a2 | 6 | Epoch: 1 |
7faa7a36 | 7 | License: LGPL v2+ |
8de73bb5 | 8 | Group: X11/Libraries |
0a88ec4b | 9 | Source0: http://www.clutter-project.org/sources/clutter-gtk/0.10/%{name}-%{version}.tar.gz |
98acb259 PZ |
10 | # Source0-md5: 2233c7f92535f5017accea04701131cd |
11 | Patch0: gobject-introspection.patch | |
e27c174b | 12 | Patch1: %{name}-fix.patch |
7faa7a36 | 13 | URL: http://www.clutter-project.org/ |
6b8ebf8d JB |
14 | BuildRequires: autoconf >= 2.63 |
15 | BuildRequires: automake >= 1:1.11 | |
16 | BuildRequires: clutter-devel >= 1.2.0 | |
b3ecaf4e | 17 | BuildRequires: docbook-dtd412-xml |
b3ecaf4e | 18 | BuildRequires: glibc-misc |
6b8ebf8d JB |
19 | BuildRequires: gobject-introspection-devel >= 0.9.3 |
20 | BuildRequires: gtk+2-devel >= 2:2.19.5 | |
21 | BuildRequires: gtk-doc >= 1.14 | |
22 | BuildRequires: libtool >= 2:2.2.6 | |
16f79bc3 | 23 | BuildRequires: pkgconfig |
b3ecaf4e | 24 | BuildRequires: python-modules |
6b8ebf8d JB |
25 | Requires: clutter >= 1.2.0 |
26 | Requires: gtk+2 >= 2:2.19.5 | |
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 |
471d35a2 | 39 | Requires: %{name} = %{epoch}:%{version}-%{release} |
6b8ebf8d JB |
40 | Requires: clutter-devel >= 1.2.0 |
41 | Requires: gtk+2-devel >= 2:2.19.5 | |
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 |
471d35a2 | 53 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
f7601c73 | 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 | |
66 | ||
67 | %description apidocs | |
71b7d774 | 68 | clutter-gtk API documentation. |
f7601c73 | 69 | |
70 | %description apidocs -l pl.UTF-8 | |
71b7d774 | 71 | Dokumentacja API clutter-gtk. |
f7601c73 | 72 | |
73 | %prep | |
74 | %setup -q | |
98acb259 | 75 | %patch0 -p1 |
e27c174b | 76 | %patch1 -p1 |
f7601c73 | 77 | |
78 | %build | |
6b8ebf8d JB |
79 | %{__gtkdocize} |
80 | %{__libtoolize} | |
81 | %{__aclocal} -I build/autotools | |
82 | %{__autoconf} | |
83 | %{__autoheader} | |
84 | %{__automake} | |
f7601c73 | 85 | %configure \ |
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 | ||
b17c6e65 | 98 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
99 | ||
f7601c73 | 100 | %clean |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
103 | %post -p /sbin/ldconfig | |
104 | %postun -p /sbin/ldconfig | |
105 | ||
106 | %files | |
107 | %defattr(644,root,root,755) | |
6b8ebf8d | 108 | %doc AUTHORS ChangeLog NEWS README |
0a88ec4b PZ |
109 | %attr(755,root,root) %{_libdir}/libclutter-gtk-0.10.so.*.*.* |
110 | %attr(755,root,root) %ghost %{_libdir}/libclutter-gtk-0.10.so.0 | |
6b8ebf8d | 111 | %{_libdir}/girepository-1.0/GtkClutter-0.10.typelib |
f7601c73 | 112 | |
113 | %files devel | |
114 | %defattr(644,root,root,755) | |
0a88ec4b | 115 | %attr(755,root,root) %{_libdir}/libclutter-gtk-0.10.so |
0a88ec4b PZ |
116 | %{_includedir}/clutter-1.0/%{name} |
117 | %{_pkgconfigdir}/clutter-gtk-0.10.pc | |
6b8ebf8d | 118 | %{_datadir}/gir-1.0/GtkClutter-0.10.gir |
16f79bc3 JB |
119 | |
120 | %files static | |
121 | %defattr(644,root,root,755) | |
0a88ec4b | 122 | %{_libdir}/libclutter-gtk-0.10.a |
f7601c73 | 123 | |
124 | %files apidocs | |
125 | %defattr(644,root,root,755) | |
126 | %{_gtkdocdir}/%{name} |