]> git.pld-linux.org Git - packages/pangomm.git/blobdiff - pangomm.spec
- updated to 2.46.0
[packages/pangomm.git] / pangomm.spec
index 332e0234b74c40bcd7193a9561ba18eab4715017..82b74180e9421b5e06259fe352aa615aa8dbb316 100644 (file)
@@ -1,31 +1,35 @@
-#
 %define                apiver  1.4
 
+%define        cairomm_ver     1.12.0
+%define        glibmm_ver      2.48.0
+%define        pango_ver       1:1.45.1
 Summary:       A C++ interface for pango library
 Summary(pl.UTF-8):     Interfejs C++ dla biblioteki pango
 Name:          pangomm
-Version:       2.34.0
-Release:       3
+Version:       2.46.0
+Release:       1
 License:       LGPL v2+
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.34/%{name}-%{version}.tar.xz
-# Source0-md5: 2c702caede167323c9ed9eed2b933098
-URL:           http://www.gtkmm.org/
+Source0:       https://download.gnome.org/sources/pangomm/2.46/%{name}-%{version}.tar.xz
+# Source0-md5: 9b32edce1e04300c1648a313dc29e9f7
+URL:           https://www.gtkmm.org/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.11
-BuildRequires: cairomm-devel >= 1.6.3
-BuildRequires: glibmm-devel >= 2.36.0
-BuildRequires: libstdc++-devel
+BuildRequires: doxygen >= 1:1.8.9
+BuildRequires: cairomm-devel >= %{cairomm_ver}
+BuildRequires: glibmm-devel >= %{glibmm_ver}
+BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: libtool >= 2:2.0
-BuildRequires: mm-common >= 0.9.5
-BuildRequires: pango-devel >= 1:1.24.0
+BuildRequires: mm-common >= 0.9.10
+BuildRequires: pango-devel >= %{pango_ver}
 BuildRequires: perl-base >= 1:5.6.0
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.752
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
-Requires:      cairomm >= 1.6.3
-Requires:      glibmm >= 2.36.0
-Requires:      pango >= 1:1.24.0
+Requires:      cairomm >= %{cairomm_ver}
+Requires:      glibmm >= %{glibmm_ver}
+Requires:      pango >= %{pango_ver}
 Provides:      gtkmm-pango
 Obsoletes:     gtkmm-pango
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,9 +45,10 @@ Summary:     Header files for pangomm library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki pangomm
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      cairomm-devel >= 1.6.3
-Requires:      glibmm-devel >= 2.36.0
-Requires:      pango-devel >= 1:1.24.0
+Requires:      cairomm-devel >= %{cairomm_ver}
+Requires:      glibmm-devel >= %{glibmm_ver}
+Requires:      libstdc++-devel >= 6:4.7
+Requires:      pango-devel >= %{pango_ver}
 Provides:      gtkmm-pango-devel
 Obsoletes:     gtkmm-pango-devel
 
@@ -72,9 +77,7 @@ Summary:      pangomm library API documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki pangomm
 Group:         Documentation
 Requires:      devhelp
-%if "%{_rpmversion}" >= "5"
-BuildArch:     noarch
-%endif
+%{?noarchpackage}
 
 %description apidocs
 pangomm library API documentation.
@@ -86,18 +89,21 @@ Dokumentacja API biblioteki pangomm.
 %setup -q
 
 %build
+mm-common-prepare --copy --force
 %{__libtoolize}
 %{__aclocal} -I build
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
+       --enable-maintainer-mode \
        --disable-silent-rules \
        --enable-static
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
This page took 0.054894 seconds and 4 git commands to generate.