]>
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 |
e9885b74 | 4 | Version: 1.0.4 |
63bb2193 | 5 | Release: 1 |
7faa7a36 | 6 | License: LGPL v2+ |
8de73bb5 | 7 | Group: X11/Libraries |
e9885b74 AF |
8 | Source0: http://download.gnome.org/sources/clutter-gtk/1.0/%{name}-%{version}.tar.xz |
9 | # Source0-md5: e85705bdd9a74ae12d4c2713e98d421b | |
7faa7a36 | 10 | URL: http://www.clutter-project.org/ |
6b8ebf8d JB |
11 | BuildRequires: autoconf >= 2.63 |
12 | BuildRequires: automake >= 1:1.11 | |
ec25e748 | 13 | BuildRequires: clutter-devel >= 1.4.0 |
b3ecaf4e | 14 | BuildRequires: docbook-dtd412-xml |
ec25e748 | 15 | BuildRequires: gettext-devel >= 0.18 |
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 |
e9885b74 AF |
23 | BuildRequires: tar >= 1:1.22 |
24 | BuildRequires: xz | |
ec25e748 | 25 | Requires: clutter >= 1.4.0 |
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} |
ec25e748 | 39 | Requires: clutter-devel >= 1.4.0 |
63bb2193 | 40 | Requires: gtk+3-devel >= 3.0.0 |
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 | |
74 | ||
75 | %build | |
6b8ebf8d JB |
76 | %{__gtkdocize} |
77 | %{__libtoolize} | |
78 | %{__aclocal} -I build/autotools | |
79 | %{__autoconf} | |
80 | %{__autoheader} | |
81 | %{__automake} | |
f7601c73 | 82 | %configure \ |
63bb2193 | 83 | --disable-silent-rules \ |
f7601c73 | 84 | --enable-gtk-doc \ |
16f79bc3 | 85 | --enable-static \ |
f7601c73 | 86 | --with-html-dir=%{_gtkdocdir} |
87 | ||
88 | %{__make} | |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %{__make} install \ | |
94 | DESTDIR=$RPM_BUILD_ROOT | |
95 | ||
7be0fe79 PZ |
96 | %find_lang cluttergtk-1.0 |
97 | ||
63bb2193 AF |
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 | ||
7be0fe79 | 106 | %files -f cluttergtk-1.0.lang |
f7601c73 | 107 | %defattr(644,root,root,755) |
7be0fe79 | 108 | %doc NEWS README |
63bb2193 AF |
109 | %attr(755,root,root) %{_libdir}/libclutter-gtk-1.0.so.*.*.* |
110 | %attr(755,root,root) %ghost %{_libdir}/libclutter-gtk-1.0.so.0 | |
111 | %{_libdir}/girepository-1.0/GtkClutter-1.0.typelib | |
f7601c73 | 112 | |
113 | %files devel | |
114 | %defattr(644,root,root,755) | |
63bb2193 AF |
115 | %attr(755,root,root) %{_libdir}/libclutter-gtk-1.0.so |
116 | %{_includedir}/clutter-gtk-1.0 | |
117 | %{_pkgconfigdir}/clutter-gtk-1.0.pc | |
118 | %{_datadir}/gir-1.0/GtkClutter-1.0.gir | |
16f79bc3 JB |
119 | |
120 | %files static | |
121 | %defattr(644,root,root,755) | |
63bb2193 | 122 | %{_libdir}/libclutter-gtk-1.0.a |
f7601c73 | 123 | |
124 | %files apidocs | |
125 | %defattr(644,root,root,755) | |
63bb2193 | 126 | %{_gtkdocdir}/%{name}-1.0 |