LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File mingw64-libgweather.spec of Package mingw64-libgweather (Project windows:mingw:win64:EXPERIMENTAL)

%define __strip %{_mingw64_strip}
%define __objdump %{_mingw64_objdump}
%define _use_internal_dependency_generator 0
%define __find_requires %{_mingw64_findrequires}
%define __find_provides %{_mingw64_findprovides}
%define __os_install_post %{_mingw64_debug_install_post} \
                          %{_mingw64_install_post}

Name:           mingw64-libgweather
Version:        3.0.0
Release:        0
Summary:        MinGW Windows port of a Library for Rendering SVG Data.

License:        LGPL v2.1 or later
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
Group:          Development/Libraries
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
#!BuildIgnore: post-build-checks  

BuildRequires:  mingw64-filesystem >= 23
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-gtk3-devel
BuildRequires:  mingw64-libxml2-devel
BuildRequires:  mingw64-libsoup-devel
BuildRequires:  mingw64-gconf2-devel
BuildRequires:  mingw64-glib2-devel
BuildRequires:  mingw64-libgnurx-devel
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  gtk-doc intltool >= 0.40.3
BuildRequires:  libxml2-devel
Requires:       %{name}-lang = %{version}


%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).


%{_mingw64_debug_package}

%lang_package 


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


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


%install
rm -rf $RPM_BUILD_ROOT

make DESTDIR=$RPM_BUILD_ROOT install

%find_lang libgweather-3.0

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root)
%{_mingw64_bindir}/libgweather-3-0.dll
%{_mingw64_sysconfdir}/gconf/schemas/gweather.schemas
%{_mingw64_datadir}/libgweather/Locations.*.xml*
%{_mingw64_datadir}/libgweather/Locations.xml*
%{_mingw64_datadir}/libgweather/locations.dtd
%{_mingw64_datadir}/icons/gnome/*/status/weather-*


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

%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/libgweather-3.0
%{_mingw64_libdir}/libgweather-3.dll.a
%{_mingw64_libdir}/pkgconfig/gweather-3.0.pc
%{_mingw64_datadir}/gtk-doc/html/libgweather-3.0


%changelog