File mingw32-snorenotify.spec of Package mingw32-snorenotify

#
# spec file for package mingw32-snorenotify
#
# 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-snorenotify
Version:        0.5.2
Release:        0
Summary:        Snorenotify is a multi platform Qt based notification framework
License:        LGPL-3.0-only
Group:          System/Libraries
Url:            https://github.com/Snorenotify/Snorenotify
Source:         v%{version}.tar.gz
BuildRequires:  mingw32-cross-cmake
BuildRequires:  mingw32-cross-binutils
BuildRequires:  mingw32-cross-gcc
BuildRequires:  mingw32-cross-gcc-c++
BuildRequires:  mingw32-filesystem >= 23
BuildRequires:  mingw32-libqt4-devel
BuildRequires:  mingw32-libqt4-filesystem
# CMake imported target requires the .dll to be present
BuildRequires:  mingw32-snoregrowl
BuildRequires:  mingw32-snoregrowl-devel
%_mingw32_package_header_debug
BuildArch:      noarch

%description
Snorenotify is a multi platform Qt based notification framework. Using a plugin system it is possible to create notifications with many different notification systems on Windows, Unix and Mac.

%package devel
Summary:        An extremely memory-efficient hash_map implementation
Group:          Development/Libraries/C and C++

%description devel
Snorenotify is a multi platform Qt based notification framework. Using a plugin system it is possible to create notifications with many different notification systems on Windows, Unix and Mac.

%_mingw32_debug_package

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

%build

%{_mingw32_cmake_qt4}

%{_mingw32_cmake_build}

%install
%{_mingw32_cmake_install}

%files
%defattr(-,root,root)
# %doc doc/*
%exclude %{_mingw32_bindir}/SnoreToast.exe
%{_mingw32_bindir}/libsnore.dll
%dir %{_mingw32_libdir}/libsnore/
%{_mingw32_libdir}/libsnore/*.dll

%files devel
%defattr(-,root,root)
%{_mingw32_includedir}/snore/
%{_mingw32_libdir}/cmake/
%{_mingw32_libdir}/libsnore.dll.a

%changelog
openSUSE Build Service is sponsored by