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