]>
Commit | Line | Data |
---|---|---|
93db4185 JB |
1 | Summary: Library integrating clutter with Box2d |
2 | Summary(pl.UTF-8): Biblioteka integrująca clutter z Box2d | |
3 | Name: clutter-box2d | |
4 | Version: 0.10.0 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: X11/Libraries | |
8 | Source0: http://source.clutter-project.org/sources/clutter-box2d/0.10/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 51618976ca6a5d536c4eac5f0e120d9d | |
10 | URL: http://www.clutter-project.org/ | |
11 | BuildRequires: clutter-devel >= 1.0.0 | |
12 | BuildRequires: docbook-dtd412-xml | |
96eb2310 | 13 | BuildRequires: glibc-misc |
93db4185 JB |
14 | BuildRequires: gobject-introspection-devel >= 0.6.3 |
15 | BuildRequires: gtk-doc >= 1.8 | |
96eb2310 | 16 | BuildRequires: libstdc++-devel |
93db4185 JB |
17 | BuildRequires: pkgconfig |
18 | Requires: clutter >= 1.0.0 | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | Clutter-Box2d is a glue layer between clutter and box2d that provides | |
23 | a special group where the actors can be set to be static or dynamic in | |
24 | regard to a physics simulation. The source tree currently contains an | |
25 | embedded version of box2d trunk. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Clutter-Box2d to warstwa łącząca biblioteki clutter i box2d, | |
29 | udostępniająca specjalną grupę, gdzie można ustawić postaci jako | |
30 | statyczne lub dynamiczne ze względu na symulację fizyki. Źródła | |
31 | aktualnie zawierają wersję trunk biblioteki box2d. | |
32 | ||
33 | %package devel | |
34 | Summary: Header files for clutter-box2d library | |
35 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki clutter-box2d | |
36 | Group: X11/Development/Libraries | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | Requires: clutter-devel >= 1.0.0 | |
39 | ||
40 | %description devel | |
41 | Header files for clutter-box2d library. | |
42 | ||
43 | %description devel -l pl.UTF-8 | |
44 | Pliki nagłówkowe biblioteki clutter-box2d. | |
45 | ||
46 | %package static | |
47 | Summary: Static clutter-box2d library | |
48 | Summary(pl.UTF-8): Statyczna biblioteka clutter-box2d | |
49 | Group: X11/Development/Libraries | |
50 | Requires: %{name}-devel = %{version}-%{release} | |
51 | ||
52 | %description static | |
53 | Static clutter-box2d library. | |
54 | ||
55 | %description static -l pl.UTF-8 | |
56 | Statyczna biblioteka clutter-box2d. | |
57 | ||
58 | %package apidocs | |
59 | Summary: clutter-box2d API documentation | |
60 | Summary(pl.UTF-8): Dokumentacja API clutter-box2d | |
61 | Group: Documentation | |
62 | Requires: gtk-doc-common | |
63 | ||
64 | %description apidocs | |
65 | clutter-box2d API documentation. | |
66 | ||
67 | %description apidocs -l pl.UTF-8 | |
68 | Dokumentacja API clutter-box2d. | |
69 | ||
70 | %prep | |
71 | %setup -q | |
72 | ||
73 | %build | |
74 | %configure \ | |
75 | --enable-gtk-doc \ | |
76 | --enable-static \ | |
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) | |
95 | %doc AUTHORS ChangeLog NEWS README | |
96 | %attr(755,root,root) %{_libdir}/libclutter-box2d-0.10.so.*.*.* | |
97 | %attr(755,root,root) %ghost %{_libdir}/libclutter-box2d-0.10.so.0 | |
98 | %{_libdir}/girepository-1.0/ClutterBox2D-0.10.typelib | |
99 | ||
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
102 | %attr(755,root,root) %{_libdir}/libclutter-box2d-0.10.so | |
103 | %{_libdir}/libclutter-box2d-0.10.la | |
104 | %{_includedir}/clutter-1.0/clutter-box2d | |
105 | %{_pkgconfigdir}/clutter-box2d-0.10.pc | |
106 | %{_datadir}/gir-1.0/ClutterBox2D-0.10.gir | |
107 | ||
108 | %files static | |
109 | %defattr(644,root,root,755) | |
110 | %{_libdir}/libclutter-box2d-0.10.a | |
111 | ||
112 | %files apidocs | |
113 | %defattr(644,root,root,755) | |
114 | %{_gtkdocdir}/clutter-box2d |