]> git.pld-linux.org Git - packages/pangomm.git/blobdiff - pangomm.spec
- updated to 2.46.0
[packages/pangomm.git] / pangomm.spec
index a03feee30ffe3eccb95f77a97bba0ec93c9534d3..82b74180e9421b5e06259fe352aa615aa8dbb316 100644 (file)
@@ -1,27 +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.14.0
+Version:       2.46.0
 Release:       1
 License:       LGPL v2+
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.14/%{name}-%{version}.tar.bz2
-# Source0-md5: 85be0a654ed521e5594f64efdb3fa7d8
-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.9
-BuildRequires: cairomm-devel >= 1.6.3
-BuildRequires: glibmm-devel >= 2.16.0
-BuildRequires: libstdc++-devel
-BuildRequires: libtool
-BuildRequires: pango-devel >= 1:1.22.0
+BuildRequires: automake >= 1:1.11
+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 >= %{pango_ver}
+BuildRequires: perl-base >= 1:5.6.0
 BuildRequires: pkgconfig
-Requires:      cairomm >= 1.6.3
-Requires:      glibmm >= 2.16.0
-Requires:      pango >= 1:1.22.0
+BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+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)
@@ -37,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.16.0
-Requires:      pango-devel >= 1:1.22.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
 
@@ -68,6 +77,7 @@ Summary:      pangomm library API documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki pangomm
 Group:         Documentation
 Requires:      devhelp
+%{?noarchpackage}
 
 %description apidocs
 pangomm library API documentation.
@@ -79,12 +89,15 @@ Dokumentacja API biblioteki pangomm.
 %setup -q
 
 %build
+mm-common-prepare --copy --force
 %{__libtoolize}
-%{__aclocal} -I scripts
+%{__aclocal} -I build
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
+       --enable-maintainer-mode \
+       --disable-silent-rules \
        --enable-static
 %{__make}
 
@@ -94,6 +107,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -110,7 +125,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libpangomm-%{apiver}.so
 %{_includedir}/pangomm-%{apiver}
-%{_libdir}/libpangomm-%{apiver}.la
 %{_libdir}/pangomm-%{apiver}
 %{_pkgconfigdir}/pangomm-%{apiver}.pc
 
This page took 0.086391 seconds and 4 git commands to generate.