File mingw64-gnome-desktop.spec of Package mingw64-gnome-desktop
#
# spec file for package mingw64-gnome-desktop
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mingw64-gnome-desktop
Version: 2.32.1
Release: 0
Summary: The GNOME Desktop API Library
License: GFDL-1.1-only and GPL-2.0-or-later and LGPL-2.1-or-later
Group: Development/Libraries/GNOME
Url: http://www.gnome.org
Source: http://download.gnome.org/sources/gnome-desktop/2.32/gnome-desktop-%{version}.tar.bz2
Patch0: gnome-desktop-2.32.1-windows.patch
#!BuildIgnore: post-build-checks
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: docbook-xsl-stylesheets
BuildRequires: glib2-devel
BuildRequires: gnome-common
BuildRequires: gnome-doc-utils-devel
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem >= 23
BuildRequires: mingw64-gconf2-devel
BuildRequires: mingw64-glib2-devel
BuildRequires: mingw64-gnome-doc-utils
BuildRequires: mingw64-gnome-doc-utils-devel
BuildRequires: mingw64-gtk2-devel
Requires: %{name}-lang = %{version}
%_mingw64_package_header_debug
BuildArch: noarch
%description
This package contains the libgnome-desktop library that contains APIs
that really belong in libgnome/libgnomeui but have not seen enough
testing or development to be considered stable. Use them at your own
risk.
Also contained here are documents installed as part of the core GNOME
distribution: the GPL, GNOME's .desktop files, the gnome-about program,
some man pages, and GNOME's core graphics files and icons.
%package -n mingw64-libgnome-desktop-2-17
Summary: The GNOME Desktop API Library
Group: System/Libraries
%description -n mingw64-libgnome-desktop-2-17
This package contains the libgnome-desktop library that contains APIs
that really belong in libgnome/libgnomeui but have not seen enough
testing or development to be considered stable. Use them at your own
risk.
%package devel
Summary: The GNOME Desktop API Library (development files)
Group: Development/Libraries/C and C++
%description devel
Include Files and Libraries mandatory for Development.
%_mingw64_debug_package
%lang_package
%prep
%setup -q -n gnome-desktop-%{version}
%patch -P 0 -p1 -b .windows
%build
NOCONFIGURE=indeed AUTOMAKE=automake gnome-autogen.sh
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
--enable-shared --disable-static \
--disable-date-in-gnome-version \
--disable-scrollkeeper --without-x \
--enable-compile-warnings=maximum \
--disable-gnome-about
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -f %{buildroot}%{_mingw64_datadir}/gnome-about/gnome-version.xml
rm -f %{buildroot}%{_mingw64_mandir}/man1/gnome-about.1*
rm -f %{buildroot}%{_mingw64_datadir}/libgnome-desktop/pnp.ids
%find_lang gnome-desktop-2.0
%files
%defattr(-,root,root)
%{_mingw64_datadir}/pixmaps/*.png
%{_mingw64_datadir}/pixmaps/*.xpm
%files -n mingw64-libgnome-desktop-2-17
%defattr(-,root,root)
%{_mingw64_bindir}/libgnome-desktop-2-17.dll
%files lang -f gnome-desktop-2.0.lang
%defattr(-,root,root)
%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/gnome-desktop-2.0
%{_mingw64_libdir}/libgnome-desktop-2.dll.a
%{_mingw64_libdir}/pkgconfig/gnome-desktop-2.0.pc
%{_mingw64_datadir}/gtk-doc/html/gnome-desktop/
%{_mingw64_datadir}/omf
%{_mingw64_datadir}/gnome/help
%changelog