File mingw32-libgweather.spec of Package mingw32-libgweather

#
# spec file for package mingw32-libgweather
#
# 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:           mingw32-libgweather
Version:        2.30.3
Release:        0
Summary:        MinGW Windows port of a Library for Rendering SVG Data.
License:        LGPL-2.1-or-later
Group:          Development/Libraries
Url:            ftp://ftp.gnome.org/pub/gnome/sources/libgweather
Source0:        ftp://ftp.gnome.org/pub/gnome/sources/libgweather/2.30/libgweather-%{version}.tar.bz2
Source1000:     %{name}-rpmlintrc
#!BuildIgnore: post-build-checks
BuildRequires:  gtk-doc
BuildRequires:  intltool >= 0.40.3
BuildRequires:  libxml2-devel
BuildRequires:  mingw32-cross-binutils
BuildRequires:  mingw32-cross-gcc
BuildRequires:  mingw32-cross-pkg-config
BuildRequires:  mingw32-filesystem >= 23
BuildRequires:  mingw32-gconf2-devel
BuildRequires:  mingw32-glib2-devel
BuildRequires:  mingw32-gtk2-devel
BuildRequires:  mingw32-libgnurx-devel
BuildRequires:  mingw32-libsoup-devel
BuildRequires:  mingw32-libxml2-devel
BuildRequires:  timezone
Requires:       %{name}-lang = %{version}
%_mingw32_package_header_debug
BuildArch:      noarch

%description
MinGW Windows port of a Library for Rendering SVG Data.
This package contains a library to render SVG (scalable vector
graphics) data. This format has been specified by the W3C (see
http://www.w3c.org).

%package devel
Summary:        MinGW Windows port of a Library for Rendering SVG Data (development files)
Group:          Development/Libraries

%description devel
MinGW Windows port of a Library for Rendering SVG Data (development files).
This package contains a library to render SVG (scalable vector
graphics) data. This format has been specified by the W3C (see
http://www.w3c.org).

%_mingw32_debug_package

%lang_package

%prep
%setup -q -n libgweather-%{version}

%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%{_mingw32_configure} \
	--enable-shared --disable-static --disable-schemas-install \
	--enable-compile-warnings=maximum --enable-more-warnings
make %{?_smp_mflags} || make

%install

make DESTDIR=%{buildroot} install %{?_smp_mflags}

%find_lang libgweather

%files
%defattr(-,root,root)
%{_mingw32_bindir}/libgweather-1.dll
%{_mingw32_sysconfdir}/gconf/schemas/gweather.schemas
%{_mingw32_datadir}/libgweather/Locations.*.xml*
%{_mingw32_datadir}/libgweather/Locations.xml*
%{_mingw32_datadir}/libgweather/locations.dtd
%{_mingw32_datadir}/icons/gnome/*/status/weather-*

%files lang -f libgweather.lang
%defattr(-,root,root)

%files devel
%defattr(-,root,root)
%{_mingw32_includedir}/libgweather
%{_mingw32_libdir}/libgweather.dll.a
%{_mingw32_libdir}/pkgconfig/gweather.pc
%{_mingw32_datadir}/gtk-doc/html/libgweather

%changelog
openSUSE Build Service is sponsored by