|
|
|
@ -2,33 +2,27 @@
|
|
|
|
|
# first two digits of version
|
|
|
|
|
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
|
|
|
|
|
|
|
|
|
%global glibmm24_version 2.54.0
|
|
|
|
|
%global gtk3_version 3.24.0
|
|
|
|
|
%global atkmm_version 2.24.2
|
|
|
|
|
%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
|
|
|
|
|
%global glibmm24_version 2.49.1
|
|
|
|
|
%global gtk3_version 3.22.0
|
|
|
|
|
%global pangomm_version 2.38.2
|
|
|
|
|
|
|
|
|
|
Name: gtkmm30
|
|
|
|
|
Version: 3.24.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 3.22.2
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: C++ interface for the GTK+ library
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://www.gtkmm.org/
|
|
|
|
|
Source0: https://download.gnome.org/sources/gtkmm/%{release_version}/gtkmm-%{version}.tar.xz
|
|
|
|
|
URL: http://www.gtkmm.org/
|
|
|
|
|
Source0: http://download.gnome.org/sources/gtkmm/%{release_version}/gtkmm-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: atkmm-devel >= %{atkmm_version}
|
|
|
|
|
BuildRequires: cairomm-devel >= %{cairomm_version}
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: gdk-pixbuf2-devel >= %{gdk_pixbuf2_version}
|
|
|
|
|
BuildRequires: glibmm24-devel >= %{glibmm24_version}
|
|
|
|
|
BuildRequires: gtk3-devel >= %{gtk3_version}
|
|
|
|
|
BuildRequires: libxslt
|
|
|
|
|
BuildRequires: m4
|
|
|
|
|
BuildRequires: meson
|
|
|
|
|
BuildRequires: mm-common
|
|
|
|
|
BuildRequires: pangomm-devel >= %{pangomm_version}
|
|
|
|
|
|
|
|
|
|
Requires: atkmm%{?_isa} >= %{atkmm_version}
|
|
|
|
@ -72,25 +66,37 @@ cp -a demos/ _docs/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%meson -Dbuild-documentation=true
|
|
|
|
|
%meson_build
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
|
|
|
|
|
# fix lib64 rpaths
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
|
|
# avoid unused direct dependencies
|
|
|
|
|
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%meson_install
|
|
|
|
|
%make_install
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
|
%{_libdir}/libgdkmm-%{apiver}.so.1*
|
|
|
|
|
%{_libdir}/libgtkmm-%{apiver}.so.1*
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/gtkmm-%{apiver}/
|
|
|
|
|
%{_includedir}/gdkmm-%{apiver}/
|
|
|
|
|
%{_libdir}/libgdkmm-%{apiver}.so
|
|
|
|
|
%{_libdir}/libgtkmm-%{apiver}.so
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/gtkmm-%{apiver}/
|
|
|
|
|
%{_libdir}/gdkmm-%{apiver}/
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
@ -102,55 +108,12 @@ cp -a demos/ _docs/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 24 2021 Kalev Lember <klember@redhat.com> - 3.24.5-1
|
|
|
|
|
- Update to 3.24.5
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.24.4-3
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.24.4-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Feb 23 2021 Kalev Lember <klember@redhat.com> - 3.24.4-1
|
|
|
|
|
- Update to 3.24.4
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 14 2020 Kalev Lember <klember@redhat.com> - 3.24.3-1
|
|
|
|
|
- Update to 3.24.3
|
|
|
|
|
- Use https source URLs
|
|
|
|
|
- Re-enable LTO now that we have upstream fix in place (#1898054)
|
|
|
|
|
- Switch to meson build system
|
|
|
|
|
- Tighten soname globs
|
|
|
|
|
|
|
|
|
|
* Sat Nov 21 2020 Andrew Potter <agpotter@gmail.com> - 3.24.2-4
|
|
|
|
|
- Opt-out of LTO (#1898054)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 24 2019 Kalev Lember <klember@redhat.com> - 3.24.2-1
|
|
|
|
|
- Update to 3.24.2
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Mar 20 2019 Kalev Lember <klember@redhat.com> - 3.24.1-1
|
|
|
|
|
- Update to 3.24.1
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 23 2019 Kalev Lember <klember@redhat.com> - 3.22.3-1
|
|
|
|
|
- Update to 3.22.3
|
|
|
|
|
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.22.2-3
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Thu Oct 15 2020 Tomas Popela <tpopela@redhat.com> - 3.22.2-3
|
|
|
|
|
- Rebuild for the annobin fixes
|
|
|
|
|
- Resolves: rhbz#1704013
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|