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