/
pangomm.spec
89 lines (71 loc) · 2.57 KB
/
pangomm.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
%define url_ver %(echo %{version}|cut -d. -f1,2)
%define api 1.4
%define major 1
%define libname %mklibname %{name} %{api} %{major}
%define devname %mklibname -d %{name}
%define _disable_rebuild_configure 1
Summary: C++ interface for the pango library
Name: pangomm
Version: 2.42.2
Release: 1
License: LGPLv2+
Group: System/Libraries
Url: http://gtkmm.org/
Source0: http://ftp.gnome.org/pub/GNOME/sources/pangomm/%{url_ver}/%{name}-%{version}.tar.xz
BuildRequires: doxygen
BuildRequires: meson
BuildRequires: pkgconfig(cairomm-1.0)
BuildRequires: pkgconfig(glibmm-2.4)
BuildRequires: pkgconfig(mm-common-util)
BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(pangocairo)
%description
Pangomm provides a C++ interface to the Pango library. Highlights
include typesafe callbacks, widgets extensible via inheritance and a
comprehensive set of widget classes that can be freely combined to
quickly create complex user interfaces.
%package -n %{libname}
Summary: C++ interface for the pango library
Group: System/Libraries
Obsoletes: %{_lib}pangomm2.4_1 < 2.28.4-7
%description -n %{libname}
Gtkmm provides a C++ interface to the GTK+ GUI library. Gtkmm2 wraps GTK+ 2.
Highlights include typesafe callbacks, widgets extensible via inheritance
and a comprehensive set of widget classes that can be freely combined to
quickly create complex user interfaces.
This package contains the library needed to run programs dynamically
linked with %{name}.
%package -n %{devname}
Summary: Headers and development files of %{name}
Group: Development/GNOME and GTK+
Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
Obsoletes: %{_lib}pangomm2.4-devel < 2.28.4-7
%description -n %{devname}
This package contains the headers and development files that are needed,
when trying to develop or compile applications which need %{name}.
%package doc
Summary: GTKmm documentation
Group: Books/Other
%description doc
Pangomm provides a C++ interface to the Pango library. Highlights
include typesafe callbacks, widgets extensible via inheritance and a
comprehensive set of widget classes that can be freely combined to
quickly create complex user interfaces.
This package contains all API documentation for pangomm. You can readily read
this documentation with devhelp, a documentation reader.
%prep
%setup -q
%build
%meson
%meson_build
%install
%meson_install
%files -n %{libname}
%{_libdir}/libpangomm-%{api}.so.%{major}*
%files -n %{devname}
%doc COPYING ChangeLog AUTHORS COPYING NEWS README
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/pangomm-%{api}/