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