pangomm/pangomm.spec
weijin-deng fc7d06710a Upgrade to 2.42.2
Use meson rebuild
2021-06-28 11:17:23 +08:00

75 lines
1.7 KiB
RPMSpec

Name: pangomm
Version: 2.42.2
Release: 1
Summary: C++ bindings for pango
License: LGPLv2+
URL: http://www.gtkmm.org/
Source0: http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.42/%{name}-%{version}.tar.xz
BuildRequires: gcc-c++ glibmm24-devel >= 2.48.0 cairomm-devel >= 1.2.2 libxslt
BuildRequires: pango-devel >= 1.41.0 doxygen graphviz meson perl m4 mm-common
Requires: glibmm24 >= 2.48.0 cairomm >= 1.2.2 pango >= 1.41.0
%description
Pangomm provides a C++ interface to the Pango library.
%package devel
Summary: Development package for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
This package contains some header and library files for the development
of %{name}.
%package help
Summary: Help package for %{name}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: libsigc++20-doc glibmm24-doc
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help
This package contains some man help file and some other files for %{name}.
%prep
%autosetup -p1
%build
%meson -Dbuild-documentation=true
%meson_build
%install
%meson_install
%delete_la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING
%doc AUTHORS NEWS README
%{_libdir}/*.so.*
%files devel
%{_includedir}/pangomm-1.4
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/pangomm-1.4
%files help
%doc %{_docdir}/pangomm-1.4/
%{_datadir}/devhelp/
%changelog
* Fri Jun 18 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.42.2-1
- Upgrade to 2.42.2
- Use meson rebuild
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 2.40.1-7
- openEuler init