]>
Commit | Line | Data |
---|---|---|
5e5ed5e5 MB |
1 | Summary: A C++ interface for atk library |
2 | Summary(pl.UTF-8): Interfejs C++ dla biblioteki atk | |
3 | Name: atkmm | |
4 | Version: 2.22.0 | |
5 | Release: 1 | |
6 | License: LGPL v2.1 | |
7 | Group: Libraries | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/atkmm/2.22/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 6faeedb26810fd954a856f05e03d4ea8 | |
10 | URL: http://www.gtkmm.org/ | |
11 | BuildRequires: atk-devel >= 1:1.22.0 | |
12 | BuildRequires: autoconf >= 2.59 | |
13 | BuildRequires: automake >= 1:1.9 | |
14 | BuildRequires: glibmm-devel >= 2.24.0 | |
15 | BuildRequires: libtool | |
16 | BuildRequires: mm-common >= 0.9 | |
17 | BuildRequires: pkgconfig | |
18 | Requires: glibmm >= 2.24.0 | |
19 | Provides: gtkmm-atk | |
20 | Obsoletes: gtkmm-atk | |
21 | Obsoletes: gtkmm-atk-static | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | A C++ interface for atk library. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Interfejs C++ dla biblioteki atk. | |
29 | ||
30 | %package devel | |
31 | Summary: Header files for atkmm library | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki atkmm | |
33 | Group: Development/Libraries | |
34 | Requires: %{name} = %{version}-%{release} | |
35 | Requires: atk-devel >= 1:1.22.0 | |
36 | Requires: glibmm-devel >= 2.24.0 | |
37 | Provides: gtkmm-atk-devel | |
38 | Obsoletes: gtkmm-atk-devel | |
39 | ||
40 | %description devel | |
41 | Header files for atkmm library. | |
42 | ||
43 | %description devel -l pl.UTF-8 | |
44 | Pliki nagłówkowe biblioteki atkmm. | |
45 | ||
46 | %package apidocs | |
47 | Summary: atkmm API documentation | |
48 | Summary(pl.UTF-8): Dokumentacja API biblioteki atkmm | |
49 | Group: Documentation | |
50 | Requires: gtk-doc-common | |
51 | ||
52 | %description apidocs | |
53 | API documentation for atkmm library. | |
54 | ||
55 | %description apidocs -l pl.UTF-8 | |
56 | Dokumentacja API biblioteki atkmm. | |
57 | ||
58 | %prep | |
59 | %setup -q | |
60 | ||
61 | %build | |
62 | %{__libtoolize} | |
63 | %{__aclocal} -I build | |
64 | %{__autoconf} | |
65 | %{__autoheader} | |
66 | %{__automake} | |
67 | %configure | |
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT \ | |
75 | libdocdir=%{_gtkdocdir}/atkmm-1.6 \ | |
76 | devhelpdir=%{_gtkdocdir}/atkmm-1.6 | |
77 | ||
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %post -p /sbin/ldconfig | |
82 | %postun -p /sbin/ldconfig | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
86 | %doc AUTHORS ChangeLog NEWS README | |
87 | %attr(755,root,root) %{_libdir}/libatkmm-1.6.so.*.*.* | |
88 | %attr(755,root,root) %ghost %{_libdir}/libatkmm-1.6.so.1 | |
89 | ||
90 | %files devel | |
91 | %defattr(644,root,root,755) | |
92 | %attr(755,root,root) %{_libdir}/libatkmm-1.6.so | |
93 | %{_libdir}/atkmm-1.6 | |
94 | %{_libdir}/libatkmm-1.6.la | |
95 | %{_includedir}/atkmm-1.6 | |
96 | %{_pkgconfigdir}/atkmm-1.6.pc | |
97 | ||
98 | %files apidocs | |
99 | %defattr(644,root,root,755) | |
100 | %{_gtkdocdir}/atkmm-1.6 |