Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-kdewin
mingw32-kdewin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-kdewin.spec of Package mingw32-kdewin
# # spec file for package mingw32-kdewin # # Copyright (c) 2014 Ralf Habacker # # 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/ # %define _with_qt4 0 %define _with_qt5 0 Name: mingw32-kdewin Version: 0.6.0 Release: 0 Source0: kdewin-%{version}.tar.xz BuildRequires: automoc4 BuildRequires: mingw32-cross-cmake BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-filesystem %if %{_with_qt4} BuildRequires: mingw32-cross-qmake BuildRequires: mingw32-libqt4-filesystem BuildRequires: mingw32-libqt4-devel %endif %if %{_with_qt5} BuildRequires: mingw32-libqt5-qtbase-devel BuildRequires: mingw32-libqt5-qtsvg-devel BuildRequires: mingw32-libqt5-qtsvg %endif BuildRequires: xz %_mingw32_package_header_debug Url: https://projects.kde.org/kdewin BuildArch: noarch #!BuildIgnore: post-build-checks Summary: The KDE Windows support library License: GPL-2.0+ Group: Development/Libraries/C and C++ %description KDEWin is a supplementary library and provides supplementary tools which are required for compiling KDE applications on Windows. %if %{_with_qt4} %package qt4 Summary: The KDE Windows qt based support libraries Group: Development/Libraries/C and C++ Requires: mingw32-libqt4 %description qt4 KDEWin is a supplementary library and provides supplementary tools which are required for compiling KDE applications on Windows. %endif %if %{_with_qt5} %package qt5 Summary: The KDE Windows qt based support libraries Group: Development/Libraries/C and C++ Requires: mingw32-libqt5-qtbase %description qt5 KDEWin is a supplementary library and provides supplementary tools which are required for compiling KDE applications on Windows. %endif %package devel Summary: The KDE Windows support library Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %if %{_with_qt4} Requires: %{name}-qt4 %endif %if %{_with_qt5} Requires: %{name}-qt5 %endif %description devel KDEWin is a supplementary library and provides supplementary tools which are required for compiling KDE applications on Windows. %_mingw32_debug_package %prep %setup -q -n kdewin-%{version} %build rm -rf CMakeCache.txt %if %{_with_qt4} mkdir build-qt4 cd build-qt4 %_mingw32_cmake_qt4 -DBUILD_BASE_LIB_WITH_QT=ON -DBUILD_QT_LIB=ON -DMINGW_W32=ON cd .. %else %_mingw32_cmake -DBUILD_BASE_LIB_WITH_QT=OFF -DBUILD_QT_LIB=OFF -DMINGW_W32=ON %endif %if %{_with_qt5} mkdir build-qt5 cd build-qt5 %_mingw32_cmake -DBUILD_BASE_LIB_WITH_QT=ON -DBUILD_QT_LIB=ON -DMINGW_W32=ON %endif %_mingw32_cmake_build %install %_mingw32_cmake_install rm %{buildroot}/%{_mingw32_libdir}/libwbemuuid.a %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_mingw32_bindir}/libkdewin.dll %{_mingw32_prefix}/share/doc/kdewin-*/readme.txt %if %{_with_qt4} %files qt4 %defattr(-,root,root,-) %{_mingw32_bindir}/libkdewin-qt.dll %endif %if %{_with_qt5} %files qt4 %defattr(-,root,root,-) %{_mingw32_bindir}/libkdewin-qt.dll %endif %files devel %defattr(-,root,root,-) %{_mingw32_datadir}/apps/cmake/modules/FindKDEWin.cmake %{_mingw32_datadir}/apps/cmake/modules/FindKDEWIN32.cmake %{_mingw32_datadir}/apps/cmake/modules/FindKDEWIN_Packager.cmake %{_mingw32_libdir}/cmake/KDEWin/KDEWinTargets.cmake %{_mingw32_libdir}/cmake/KDEWin/KDEWinConfig.cmake %{_mingw32_libdir}/cmake/KDEWin/KDEWinConfigVersion.cmake %{_mingw32_libdir}/cmake/KDEWin/KDEWinTargets-relwithdebinfo.cmake %{_mingw32_includedir}/* %{_mingw32_libdir}/pkgconfig/kdewin.pc %if %{_with_qt4} %{_mingw32_libdir}/libkdewin-qt-static.a %{_mingw32_libdir}/libkdewin-qt.dll.a %endif %if %{_with_qt5} %{_mingw32_libdir}/libkdewin-qt-static.a %{_mingw32_libdir}/libkdewin-qt.dll.a %endif %{_mingw32_libdir}/libkdewin.dll.a %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor