]> git.pld-linux.org Git - packages/glibmm.git/blobdiff - glibmm.spec
- updated to 2.64.4
[packages/glibmm.git] / glibmm.spec
index e5ab2d195e0b2fb77daabd70dd5e04e23afeaf44..df8da6b439d1250817600e721330aa4f1786ac9d 100644 (file)
@@ -1,32 +1,37 @@
+# TODO
+# - make clean on -examples (remove .deps) -> & noarch subpackage
 #
 # Conditional build:
 %bcond_without static_libs     # don't build static library
-#
-%define        glib_ver 1:2.30.0
-%define                libsig_ver 1:2.2.0
+
+%define        glib_ver        1:2.62.0
+%define                libsigc_ver     1:2.10.0
 Summary:       A C++ interface for glib library
 Summary(pl.UTF-8):     Interfejs C++ dla biblioteki glib
 Name:          glibmm
-Version:       2.30.0
+Version:       2.64.4
 Release:       1
 License:       LGPL v2+
 Group:         Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.30/%{name}-%{version}.tar.xz
-# Source0-md5: 54c803cf95a8d395a55397c723cdb315
-URL:           http://www.gtkmm.org/
+Source0:       https://download.gnome.org/sources/glibmm/2.64/%{name}-%{version}.tar.xz
+# Source0-md5: a5d54b861f68c5fb34249d906116449b
+URL:           https://www.gtkmm.org/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.11
+BuildRequires: doxygen >= 1:1.8.9
 BuildRequires: glib2-devel >= %{glib_ver}
-BuildRequires: libsigc++-devel >= %{libsig_ver}
-BuildRequires: libstdc++-devel
-BuildRequires: libtool >= 2:1.4d
+BuildRequires: libsigc++-devel >= %{libsigc_ver}
+BuildRequires: libstdc++-devel >= 6:4.7
+BuildRequires: libtool >= 2:2.0
 BuildRequires: m4
-BuildRequires: mm-common >= 0.9.5
+BuildRequires: mm-common >= 0.9.10
+BuildRequires: perl-base
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.752
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 Requires:      glib2 >= %{glib_ver}
-Requires:      libsigc++ >= %{libsig_ver}
+Requires:      libsigc++ >= %{libsigc_ver}
 Obsoletes:     gtkmm-glib
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -42,8 +47,8 @@ Summary(pl.UTF-8):    Pliki nagłówkowe biblioteki glibmm
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      glib2-devel >= %{glib_ver}
-Requires:      libsigc++-devel >= %{libsig_ver}
-Requires:      libstdc++-devel
+Requires:      libsigc++-devel >= %{libsigc_ver}
+Requires:      libstdc++-devel >= 6:4.7
 Obsoletes:     gtkmm-glib-devel
 
 %description devel
@@ -72,6 +77,7 @@ Group:                Documentation
 Requires:      gtk-doc-common
 Provides:      glibmm-doc
 Obsoletes:     glibmm-doc
+%{?noarchpackage}
 
 %description apidocs
 Reference documentation for glibmm.
@@ -94,11 +100,15 @@ Przykłady dla glibmm.
 %setup -q
 
 %build
+mm-common-prepare --copy --force
 %{__libtoolize}
 %{__aclocal} -I build
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
+       --enable-maintainer-mode \
+       --disable-silent-rules \
        %{?with_static_libs:--enable-static}
 
 %{__make}
This page took 0.076342 seconds and 4 git commands to generate.