Name: libglademm24 Version: 2.6.7 Release: 1%{?dist} Summary: C++ wrapper for libglade License: LGPLv2+ #Group: Development/Libraries URL: http://www.gtkmm.org/ Source0: http://ftp.gnome.org/pub/GNOME/sources/libglademm/2.6/libglademm-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildArch: noarch BuildRequires: gcc-c++ BuildRequires: gtkmm24-devel >= 2.6.0 BuildRequires: libglade2-devel >= 2.6.1 %description This package provides a C++ interface for libglademm. It is a subpackage of the GTKmm project. The interface provides a convenient interface for C++ programmers to create Gnome GUIs with GTK+'s flexible object-oriented framework. %package devel Summary: Headers for developing programs that will use libglademm. Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains the headers that programmers will need to develop applications which will use libglademm, part of GTKmm, the C++ interface to the GTK+. %prep %setup -q -n libglademm-%{version} %build %configure --disable-static --enable-docs %make_build %install rm -rf docs-to-include %make_install find $RPM_BUILD_ROOT -type f -name "*.la" -print -delete %{__mkdir} docs-to-include %{__mv} ${RPM_BUILD_ROOT}%{_docdir}/gnomemm-2.6/libglademm-2.4/* docs-to-include/ rm -f ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/libglademm-2.4/* %ldconfig_scriptlets %files %license COPYING %doc AUTHORS ChangeLog INSTALL NEWS README %{_libdir}/*.so.* %files devel %doc docs-to-include/* %{_includedir}/libglademm-2.4 %{_libdir}/*.so %{_libdir}/libglademm-2.4 %{_libdir}/pkgconfig/*.pc %changelog * Wed Jul 8 2020 Dillon Chen - 2.6.7-1 - Init package