pangomm/pangomm.spec

91 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

2022-04-13 15:44:18 +08:00
%define apiver 1.4
%global glibmm_version 2.48.0
%global cairomm_version 1.2.2
%global pango_version 1.45.1
2019-12-13 10:18:18 +08:00
Name: pangomm
2023-02-01 19:13:28 +08:00
Version: 2.46.3
Release: 1
2019-12-13 10:18:18 +08:00
Summary: C++ bindings for pango
2022-06-20 12:43:50 +08:00
License: LGPL-2.1-only and GPL-2.0-or-later
2022-04-13 15:44:18 +08:00
URL: https://www.gtkmm.org/
Source0: https://download.gnome.org/sources/pangomm/2.46/%{name}-%{version}.tar.xz
2019-12-13 10:18:18 +08:00
2022-04-13 15:44:18 +08:00
BuildRequires: meson m4 gcc-c++ doxygen mm-common libxslt
BuildRequires: pkgconfig(cairomm-1.0) >= %{cairomm_version}
BuildRequires: glibmm24-devel >= %{glibmm_version}
BuildRequires: pango-devel >= %{pango_version}
2019-12-13 10:18:18 +08:00
2022-04-13 15:44:18 +08:00
Requires: glibmm24%{?_isa} >= %{glibmm_version}
Requires: cairomm%{?_isa} >= %{cairomm_version}
Requires: pango%{?_isa} >= %{pango_version}
2019-12-13 10:18:18 +08:00
%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
2022-04-13 15:44:18 +08:00
doxygen -u docs/reference/Doxyfile.in
2019-12-13 10:18:18 +08:00
%build
2021-06-28 11:17:23 +08:00
%meson -Dbuild-documentation=true
%meson_build
2019-12-13 10:18:18 +08:00
%install
2021-06-28 11:17:23 +08:00
%meson_install
2019-12-13 10:18:18 +08:00
%delete_la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING
2023-02-01 19:13:28 +08:00
%doc AUTHORS NEWS
2022-04-13 15:44:18 +08:00
%{_libdir}/libpangomm-%{apiver}.so.1*
2019-12-13 10:18:18 +08:00
%files devel
2022-04-13 15:44:18 +08:00
%{_includedir}/pangomm-%{apiver}
%{_libdir}/libpangomm-%{apiver}.so
2019-12-13 10:18:18 +08:00
%{_libdir}/pkgconfig/*.pc
2022-04-13 15:44:18 +08:00
%{_libdir}/pangomm-%{apiver}
2019-12-13 10:18:18 +08:00
%files help
2022-04-13 15:44:18 +08:00
%doc %{_docdir}/pangomm-%{apiver}/
2019-12-13 10:18:18 +08:00
%{_datadir}/devhelp/
%changelog
2023-02-01 19:13:28 +08:00
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 2.46.3-1
- Update to 2.46.3
2022-06-20 12:43:50 +08:00
* Mon Jun 20 2022 liukuo <liukuo@kylinos.cn> - 2.46.2-2
- License compliance rectification
2022-04-13 15:44:18 +08:00
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 2.46.2-1
- Update to 2.46.2
2021-06-28 11:17:23 +08:00
* Fri Jun 18 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.42.2-1
- Upgrade to 2.42.2
- Use meson rebuild
2019-12-13 10:18:18 +08:00
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 2.40.1-7
- openEuler init