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