]>
Commit | Line | Data |
---|---|---|
9e9cd809 JB |
1 | Summary: C++ wrappers for Clutter library |
2 | Summary(pl.UTF-8): Obudowanie C++ do biblioteki Clutter | |
3 | Name: cluttermm | |
4 | Version: 1.17.3 | |
5 | Release: 1 | |
6 | License: LGPL v2.1+ | |
7 | Group: X11/Libraries | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/cluttermm/1.17/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 429fa3a4ee1fad9ca2bc46b174165dfd | |
10 | URL: https://developer.gnome.org/cluttermm/ | |
11 | BuildRequires: atkmm-devel >= 2.22.2 | |
12 | BuildRequires: clutter-devel >= 1.18.0 | |
13 | # for examples | |
14 | BuildRequires: gtkmm3-devel >= 3.10 | |
15 | BuildRequires: libstdc++-devel | |
16 | BuildRequires: mm-common >= 0.8 | |
17 | BuildRequires: pangomm-devel >= 2.27.1 | |
18 | BuildRequires: pkgconfig | |
19 | BuildRequires: tar >= 1:1.22 | |
20 | BuildRequires: xz | |
21 | Requires: atkmm >= 2.22.2 | |
22 | Requires: clutter >= 1.18.0 | |
23 | Requires: pangomm >= 2.27.1 | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | C++ wrappers for Clutter library. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Obudowanie C++ do biblioteki Clutter. | |
31 | ||
32 | %package devel | |
33 | Summary: Header files for cluttermm library | |
34 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki cluttermm | |
35 | Group: X11/Development/Libraries | |
36 | Requires: %{name} = %{version}-%{release} | |
37 | Requires: atkmm-devel >= 2.22.2 | |
38 | Requires: clutter-devel >= 1.18.0 | |
39 | Requires: pangomm-devel >= 2.27.1 | |
40 | ||
41 | %description devel | |
42 | Header files for cluttermm library. | |
43 | ||
44 | %description devel -l pl.UTF-8 | |
45 | Pliki nagłówkowe biblioteki cluttermm. | |
46 | ||
47 | %package static | |
48 | Summary: Static cluttermm library | |
49 | Summary(pl.UTF-8): Statyczna biblioteka cluttermm | |
50 | Group: X11/Development/Libraries | |
51 | Requires: %{name}-devel = %{version}-%{release} | |
52 | ||
53 | %description static | |
54 | Static cluttermm library. | |
55 | ||
56 | %description static -l pl.UTF-8 | |
57 | Statyczna biblioteka cluttermm. | |
58 | ||
59 | %package apidocs | |
60 | Summary: cluttermm API documentation | |
61 | Summary(pl.UTF-8): Dokumentacja API cluttermm | |
62 | Group: Documentation | |
63 | %if "%{_rpmversion}" >= "5" | |
64 | BuildArch: noarch | |
65 | %endif | |
66 | ||
67 | %description apidocs | |
68 | cluttermm API documentation. | |
69 | ||
70 | %description apidocs -l pl.UTF-8 | |
71 | Dokumentacja API cluttermm. | |
72 | ||
73 | %prep | |
74 | %setup -q | |
75 | ||
76 | %build | |
77 | %configure \ | |
78 | --disable-silent-rules \ | |
79 | --enable-gtk-doc \ | |
80 | --enable-static \ | |
81 | --with-html-dir=%{_gtkdocdir} | |
82 | ||
83 | %{__make} | |
84 | ||
85 | %install | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %{__make} install \ | |
89 | DESTDIR=$RPM_BUILD_ROOT | |
90 | ||
91 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
92 | ||
93 | %clean | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
96 | %post -p /sbin/ldconfig | |
97 | %postun -p /sbin/ldconfig | |
98 | ||
99 | %files | |
100 | %defattr(644,root,root,755) | |
101 | %doc ChangeLog NEWS README TODO | |
102 | %attr(755,root,root) %{_libdir}/libcluttermm-1.0.so.*.*.* | |
103 | %attr(755,root,root) %ghost %{_libdir}/libcluttermm-1.0.so.1 | |
104 | ||
105 | %files devel | |
106 | %defattr(644,root,root,755) | |
107 | %attr(755,root,root) %{_libdir}/libcluttermm-1.0.so | |
108 | %dir %{_libdir}/cluttermm-1.0 | |
109 | %{_libdir}/cluttermm-1.0/include | |
110 | %{_includedir}/cluttermm-1.0 | |
111 | %{_datadir}/cluttermm-1.0 | |
112 | %{_pkgconfigdir}/cluttermm-1.0.pc | |
113 | ||
114 | %files static | |
115 | %defattr(644,root,root,755) | |
116 | %{_libdir}/libcluttermm-1.0.a | |
117 | ||
118 | %files apidocs | |
119 | %defattr(644,root,root,755) | |
120 | %{_docdir}/cluttermm-1.0 | |
121 | %{_datadir}/devhelp/books/cluttermm-1.0 |