gtkmm30/gtkmm30.spec

93 lines
2.8 KiB
RPMSpec
Raw Normal View History

2022-04-13 19:10:39 +08:00
%global apiver 3.0
%global glibmm24_version 2.54.0
%global gtk3_version 3.24.0
%global cairomm_version 1.12.0
%global pangomm_version 2.38.2
%global gdk_pixbuf2_version 2.35.5
%global atkmm_version 2.24.2
2019-12-17 16:02:12 +08:00
Name: gtkmm30
2022-06-08 15:31:20 +08:00
Version: 3.24.6
2021-06-28 11:35:37 +08:00
Release: 1
2019-12-17 16:02:12 +08:00
Summary: C++ Interfaces for GTK+ and GNOME
License: LGPLv2+
2022-04-13 19:10:39 +08:00
URL: https://www.gtkmm.org/
Source0: https://download.gnome.org/sources/gtkmm/3.24/gtkmm-%{version}.tar.xz
2019-12-17 16:02:12 +08:00
2022-04-13 19:10:39 +08:00
BuildRequires: meson gcc-c++ m4 doxygen mm-common libxslt
BuildRequires: gdk-pixbuf2-devel >= %{gdk_pixbuf2_version}
BuildRequires: glibmm24-devel >= %{glibmm24_version}
BuildRequires: gtk3-devel >= %{gtk3_version}
BuildRequires: atkmm-devel >= %{atkmm_version}
BuildRequires: cairomm-devel >= %{cairomm_version}
BuildRequires: pangomm-devel >= %{pangomm_version}
2019-12-17 16:02:12 +08:00
2022-04-13 19:10:39 +08:00
Requires: atkmm%{?_isa} >= %{atkmm_version}
Requires: cairomm%{?_isa} >= %{cairomm_version}
Requires: gdk-pixbuf2%{?_isa} >= %{gdk_pixbuf2_version}
Requires: glibmm24%{?_isa} >= %{glibmm24_version}
Requires: gtk3%{?_isa} >= %{gtk3_version}
Requires: pangomm%{?_isa} >= %{pangomm_version}
Requires: glibmm24-doc
2019-12-17 16:02:12 +08:00
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description
gtkmm is the official C++ interface for the popular GUI library GTK+. Highlights include typesafe
callbacks, and a comprehensive set of widgets that are easily extensible via inheritance. You can
create user interfaces either in code or with the Glade User Interface designer, using Gtk::Builder.
There's extensive documentation, including API reference and a tutorial.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
This pacakge contains development files for %{name}.
%prep
%autosetup -n gtkmm-%{version}
2022-04-13 19:10:39 +08:00
mkdir -p _docs
cp -a demos/ _docs/
2019-12-17 16:02:12 +08:00
%build
2021-06-28 11:35:37 +08:00
%meson -Dbuild-documentation=true
%meson_build
2019-12-17 16:02:12 +08:00
%install
2021-06-28 11:35:37 +08:00
%meson_install
2019-12-17 16:02:12 +08:00
%delete_la_and_a
%files
2022-04-13 19:10:39 +08:00
%license COPYING
%doc AUTHORS NEWS README
%{_libdir}/libgdkmm-%{apiver}.so.1*
%{_libdir}/libgtkmm-%{apiver}.so.1*
%doc %{_docdir}/gtkmm-%{apiver}/
2019-12-17 16:02:12 +08:00
%doc %{_datadir}/devhelp/
2022-04-13 19:10:39 +08:00
%doc _docs/*
2019-12-17 16:02:12 +08:00
%files devel
2022-04-13 19:10:39 +08:00
%{_includedir}/gtkmm-%{apiver}/
%{_includedir}/gdkmm-%{apiver}/
%{_libdir}/libgdkmm-%{apiver}.so
%{_libdir}/libgtkmm-%{apiver}.so
%{_libdir}/gtkmm-%{apiver}/
%{_libdir}/gdkmm-%{apiver}/
2019-12-17 16:02:12 +08:00
%{_libdir}/pkgconfig/*.pc
%changelog
2022-06-08 15:31:20 +08:00
* Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 3.24.6-1
- Update to 3.24.6
2022-04-13 19:10:39 +08:00
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 3.24.5-1
- Update to 3.24.5
2021-06-28 11:35:37 +08:00
* Fri Jun 18 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.24.4-1
- Upgrade to 3.24.4
- Use meson rebuild
2019-12-17 16:02:12 +08:00
* Fri Dec 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.22.2-4
- Package init