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.7.0
Release: 0
Summary: Snorenotify is a multi platform Qt based notification framework
License: LGPL-3
Group: System/Libraries
Url: https://github.com/Snorenotify/Snorenotify
Source: http://download.kde.org/unstable/snorenotify/%{version}/src/snorenotify-%{version}.tar.xz
BuildRequires: mingw32-filesystem >= 23
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: kdewin-png2ico
BuildRequires: mingw32-cross-libqt5-qmake
BuildRequires: mingw32-cross-libqt5-qttools
BuildRequires: mingw32-libqt5-qtbase-devel
BuildRequires: mingw32-libqt5-qtdeclarative-devel
BuildRequires: mingw32-libqt5-qttools
# FIXME: indirect dependcy of qtgui-devel...
BuildRequires: mingw32-angleproject-devel
# CMake imported target requires the .dll to be present
BuildRequires: mingw32-snoregrowl
BuildRequires: mingw32-snoregrowl-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%_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} \
-DQT_QMAKE_EXECUTABLE:FILEPATH=%{_bindir}/%{_mingw32_target}-qmake-qt5 \
-DWITH_QT4=OFF
%{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)
# %doc doc/*
%exclude %{_mingw32_bindir}/SnoreToast.exe
%{_mingw32_bindir}/libsnore-qt5.dll
%{_mingw32_bindir}/libsnoresettings-qt5.dll
%{_mingw32_bindir}/snorenotify.exe
%{_mingw32_bindir}/snoresend.exe
%{_mingw32_bindir}/snoresettings.exe
%{_mingw32_bindir}/snoresettings-cli.exe
%dir %{_mingw32_libdir}/plugins/libsnore-qt5/
%dir %{_mingw32_libdir}/plugins
%{_mingw32_libdir}/plugins/libsnore-qt5/libsnore_*.dll
%{_mingw32_datadir}/dbus-1/
# hrm
%files devel
%defattr(-,root,root)
%exclude %{_mingw32_prefix}/mkspecs/modules/qt_LibsnoreQt5.pri
%exclude %{_mingw32_prefix}/mkspecs/modules/qt_LibsnoreSettingsQt5.pri
%{_mingw32_libdir}/libsnore-qt5.dll.a
%{_mingw32_libdir}/libsnoresettings-qt5.dll.a
%{_mingw32_includedir}/libsnore/
%{_mingw32_libdir}/cmake/
%{_mingw32_datadir}/locale/ast/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/ca/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/ca@valencia/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/de/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/gl/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/nl/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/pt/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/pt_BR/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/sk/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/sv/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/uk/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/zh_CN/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/cs/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/es/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/fi/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/ja/LC_MESSAGES/snorenotify-qt5_qt.qm
%{_mingw32_datadir}/locale/pl/LC_MESSAGES/snorenotify-qt5_qt.qm
%changelog
# * [ 168s] File not found: /home/abuild/rpmbuild/BUILDROOT/mingw32-snorenotify-0.5.7.2-0.x86_64/usr/i686-w64-mingw32/sys-root/mingw/modules/qt_LibsnoreQt5.pri
# * [ 168s] File not found by glob: /home/abuild/rpmbuild/BUILDROOT/mingw32-snorenotify-0.5.7.2-0.x86_64/usr/i686-w64-mingw32/sys-root/mingw/share/locale/*/LC_MESSAGES/snorenotfiy-qt5_qt.qm