]> git.pld-linux.org Git - packages/crossmingw32-pangomm.git/blobdiff - crossmingw32-pangomm.spec
- updated to 2.40.0
[packages/crossmingw32-pangomm.git] / crossmingw32-pangomm.spec
index 9eac78083bcd34306cefcce8870d37a3bee02e63..81c532a39bcb085d51afc04087d3bc5a21b9e8f4 100644 (file)
@@ -1,26 +1,29 @@
 Summary:       A C++ interface for pango library - cross MinGW32 version
 Summary(pl.UTF-8):     Interfejs C++ dla biblioteki pango - wersja skrośna MinGW32
 Name:          crossmingw32-pangomm
-Version:       2.28.0
+Version:       2.40.0
 Release:       1
 License:       LGPL v2+
 Group:         Development/Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.28/pangomm-%{version}.tar.bz2
-# Source0-md5: 524c3c7da1c0b728970592880af36def
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.40/pangomm-%{version}.tar.xz
+# Source0-md5: 681fe43bac96e63321406e1b092093d2
 URL:           http://www.gtkmm.org/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.11
-BuildRequires: crossmingw32-cairomm >= 1.6.3
-BuildRequires: crossmingw32-gcc-c++
-BuildRequires: crossmingw32-glibmm >= 2.22.0
-BuildRequires: crossmingw32-pango >= 1.24.0
-BuildRequires: libtool >= 2:1.5
-BuildRequires: mm-common >= 0.9.4
+BuildRequires: crossmingw32-cairomm >= 1.12.0
+BuildRequires: crossmingw32-gcc-c++ >= 1:4.6
+BuildRequires: crossmingw32-glibmm >= 2.48.0
+BuildRequires: crossmingw32-pango >= 1.38.0
+BuildRequires: libtool >= 2:2.0
+BuildRequires: mm-common >= 0.9.8
 BuildRequires: pkgconfig >= 1:0.15
 BuildRequires: rpmbuild(macros) >= 1.446
-Requires:      crossmingw32-cairomm >= 1.6.3
-Requires:      crossmingw32-glibmm >= 2.16.0
-Requires:      crossmingw32-pango >= 1.24.0
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires:      crossmingw32-cairomm >= 1.12.0
+Requires:      crossmingw32-gcc-c++ >= 1:4.6
+Requires:      crossmingw32-glibmm >= 2.48.0
+Requires:      crossmingw32-pango >= 1.38.0
 Provides:      crossmingw32-gtkmm-pango
 Obsoletes:     crossmingw32-gtkmm-pango
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,13 +40,17 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _dlldir                 /usr/share/wine/windows/system
 %define                __cc                    %{target}-gcc
 %define                __cxx                   %{target}-g++
+%define                __pkgconfig_provides    %{nil}
+%define                __pkgconfig_requires    %{nil}
 
+%define                _ssp_cflags             %{nil}
 %ifnarch %{ix86}
 # arch-specific flags (like alpha's -mieee) are not valid for i386 gcc
 %define                optflags        -O2
 %endif
-# -z options are invalid for mingw linker
+# -z options are invalid for mingw linker, most of -f options are Linux-specific
 %define                filterout_ld    -Wl,-z,.*
+%define                filterout_c             -f[-a-z0-9=]*
 
 %description
 A C++ interface for pango library - cross MinGW32 version.
@@ -69,9 +76,9 @@ Statyczna biblioteka pangomm (wersja skrośna MinGW32).
 Summary:       DLL pangomm library for Windows
 Summary(pl.UTF-8):     Biblioteka DLL pangomm dla Windows
 Group:         Applications/Emulators
-Requires:      crossmingw32-cairomm-dll >= 1.6.3
-Requires:      crossmingw32-glibmm-dll >= 2.16.0
-Requires:      crossmingw32-pango-dll >= 1.24.0
+Requires:      crossmingw32-cairomm-dll >= 1.12.0
+Requires:      crossmingw32-glibmm-dll >= 2.48.0
+Requires:      crossmingw32-pango-dll >= 1.38.0
 Requires:      wine
 Provides:      crossmingw32-gtkmm-pango-dll
 Obsoletes:     crossmingw32-gtkmm-pango-dll
@@ -96,6 +103,7 @@ export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig:%{_npkgconfigdir}
        --target=%{target} \
        --host=%{target} \
        --disable-documentation \
+       --disable-silent-rules \
        --enable-static
 
 %{__make}
@@ -107,7 +115,7 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_dlldir}
-mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
+%{__mv} $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
 
 %if 0%{!?debug:1}
 %{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
This page took 0.072344 seconds and 4 git commands to generate.