Accepting request 697221 from Office
- Fixed typo in changelog file - Prepare the KDE4/Qt4 removal from factory. - Run spec-cleaner - Update to version 4.99.8 (beta) required by libchipcard-5.1.2: * Generalization in the generic TLV to GWEN DB parser. * Speedup of GWEN_Date_dup (about factor 16). * Correctly read a UTF-8-encoded MT940 file. * Updated Gwengui-Gtk3. * API improvements. * Other fixes. - Update to version 4.20.1: + bgo#794707: Aqbanking combo boxes missing selection. + Major speedup of GWEN_IdList64_AddId(). + Fix all Gtk3 deprecation warnings. - Update to version 4.20.0: + Add a Gtk3 frontend. - Add: + pkgconfig(gtk+-3.0) BuildRequires and libgwengui-gtk3 subpackage following upstream changes. + Conditionalized autoconf, automake and libtool BuildRequires along with autoreconf call to ease the switching between tarballs with or without configure script. + Missing ldconfig post/postun scriptlets for libgwengui-qt5. - Drop standard BuilRoot tag definition: RPM already handles this itself. - Delete redundant deprecated clean section. - Switch gnutls and gtk2 devel packages BuildRequires with their respectives pkgconfig modules counterparts. - Re-enable Qt4 front-end, kmymoney still needs it for its kbanking plugin - BuildIgnore libopenssl-1_0_0-devel to avoid openssl conflict on Tumbleweed - Update to 4.18.0 + show SSL certificate hashes as MD5, SHA1, and SHA512 - Conditionalize usage of qt4 libs - Enable Qt5 front-end - Update to 4.17.0 + minor bugfixes - Update to 4.16.0 + Fix issues handling certificates - quick fix for $CPP being unset and configure failing to handle include dirs properly - Update to 4.15.5beta + Fix connections to buggy SSL servers - Update to 4.15.3 + improve and simplify the TLS code + fix an error in the message parser (MsgEngine) that caused problems with some special HBCI messages + new (experimental) QT5 front-end (not enabled yet here) - Update to 4.15.2beta + Use new code for SSL connections to enable build with current GnuTLS versions. This obsoletes patch gwenhywfar-gnutls30.patch - Update to 4.14.0: + Fix segfault on windows when using HBCI with keyfile. + Major speedup of GWEN_Directory_GetMatchingFilesRecursively(). + Re-work Compiler Symbol Visibility Check. + Drop unused autoconf variable gwen_enable_export. + Fix symbol visibilty check for GCC 5.x. + Revert "Turn compiler warning for implicit function declaration into error." + Revert "Disable timestamps in HTML pages generated by Doxygen". + Disable timestamps in HTML pages generated by Doxygen. + typemaker2: Added support for _free-hooks, fixed many compiler warnings. + API ADDITION: Added 2 more virtual functions to GWEN_MULTICACHE. + Added functions GWEN_Param_List_Get/SetCurrentValueAsInt/Double. - Add gwenhywfar-gnutls30.patch: Fix build with gnutls30, patch taken from Arch linux. - Update to version 4.13.1: + Add function declaration that was missing in header, as discovered by the additional compiler option. + Turn compiler warning for implicit function declaration into error. + Fix function name for systems without <langinfo.h> but with <localcharset.h>. - Update to version 4.13.0 + Some bugfixes, stable version - Update to version 4.12.0beta + Fixes a bug in calculating quarter's beginning and end - Update to version 4.11.0beta + Bugfixes by Elias Oltmanns - Update to version 4.10.0beta + Add functions for individual plugin paths for other libraries - Create Fox16 GUI - Move documentation to separate package to enable multi-version coexistence of the library - Update to version 4.9.0beta: + adds new code for cipher selection with SSL connections (still some problems with the Netbank, please report back) + Netbank works setting the GWEN_TLS_CIPHER_PRIORITIES environment variable to "NORMAL:-AES-256-CBC" - Update to version 4.8.0beta: + new functions to work with dates (module GWEN_DATE, e.g. GWEN_Date_GetLastHalfYearStart()) + fix some errors in the layout of the FOX 1.6 GUI module. + some improvements in typemaker2. - Update to version 4.7.0beta: + contains improvements if the TypeMaker2 tool + fixes an error linking libgpg-error.so + adds some functions to the GWEN_XML and GWEN_DATE modules used by the new AqBanking version 5.0.31beta + Info: this is still beta because the MULTICACHE module is still work in progress - Update to version 4.6.0beta: + adds a new module for cache handling and some widely used functionality + major (internal) improvements to typemaker2 + complete German translation (thanks to Christian) - Update to version 4.5.0beta: + adds some small changes for SEPA transactions needed by aqbanking - update license to new format - Change lang package Requires to Recommends since it is not mandatory at runtime. - Update to version 4.3.3: + do not use the deprecated libgcrypt interface for RSA keys anymore (allows compilation with newer libgcrypt versions) - Update to version 4.3.2: + fixes network problems on Windows - included %{_datadir}/aclocal in the devel package - removed gwenhywfar-gnutls-3.0.3.patch (fixed upstream in 4.3.1) - Update to version 4.3.1: + this version is needed for AqBanking's new support for the optical chipTAN method + some improvements to the typemaker2 tool - Add gwenhywfar-gnutls-3.0.3.patch: fix build with gnutls 3.0.3. - Update to version 4.3.0: + added a new method for converting charsets + better error handling in the build system - Add GPL-2.0+ tag to the main package and the tools subpackage, as this is the correct license for the tools and related sources. See also bnc#710065. - Update to version 4.2.1: + Make QLabel in GUI wrap words. + Relaxed http code. - Update to version 4.2.0: + Marked argument list of GWEN_StringList_new() as void. + Added keyword "void" to functions with empty argument list. + Let typemaker tools use "void" for empty argument lists in constructors. + Added field "CustomerId" to GWEN_Crypt_Token_Context. + Added function GWEN_DB_GetParentGroup(). + Added line for "hasKeyNumber" flag. + Show customer if available. + Added some tm2 files to ignore list. + typemaker2: added type uint64_t. + Improved and fixed GWEN_TLV, added functions GWEN_TLV_ReadHeader() and GWEN_TLV_WriteHeader(). + Started working on a simple archiver. + Fixed a few bugs in new TLV code. + Added tool "gsa" ("Gwen's simple archiver"). + Improved HTTP handling: - added function GWEN_SyncIo_Http_RecvBodyToSio(). - added function GWEN_HttpSession_RecvPacketToFile(). + Added function GWEN_Directory_GetAbsoluteFolderPath(). + Added convenience function GWEN_Sar_UnpackArchive(). + Added code and commands to sign a sar archive. + Improved progress handling in network code. + Fixed GWEN_MDigest__HashFileTree(). + Added missing include. + Various bug fixes and code cleanup. - Update Url as Gwenhywfar is now being hosted at http://www.aqbanking.de/. - Update spec file License field from LGPLv2.1+ to LGPL-2.1+ to conform with spdx.org identifier. - Minor reformatting in spec file. - Remove service usage, following the new consensus on Factory packaging. - Update to version 4.1.0: + new code for sorting any GWEN_LIST + some bug fixes - Update to version 4.0.9: + fixes a bug in the Qt4 frontend + fixes a bug in the LIST1 module + fixes xml file generation using the XMLDB module - Update to version 4.0.7: + fixes problems with smsTAN/mTAN + keep the focus chain intact in QT4 GUI - Update to version 4.0.5: + fixes a bug with chunked HTTP - Update to version 4.0.4: + fixes a bug in the GTK2 front-end + fixes a bug in the network code on MaxOSX - Update to version 4.0.3: + improved error messages + several bug fixes - Update to version 4.0.2: + Fix GTK+ password entry. + Build fixes. - Split libgwengui_gtk2-0 and libgwengui_qt4-0 subpackages, as we don't want libgwenhywfar60 to depend on both GTK+ and Qt. - Add libgwengui-gtk2-0 and libgwengui-qt4-0 Requires to devel package. - Update to version 4.0.1: + Fix gtk2 building for Windows + Improved HTTP handling. - Update to version 4.0.0: + Gwenhywfar4 features a new XML-based platform and toolkit. + Independent dialog framework which is heavily used by AqBanking5. + Provide generic UI implementations for GTK-2, Qt-4, and FOX-1.6. + The network code has been rewritten and thereby changed from asynchronous to synchronous access to fix some strange timeout problems. + Many bugs and problems have been fixed. - Add gtk2-devel and libqt4-devel BuildRequires. - Follow the so bump of the library, change the library package name to from libgwenhywfar47 to libgwenhywfar60 - Remove Provides/Obsoletes of gwenhywfar$sover from libgwenhywfar$sover-plugins: it was there for upgrades of the old package. - Pass --with-qt4-libs=%{_libdir} to configure. - Use _smp_mflags. - Update to version 3.11.3: + GWEN_DB: Escape and unescape group names upon read/write, respectively. + Show a more informative erro message when a false chipcard has been inserted. - Changes from version 3.11.2: + Add unittest for GWEN_Url_fromString that checks those cases that work. + Do not abort on unknown port number. + Improve error messages. + Check for NULL token name before crashing in FSLock_new so that a more clear error message is printed instead. + Decrease debug level of non-critical info message. + Improved handling of file/directory locks on POSIX systems. + Windows fixes. + Build system fixes. - Remove unneeded libxml2-devel BuildRequires. - Remove autoreconf call since we have no patch. - Rework the install section to be more readable. - Rename gwenhywfar47 to libgwenhywfar47-plugins, since it's a more appropriate name. Add Provides/Obsoletes for the old package. - Make libgwenhywfar47 recommends the libgwenhywfar47-plugins package. Also remove any Requires/Recommends from the main package to libgwenhywfar47-plugins or gwenhywfar47 since libgwenhywfar47 should be enough. - Rename the main package to gwenhywfar-tools and move some tools from devel subpackage there. - Split a lang package, that is required by the library package, and make the library package now provide gwenhywfar to make the lang package installable. - Update to version 3.11.1: + compile on windows - Changes from version 3.11.0: + fixes some minor bugs + extended the HTTP session module to allow testing connections (used by the AqBanking-EBICS module to download new certificates) + special support for statistical modules has been removed again to simplify the build system - Changes from version 3.10.1: + fixes a bug in GWEN_Url_fromString() and supports username and password with HTTP proxies (tested with squid2) + fixed a problem on MacOSX - Changes from version 3.10.0 + adds new support for RDH-10 + includes the tool typemaker2, an improved version of the old typemaker which includes support for AqFinance + added the data type GWEN_DATE which is now used by AqFinance instead of GWEN_TIME when only a date is required instead of a full timestamp - fix dependencies (was using >= instead of =) - Typo fix in dependencies. - Split package to allow parrallel installation of more versions. - update to version 3.8.3 * lots of bugs fixed, lots of new features - removed patch0 (tests/gwenhywfar.c). not needed anymore - fixing open call - update to version 2.6.2 * Release is only interesting for windows or NetBSD users - disable static libraries - remove "la" files - remove unnedded dependency on libopenssl-devel in the -devel package - Updated to version 2.6.1: * Minor bugs have been fixed. * Cross-compiling is now supported. * Some missing list functions have been added. * Decreases the verbosity. * Makes gwenhywfar completely relocatable using binreloc. - Split package according to shared library packaging policy. - Build with libxml2. - Build and create api docs. - Updated to version 2.4.1: * bug fixes * removed debugging messages * clean up the API - update to version 2.4.0 - This release adds GWEN_DBIO plugin which writes GWEN_DB's as XML files - Update to version 2.3.0: * Adds a new module for fast lookup of objects via integer IDs. * Adds a storage module to be used by further projects. - Updated to version 2.2.0. - converted neededforbuild to BuildRequires - Updated to version 1.19.2. - New SuSE package, version 1.18.0. Based on spec file from Rajesh Singh <rajeshsingh.geo@yahoo.com>. OBS-URL: https://build.opensuse.org/request/show/697221 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gwenhywfar?expand=0&rev=64
This commit is contained in:
commit
f13dbdc302
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:efc4b9dcb51981e7c56e22ac6054ace396c3387667b134128d4e9fcad50544b8
|
||||
size 1607206
|
3
gwenhywfar-4.99.8beta.tar.gz
Normal file
3
gwenhywfar-4.99.8beta.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f8de79f4d63d15737481bc27116a872b031be10d889b00e7d3bf7483db47e35e
|
||||
size 1625085
|
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 23 15:44:53 UTC 2019 - Michele Bologna <michele.bologna@suse.com>
|
||||
|
||||
- Fixed typo in changelog file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 17:48:25 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Prepare the KDE4/Qt4 removal from factory.
|
||||
- Run spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 30 21:34:35 CET 2019 - sbrabec@suse.com
|
||||
|
||||
- Update to version 4.99.8 (beta) required by libchipcard-5.1.2:
|
||||
* Generalization in the generic TLV to GWEN DB parser.
|
||||
* Speedup of GWEN_Date_dup (about factor 16).
|
||||
* Correctly read a UTF-8-encoded MT940 file.
|
||||
* Updated Gwengui-Gtk3.
|
||||
* API improvements.
|
||||
* Other fixes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 15 15:36:12 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
157
gwenhywfar.spec
157
gwenhywfar.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gwenhywfar
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@ -12,26 +12,24 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%bcond_without qt4
|
||||
|
||||
%define libversion 78
|
||||
%define devversion 5
|
||||
%define devrelease 4.99
|
||||
# Beta does not mean "before release" but a release that is considered as beta:
|
||||
%define _version %{version}beta
|
||||
%bcond_with configure
|
||||
%define libname libgwenhywfar60
|
||||
%define devversion 4.20
|
||||
Name: gwenhywfar
|
||||
Version: 4.20.1
|
||||
Version: 4.99.8
|
||||
Release: 0
|
||||
Summary: Multiplatform helper library for other libraries
|
||||
License: GPL-2.0+ and LGPL-2.1+
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
Url: http://www.aqbanking.de/
|
||||
Source: https://github.com/aqbanking/gwenhywfar/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
%if !%{with configure}
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
%endif
|
||||
URL: https://www.aquamaniac.de/rdm/projects/gwenhywfar
|
||||
Source: https://github.com/aqbanking/gwenhywfar/archive/%{_version}.tar.gz#/%{name}-%{_version}.tar.gz
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
# For doc graphs
|
||||
@ -39,12 +37,8 @@ BuildRequires: graphviz
|
||||
BuildRequires: graphviz-gd
|
||||
BuildRequires: libgcrypt-devel >= 1.2.0
|
||||
BuildRequires: libopenssl-devel
|
||||
%if %{with qt4}
|
||||
%if 0%{?suse_version} >= 1500
|
||||
#!BuildIgnore: libopenssl-1_0_0-devel
|
||||
%endif
|
||||
BuildRequires: libqt4-devel
|
||||
%endif
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xorg-x11-fonts
|
||||
BuildRequires: cmake(Qt5Concurrent)
|
||||
BuildRequires: cmake(Qt5Core)
|
||||
BuildRequires: cmake(Qt5DBus)
|
||||
@ -56,16 +50,20 @@ BuildRequires: cmake(Qt5Sql)
|
||||
BuildRequires: cmake(Qt5Test)
|
||||
BuildRequires: cmake(Qt5Widgets)
|
||||
BuildRequires: cmake(Qt5Xml)
|
||||
BuildRequires: pkgconfig(gnutls) >= 2.9.8
|
||||
BuildRequires: pkgconfig(gtk+-2.0) >= 2.17.5
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.14.0
|
||||
Recommends: libgwenhywfar%{libversion}
|
||||
%if !%{with configure}
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
%endif
|
||||
%if 0%{?fedora} == 15
|
||||
BuildRequires: fox-devel >= 1.6
|
||||
%else
|
||||
BuildRequires: fox16-devel
|
||||
%endif
|
||||
BuildRequires: xorg-x11-fonts
|
||||
BuildRequires: pkgconfig(gnutls) >= 2.9.8
|
||||
BuildRequires: pkgconfig(gtk+-2.0) >= 2.17.5
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.14.0
|
||||
Recommends: %{libname}
|
||||
|
||||
%description
|
||||
Gwenhywfar is a base library used to provide OS abstraction functions
|
||||
@ -76,9 +74,9 @@ communication).
|
||||
|
||||
%package tools
|
||||
Summary: Multiplatform Helper Library for Other Libraries - Tools
|
||||
License: GPL-2.0+ and LGPL-2.1+
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
Requires: %{libname} = %{version}
|
||||
Requires: libgwenhywfar%{libversion} = %{version}
|
||||
|
||||
%description tools
|
||||
Gwenhywfar is a base library used to provide OS abstraction functions
|
||||
@ -87,27 +85,27 @@ some often needed functions (for example, for handling and parsing of
|
||||
configuration files, reading and writing of XML files, and interprocess
|
||||
communication).
|
||||
|
||||
%package -n %{libname}-plugins
|
||||
%package -n libgwenhywfar%{libversion}-plugins
|
||||
Summary: Multiplatform Helper Library for Other Libraries - Plugins
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description -n %{libname}-plugins
|
||||
%description -n libgwenhywfar%{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 %{libname}
|
||||
%package -n libgwenhywfar%{libversion}
|
||||
Summary: Multiplatform Helper Library for Other Libraries
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
Recommends: %{name}-lang
|
||||
Recommends: %{libname}-plugins = %{version}
|
||||
Recommends: libgwenhywfar%{libversion}-plugins = %{version}
|
||||
|
||||
%description -n %{libname}
|
||||
%description -n libgwenhywfar%{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
|
||||
@ -116,7 +114,7 @@ communication).
|
||||
|
||||
%package -n libgwengui-cpp0
|
||||
Summary: C++ interface for Gwenhywfar
|
||||
License: GPL-2.0+ and LGPL-2.1+
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libgwengui-cpp0
|
||||
@ -124,7 +122,7 @@ This package contains the C++ GUI interface for Gwenhywfar.
|
||||
|
||||
%package -n libgwengui-gtk2-0
|
||||
Summary: Multiplatform Helper Library for Other Libraries -- GTK+ 2 UI Backend
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libgwengui-gtk2-0
|
||||
@ -138,7 +136,7 @@ This package provides the GTK+ 2 implementation of the generic UI toolkit.
|
||||
|
||||
%package -n libgwengui-gtk3-0
|
||||
Summary: Multiplatform Helper Library for Other Libraries -- GTK+ 3 UI Backend
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libgwengui-gtk3-0
|
||||
@ -150,24 +148,12 @@ communication).
|
||||
|
||||
This package provides the GTK+ 3 implementation of the generic UI toolkit.
|
||||
|
||||
%package -n libgwengui-qt4-0
|
||||
Summary: Multiplatform Helper Library for Other Libraries -- Qt4 UI Backend
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libgwengui-qt4-0
|
||||
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.
|
||||
|
||||
%package -n libgwengui-qt5-0
|
||||
Summary: Multiplatform Helper Library for Other Libraries -- Qt5 UI Backend
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
Provides: libgwengui-qt4-0 = %{version}
|
||||
Obsoletes: libgwengui-qt4-0 < %{version}
|
||||
|
||||
%description -n libgwengui-qt5-0
|
||||
Gwenhywfar is a base library used to provide OS abstraction functions
|
||||
@ -180,7 +166,7 @@ This package provides the Qt5 implementation of the generic UI toolkit.
|
||||
|
||||
%package -n libgwengui-fox16-0
|
||||
Summary: FOX interface for Gwenhywfar
|
||||
License: GPL-2.0+ and LGPL-2.1+
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libgwengui-fox16-0
|
||||
@ -189,17 +175,14 @@ for Gwenhywfar.
|
||||
|
||||
%package devel
|
||||
Summary: Multi-Platform Helper Library for Other Libraries
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: glibc-devel
|
||||
Requires: %{libname} = %{version}
|
||||
Requires: libgwengui-fox16-0 = %{version}
|
||||
Requires: libgwengui-gtk2-0 = %{version}
|
||||
Requires: libgwengui-gtk3-0 = %{version}
|
||||
%if %{with qt4}
|
||||
Requires: libgwengui-qt4-0 = %{version}
|
||||
%endif
|
||||
Requires: libgwengui-qt5-0 = %{version}
|
||||
Requires: libgwenhywfar%{libversion} = %{version}
|
||||
|
||||
%description devel
|
||||
Gwenhywfar is a base library used to provide OS abstraction functions
|
||||
@ -209,8 +192,9 @@ configuration files, reading/writing of XML files, interprocess
|
||||
communication etc).
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n %{name}-%{_version}
|
||||
|
||||
%build
|
||||
export PATH=%{_libqt5_bindir}:$PATH
|
||||
@ -225,63 +209,49 @@ autoreconf -ifv
|
||||
--enable-full-doc\
|
||||
--with-docpath=%{_docdir}/%{name}/api \
|
||||
--disable-static \
|
||||
%if %{with qt4}
|
||||
--with-qt4-libs=%{_libdir} \
|
||||
--with-guis="fox16 qt4 qt5 gtk2 gtk3" \
|
||||
%else
|
||||
--with-guis="fox16 qt5 gtk2 gtk3" \
|
||||
%endif
|
||||
--with-plugins-cfgmgr=all \
|
||||
--with-pic
|
||||
%__make %{?smp_mflags}
|
||||
%__make srcdoc %{?smp_mflags}
|
||||
%make_jobs
|
||||
make %{?_smp_mflags} srcdoc
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%make_install install-srcdoc
|
||||
pushd %{buildroot}%{_docdir}/%{name}/api
|
||||
# we don't want another 'gwenhywfar' dir below docpath
|
||||
%__mv %{name}/* ./
|
||||
mv %{name}/* ./
|
||||
rm -rf %{name}
|
||||
# remove empty files
|
||||
`find -maxdepth 1 -type f -empty -print0 | xargs -0 echo %__rm -f`
|
||||
`find -maxdepth 1 -type f -empty -print0 | xargs -0 echo rm -f`
|
||||
popd
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%find_lang %{name}
|
||||
%fdupes %{buildroot}%{_datadir}/%{name}/apidoc
|
||||
%fdupes %{buildroot}%{_libdir}/cmake
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%post -n libgwenhywfar%{libversion} -p /sbin/ldconfig
|
||||
%postun -n libgwenhywfar%{libversion} -p /sbin/ldconfig
|
||||
%post -n libgwengui-cpp0 -p /sbin/ldconfig
|
||||
%postun -n libgwengui-cpp0 -p /sbin/ldconfig
|
||||
|
||||
%post -n libgwengui-gtk2-0 -p /sbin/ldconfig
|
||||
%postun -n libgwengui-gtk2-0 -p /sbin/ldconfig
|
||||
|
||||
%post -n libgwengui-gtk3-0 -p /sbin/ldconfig
|
||||
%postun -n libgwengui-gtk3-0 -p /sbin/ldconfig
|
||||
|
||||
%if %{with qt4}
|
||||
%post -n libgwengui-qt4-0 -p /sbin/ldconfig
|
||||
%postun -n libgwengui-qt4-0 -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%post -n libgwengui-qt5-0 -p /sbin/ldconfig
|
||||
%postun -n libgwengui-qt5-0 -p /sbin/ldconfig
|
||||
|
||||
%post -n libgwengui-fox16-0 -p /sbin/ldconfig
|
||||
%postun -n libgwengui-fox16-0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc AUTHORS COPYING NEWS README TODO
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README TODO
|
||||
%dir %{_datadir}/%{name}/
|
||||
%{_datadir}/%{name}/ca-bundle.crt
|
||||
%{_datadir}/%{name}/dialogs/
|
||||
%dir %{_libdir}/%{name}
|
||||
%dir %{_libdir}/%{name}/plugins
|
||||
%dir %{_libdir}/%{name}/plugins/60
|
||||
%dir %{_libdir}/%{name}/plugins/%{libversion}
|
||||
%exclude %{_docdir}/%{name}/api
|
||||
|
||||
%files tools
|
||||
@ -293,10 +263,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_bindir}/xmlmerge
|
||||
%{_datadir}/%{name}/typemaker2/
|
||||
|
||||
%files -n %{libname}-plugins
|
||||
%{_libdir}/%{name}/plugins/60/*
|
||||
%files -n libgwenhywfar%{libversion}-plugins
|
||||
%{_libdir}/%{name}/plugins/%{libversion}/*
|
||||
|
||||
%files -n %{libname}
|
||||
%files -n libgwenhywfar%{libversion}
|
||||
%{_libdir}/lib%{name}.so.*
|
||||
|
||||
%files -n libgwengui-cpp0
|
||||
@ -308,11 +278,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%files -n libgwengui-gtk3-0
|
||||
%{_libdir}/libgwengui-gtk3.so.*
|
||||
|
||||
%if %{with qt4}
|
||||
%files -n libgwengui-qt4-0
|
||||
%{_libdir}/libgwengui-qt4.so.*
|
||||
%endif
|
||||
|
||||
%files -n libgwengui-qt5-0
|
||||
%{_libdir}/libgwengui-qt5.so.*
|
||||
|
||||
@ -324,21 +289,17 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%dir %{_datadir}/aclocal
|
||||
%{_datadir}/aclocal/%{name}.m4
|
||||
%doc %{_docdir}/%{name}/api/
|
||||
%{_includedir}/%{name}4/
|
||||
%{_includedir}/%{name}%{devversion}/
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_libdir}/pkgconfig/gwengui-gtk2.pc
|
||||
%{_libdir}/pkgconfig/gwengui-gtk3.pc
|
||||
%if %{with qt4}
|
||||
%{_libdir}/pkgconfig/gwengui-qt4.pc
|
||||
%{_libdir}/cmake/gwengui-qt4-%{devversion}
|
||||
%endif
|
||||
%{_libdir}/pkgconfig/gwengui-qt5.pc
|
||||
%{_libdir}/pkgconfig/gwengui-fox16.pc
|
||||
%dir %{_libdir}/cmake
|
||||
%{_libdir}/cmake/%{name}-%{devversion}
|
||||
%{_libdir}/cmake/gwengui-cpp-%{devversion}
|
||||
%{_libdir}/cmake/gwengui-qt5-%{devversion}
|
||||
%{_libdir}/cmake/%{name}-%{devrelease}
|
||||
%{_libdir}/cmake/gwengui-cpp-%{devrelease}
|
||||
%{_libdir}/cmake/gwengui-qt5-%{devrelease}
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user