Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Module-Transactional-Server:x86_64
windows:mingw:win32
mingw32-gwenhywfar5
mingw32-gwenhywfar5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-gwenhywfar5.spec of Package mingw32-gwenhywfar5
# # spec file for package mingw32-gwenhywfar5 # # Copyright (c) 2017 SUSE LINUX 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/ # %define _name gwenhywfar5 %define _guiname libgwengui5 %define _instname gwenhywfar %define libversion 79 # macro works, but prints a warning, see https://github.com/openSUSE/obs-build/issues/390 %{!?devversion: %define devversion %(echo %{version} | awk -F"[.]" '{print $1 "." $2}')} %define with_gtk2 0 %define with_fox 0 %define with_qt4 1 %define with_qt5 1 %define with_doc 0 %define with_lang 1 Name: mingw32-%{_name} Version: 5.11.2beta Release: 0 Summary: Multiplatform helper library for other libraries License: GPL-2.0+ and LGPL-2.1+ Group: System/Libraries Url: http://www.aqbanking.de/ Source: gwenhywfar-%{version}.tar.gz Patch0: windows-fixes.patch BuildRequires: autoconf BuildRequires: automake # configure.ac is broken %if %{with_doc} BuildRequires: doxygen %endif BuildRequires: libtool BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-cross-libqt4-qmake BuildRequires: mingw32-cross-pkgconf %if %{with_gtk2} BuildRequires: mingw32-gtk2-devel >= 1.4 %endif # AM_xxx macros BuildRequires: libgcrypt-devel BuildRequires: mingw32-libgcrypt-devel >= 1.2.0 BuildRequires: mingw32-libgnutls-devel >= 3.0 BuildRequires: mingw32-win_iconv-devel BuildRequires: mingw32-libintl-devel %if %{with_qt4} BuildRequires: mingw32-libqt4-devel BuildRequires: mingw32-libqt4-tools-devel %endif %if %{with_qt5} # lrelease,lupdate BuildRequires: libqt4-linguist BuildRequires: mingw32-libqt5-qtbase-devel %endif %if %{with_fox} %if 0%{?fedora} == 15 BuildRequires: mingw32-fox-devel >= 1.6 %else BuildRequires: mingw32-fox16-devel %endif %endif # For doc graphs %if %{with_doc} BuildRequires: graphviz BuildRequires: graphviz-gd BuildRequires: xorg-x11-fonts %endif Recommends: mingw32-lib%{_name}%{libversion} %_mingw32_package_header_debug BuildArch: noarch %description Gwenhywfar is a base library used to provide OS abstraction functions for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes some often needed functions (for example, handling and parsing of configuration files, reading and writingof XML files, and interprocess communication). %package tools Summary: Multiplatform Helper Library for Other Libraries - Tools License: GPL-2.0+ and LGPL-2.1+ Group: System/Libraries Requires: mingw32-lib%{_name}%{libversion} = %{version} %description tools Gwenhywfar is a base library used to provide OS abstraction functions for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes some often needed functions (for example, for handling and parsing of configuration files, reading and writing of XML files, and interprocess communication). %package -n mingw32-lib%{_name}%{libversion}-plugins Summary: Multiplatform Helper Library for Other Libraries - Plugins License: LGPL-2.1+ Group: System/Libraries Requires: %{name} = %{version} %description -n mingw32-lib%{_name}%{libversion}-plugins Gwenhywfar is a base library used to provide OS abstraction functions for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes some often needed functions (for example, for handling and parsing of configuration files, reading and writing of XML files, and interprocess communication). %package -n mingw32-lib%{_name}%{libversion} Summary: Multiplatform Helper Library for Other Libraries License: LGPL-2.1+ Group: System/Libraries %if %{with_lang} Recommends: %{name}-lang %endif Recommends: mingw32-lib%{_name}%{libversion}-plugins = %{version} %description -n mingw32-lib%{_name}%{libversion} Gwenhywfar is a base library used to provide OS abstraction functions for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes some often needed functions (for example, for handling and parsing of configuration files, reading and writing of XML files, and interprocess communication). %package -n mingw32-%{_guiname}-cpp%{libversion} Summary: C++ interface for Gwenhywfar License: GPL-2.0+ and LGPL-2.1+ Group: System/Libraries %description -n mingw32-%{_guiname}-cpp%{libversion} This package contains the C++ GUI interface for Gwenhywfar. %if %{with_gtk2} %package -n mingw32-%{_guiname}-gtk2-%{libversion} Summary: Multiplatform Helper Library for Other Libraries -- GTK+ UI Backend License: LGPL-2.1+ Group: System/Libraries %description -n mingw32-%{_guiname}-gtk2-%{libversion} Gwenhywfar is a base library used to provide OS abstraction functions for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes some often needed functions (for example, for handling and parsing of configuration files, reading and writing of XML files, and interprocess communication). This package provides the GTK+ implementation of the generic UI toolkit. %endif %if %{with_qt4} %package -n mingw32-%{_guiname}-qt4-%{libversion} Summary: Multiplatform Helper Library for Other Libraries -- Qt4 UI Backend License: LGPL-2.1+ Group: System/Libraries %description -n mingw32-%{_guiname}-qt4-%{libversion} Gwenhywfar is a base library used to provide OS abstraction functions for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes some often needed functions (for example, for handling and parsing of configuration files, reading and writing of XML files, and interprocess communication). This package provides the Qt4 implementation of the generic UI toolkit. %endif %if %{with_qt5} %package -n mingw32-%{_guiname}-qt5-%{libversion} Summary: Multiplatform Helper Library for Other Libraries -- Qt5 UI Backend License: LGPL-2.1+ Group: System/Libraries %description -n mingw32-%{_guiname}-qt5-%{libversion} Gwenhywfar is a base library used to provide OS abstraction functions for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes some often needed functions (for example, for handling and parsing of configuration files, reading and writing of XML files, and interprocess communication). This package provides the Qt5 implementation of the generic UI toolkit. %endif %if %{with_fox} %package -n mingw32-%{_guiname}-fox16-%{libversion} Summary: FOX interface for Gwenhywfar License: GPL-2.0+ and LGPL-2.1+ Group: System/Libraries %description -n mingw32-%{_guiname}-fox16-%{libversion} This package contains the interface to the FOX toolkit for Gwenhywfar. %endif %package devel Summary: Multi-Platform Helper Library for Other Libraries #Requires: glibc-devel License: LGPL-2.1+ Group: Development/Libraries/C and C++ Requires: mingw32-lib%{_name}%{libversion} = %{version} Requires: mingw32-%{_name}-tools %if %{with_fox} Requires: mingw32-%{_guiname}-fox16-%{libversion} = %{version} %endif %if %{with_gtk2} Requires: mingw32-%{_guiname}-gtk2-%{libversion} = %{version} %endif %if %{with_qt4} Requires: mingw32-%{_guiname}-qt4-%{libversion} = %{version} %endif %if %{with_qt5} Requires: mingw32-%{_guiname}-qt5-%{libversion} = %{version} %endif Requires: mingw32-%{_guiname}-cpp%{libversion} Requires: mingw32-%{_name}-devel >= %{devversion} Conflicts: mingw32-gwenhywfar-devel %description devel Gwenhywfar is a base library used to provide OS abstraction functions for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes some often needed functions (e.g. for handling and parsing of configuration files, reading/writing of XML files, interprocess communication etc). %_mingw32_debug_package %if %{with_lang} %lang_package %endif %prep %autosetup -p1 -n gwenhywfar-%{version} %build # quick fix for $CPP being unset and configure failing to handle include dirs properly CPP=`which cpp` export CPP guis= %if %{with_qt4} guis="$guis qt4" %endif %if %{with_qt5} guis="$guis qt5" %endif %if %{with_fox} guis="$guis fox16" %endif %if %{with_gtk2} guis="$guis gkt2" %endif make -f Makefile.cvs all echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache} %_mingw32_configure\ --disable-binreloc \ --enable-release\ %if %{with_doc} --enable-full-doc\ --with-docpath=%{_mingw32_docdir}/%{_name}/api \ %endif --disable-static \ %if %{with_qt4} --with-qt4-includes=%{_mingw32_includedir} \ --with-qt4-libs=%{_mingw32_libdir} \ --with-qt4-moc=%{_bindir}/%{_mingw32_target}-moc \ --with-qt4-uic=%{_bindir}/%{_mingw32_target}-uic \ %endif %if %{with_qt5} --with-qt5-qmake=%{_bindir}/%{_mingw32_target}-qmake-qt5 \ --with-qt5-moc=%{_bindir}/%{_mingw32_target}-moc-qt5 \ --with-qt5-uic=%{_bindir}/%{_mingw32_target}-uic-qt5 \ %endif --with-guis="$guis" \ --with-plugins-cfgmgr=all \ --with-pic \ --enable-system-certs=no %__make %if %{with_doc} # fails on creating mklistdoc %__make srcdoc %endif %install %makeinstall %if %{with_doc} %makeinstall install-srcdoc pushd %{buildroot}%{_mingw32_docdir}/%{_instname}/api # we don't want another 'gwenhywfar' dir below docpath %__mv %{name}/* ./ rm -rf %{name} # remove empty files `find -maxdepth 1 -type f -empty -print0 | xargs -0 echo %__rm -f` popd %endif find %{buildroot} -type f -name "*.la" -delete -print %if %{with_lang} %_mingw32_find_lang %{_instname} || true %endif %clean rm -rf %{buildroot} %files %defattr (-,root,root) %doc AUTHORS COPYING NEWS README TODO %dir %{_mingw32_datadir}/%{_instname}/ %{_mingw32_datadir}/%{_instname}/ca-bundle.crt %{_mingw32_datadir}/%{_instname}/dialogs/ %dir %{_mingw32_libdir}/%{_instname} %dir %{_mingw32_libdir}/%{_instname}/plugins %dir %{_mingw32_libdir}/%{_instname}/plugins/%{libversion} %if %{with_doc} %exclude %{_mingw32_docdir}/%{_instname}/api %endif %files tools %defattr (-, root, root) %{_mingw32_bindir}/gct-tool.exe %{_mingw32_bindir}/gsa.exe %{_mingw32_bindir}/mklistdoc.exe %{_mingw32_bindir}/typemaker*.exe %{_mingw32_bindir}/xmlmerge.exe %{_mingw32_datadir}/%{_instname}/typemaker2/ %exclude %{_mingw32_bindir}/*.exe.debug %files -n mingw32-lib%{_name}%{libversion}-plugins %defattr (-, root, root) %dir %{_mingw32_libdir}/%{_instname}/plugins/%{libversion}/ %dir %{_mingw32_libdir}/%{_instname}/plugins/%{libversion}/*/ %{_mingw32_libdir}/%{_instname}/plugins/%{libversion}/*/*.dll %{_mingw32_libdir}/%{_instname}/plugins/%{libversion}/*/*.xml %files -n mingw32-lib%{_name}%{libversion} %defattr (-,root,root) %{_mingw32_bindir}/lib%{_instname}*.dll %files -n mingw32-%{_guiname}-cpp%{libversion} %defattr (-,root,root) %{_mingw32_bindir}/libgwengui-cpp*.dll %if %{with_gtk2} %files -n mingw32-%{_guiname}-gtk2-%{libversion} %defattr (-, root, root) %{_mingw32_bindir}/libgwengui-gtk2*.dll %endif %if %{with_qt4} %files -n mingw32-%{_guiname}-qt4-%{libversion} %defattr (-, root, root) %{_mingw32_bindir}/libgwengui-qt4*.dll %endif %if %{with_qt5} %files -n mingw32-%{_guiname}-qt5-%{libversion} %defattr (-, root, root) %{_mingw32_bindir}/libgwengui-qt5*.dll %endif %if %{with_fox} %files -n mingw32-%{_guiname}-fox16-%{libversion} %defattr (-,root,root) %{_mingw32_bindir}/libgwengui-fox16*.dll %endif %files devel %defattr (-, root, root) %{_mingw32_bindir}/%{_instname}-config* %dir %{_mingw32_datadir}/aclocal %{_mingw32_datadir}/aclocal/%{_instname}.m4 %if %{with_doc} %doc %{_mingw32_docdir}/%{_instname}/api/ %endif %{_mingw32_includedir}/%{_name}/ %{_mingw32_libdir}/*.dll.a %{_mingw32_libdir}/%{_instname}/plugins/%{libversion}/*/*.dll.a %{_mingw32_libdir}/pkgconfig/%{_instname}.pc %if %{with_gtk2} %{_mingw32_libdir}/pkgconfig/gwengui-gtk2.pc %endif %if %{with_qt4} %{_mingw32_libdir}/pkgconfig/gwengui-qt4.pc %endif %if %{with_qt5} %{_mingw32_libdir}/pkgconfig/gwengui-qt5.pc %endif %if %{with_fox} %{_mingw32_libdir}/pkgconfig/gwengui-fox16.pc %endif %dir %{_mingw32_libdir}/cmake %{_mingw32_libdir}/cmake/%{_instname}-%{devversion} %{_mingw32_libdir}/cmake/gwengui-cpp-%{devversion} %if %{with_qt4} %{_mingw32_libdir}/cmake/gwengui-qt4-%{devversion} %endif %if %{with_qt5} %{_mingw32_libdir}/cmake/gwengui-qt5-%{devversion} %endif %if %{with_lang} %files lang -f %{_instname}.lang %endif %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