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