]> git.pld-linux.org Git - packages/pangomm.git/blobdiff - pangomm.spec
- updated to 2.46.3
[packages/pangomm.git] / pangomm.spec
index 71723c3a5d403e2fc640276bdda096a1b205372b..0903462fce252673ff34a2fac1e2f88b4acdfc98 100644 (file)
@@ -1,32 +1,38 @@
 %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.40.1
+Version:       2.46.3
 Release:       1
 License:       LGPL v2+
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.40/%{name}-%{version}.tar.xz
-# Source0-md5: 874eadd9434613dbacf0272c82c3ac23
-URL:           http://www.gtkmm.org/
+Source0:       https://download.gnome.org/sources/pangomm/2.46/%{name}-%{version}.tar.xz
+# Source0-md5: 7af783bb04de766fafaaad26c9ed475a
+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: libstdc++-devel >= 6:4.6
+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.8
-BuildRequires: pango-devel >= 1:1.38.0
+BuildRequires: mm-common >= 0.9.10
+BuildRequires: pango-devel >= %{pango_ver}
 BuildRequires: perl-base >= 1:5.6.0
 BuildRequires: pkgconfig
+BuildRequires: rpm-build >= 4.6
+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.38.0
+Requires:      cairomm >= %{cairomm_ver}
+Requires:      glibmm >= %{glibmm_ver}
+Requires:      pango >= %{pango_ver}
 Provides:      gtkmm-pango
-Obsoletes:     gtkmm-pango
+Obsoletes:     gtkmm-pango < 2.14
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,12 +46,12 @@ 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:      libstdc++-devel >= 6:4.6
-Requires:      pango-devel >= 1:1.38.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
+Obsoletes:     gtkmm-pango-devel < 2.14
 
 %description devel
 Header files for pangomm library.
@@ -59,7 +65,7 @@ Summary(pl.UTF-8):    Statyczna biblioteka pangomm
 Group:         X11/Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Provides:      gtkmm-pango-static
-Obsoletes:     gtkmm-pango-static
+Obsoletes:     gtkmm-pango-static < 2.14
 
 %description static
 Static pangomm library.
@@ -72,9 +78,7 @@ Summary:      pangomm library API documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki pangomm
 Group:         Documentation
 Requires:      devhelp
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description apidocs
 pangomm library API documentation.
@@ -86,18 +90,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
 
@@ -111,7 +118,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog NEWS README.md
 %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libpangomm-%{apiver}.so.1
 
This page took 0.071141 seconds and 4 git commands to generate.