diff --git a/glibmm-2.58.0.tar.xz b/glibmm-2.58.0.tar.xz new file mode 100644 index 0000000..71e3442 Binary files /dev/null and b/glibmm-2.58.0.tar.xz differ diff --git a/glibmm24.spec b/glibmm24.spec new file mode 100644 index 0000000..7b46b1a --- /dev/null +++ b/glibmm24.spec @@ -0,0 +1,71 @@ +Name: glibmm24 +Version: 2.58.0 +Release: 2 +Summary: C++ interface for the GLib library +License: LGPLv2+ +URL: http://www.gtkmm.org/ +Source0: http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.58/glibmm-2.58.0.tar.xz + +BuildRequires: gcc-c++ glib2-devel >= 2.55.1 libsigc++20-devel >= 2.9.1 +BuildRequires: m4 perl-generators perl-interpreter perl-Getopt-Long +Requires: glib2 >= 2.55.1 libsigc++20 >= 2.9.1 + +%description +The glibmm package is a set of C++ bindings for Glib. +It provides non-UI API that is not available in standard C++ +and makes it possible for gtkmm to wrap GObject-based APIs. + +%package devel +Summary: Headers for developing programs using glibmm24 +Requires: %{name} = %{version}-%{release} + +%description devel +The glibmm24-devel package contains the static libraries and +header files needed for developing glibmm applications. + +%package help +Provides: %{name}-doc = %{version}-%{release} +Obsoletes: %{name}-doc < %{version}-%{release} +Summary: full API documentation for glibmm24 +BuildArch: noarch +Requires: %{name} = %{version}-%{release} +Requires: libsigc++20-doc + +%description help +The glibmm24-help package contains the full API documentation for glibmm24. + + +%prep +%autosetup -n glibmm-%{version} + + +%build +%configure +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 +%make_build + + +%install +%make_install +%delete_la + + +%files +%doc AUTHORS NEWS README COPYING +%{_libdir}/*.so.* + +%files devel +%{_includedir}/{glibmm-2.4,giomm-2.4}/ +%{_libdir}/*.so +%{_libdir}/{glibmm-2.4,giomm-2.4}/ +%{_libdir}/pkgconfig/*.pc + +%files help +%doc %{_datadir}/devhelp/ +%doc %{_docdir}/glibmm-2.4/ + + +%changelog +* Thu Dec 12 2019 zoushuangshuang - 2.58.0-2 +- Package init