]> git.pld-linux.org Git - packages/pangomm.git/blobdiff - pangomm.spec
- updated to 2.46.0
[packages/pangomm.git] / pangomm.spec
index 14e7c2626737cecf071e378739dab50fcf8936b6..82b74180e9421b5e06259fe352aa615aa8dbb316 100644 (file)
@@ -1,30 +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.42.1
+Version:       2.46.0
 Release:       1
 License:       LGPL v2+
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.42/%{name}-%{version}.tar.xz
-# Source0-md5: 339c48dd92ebd3a9911b231708f7a819
-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.12.0
-BuildRequires: glibmm-devel >= 2.48.0
+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.10
-BuildRequires: pango-devel >= 1:1.41.0
+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.12.0
-Requires:      glibmm >= 2.48.0
-Requires:      pango >= 1:1.41.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)
@@ -40,10 +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.12.0
-Requires:      glibmm-devel >= 2.48.0
+Requires:      cairomm-devel >= %{cairomm_ver}
+Requires:      glibmm-devel >= %{glibmm_ver}
 Requires:      libstdc++-devel >= 6:4.7
-Requires:      pango-devel >= 1:1.41.0
+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.072162 seconds and 4 git commands to generate.