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