SHA256
1
0
forked from pool/gwenhywfar

Accepting request 222661 from X11:common:Factory

Update to 4.10.0beta and integration of changes from home:j-engel:banking (forwarded request 221541 from j-engel)

OBS-URL: https://build.opensuse.org/request/show/222661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gwenhywfar?expand=0&rev=47
This commit is contained in:
Stephan Kulow 2014-02-18 13:44:31 +00:00 committed by Git OBS Bridge
parent b2e53e562a
commit 9aa916d685
4 changed files with 93 additions and 41 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eed4bea07549ddecb0ded107b027385511c6304fcf78412804a4bc6184160fc6
size 2438778

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5e3c19ac5d8e73cbb1a3689cc70eaf5178ff15a37501e62a627aed2a4186f8e
size 2437922

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Feb 9 19:55:20 UTC 2014 - jcnengel@gmail.com
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 6 21:31:06 UTC 2014 - nico.kruber@gmail.com Mon Jan 6 21:31:06 UTC 2014 - nico.kruber@gmail.com

View File

@ -16,26 +16,32 @@
# #
%define libversion 60
Name: gwenhywfar Name: gwenhywfar
Version: 4.9.0beta Version: 4.10.0beta
Release: 0 Release: 0
Summary: Multiplatform Helper Library for Other Libraries Summary: Multiplatform helper library for other libraries
License: GPL-2.0+ and LGPL-2.1+ License: GPL-2.0+ and LGPL-2.1+
Group: System/Libraries Group: System/Libraries
Url: http://www.aqbanking.de/ Url: http://www.aqbanking.de/
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
#Source: http://www.aquamaniac.de/sites/download/download.php?package=01&release=72&file=01&dummy=gwenhywfar-4.9.0beta.tar.gz
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gnutls-devel BuildRequires: gnutls-devel >= 3.0
BuildRequires: gtk2-devel BuildRequires: gtk2-devel >= 1.4
BuildRequires: libgcrypt-devel BuildRequires: libgcrypt-devel >= 1.2.0
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libqt4-devel BuildRequires: libqt4-devel
%if 0%{?fedora} == 15
BuildRequires: fox-devel >= 1.6
%else
BuildRequires: fox16-devel
%endif
# For doc graphs # For doc graphs
BuildRequires: graphviz BuildRequires: graphviz
BuildRequires: graphviz-gd BuildRequires: graphviz-gd
BuildRequires: xorg-x11-fonts BuildRequires: xorg-x11-fonts
Recommends: lib%{name}%{libversion}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -58,35 +64,41 @@ some often needed functions (for example, for handling and parsing of
configuration files, reading and writing of XML files, and interprocess configuration files, reading and writing of XML files, and interprocess
communication). communication).
%package -n libgwenhywfar60-plugins %package -n lib%{name}%{libversion}-plugins
Summary: Multiplatform Helper Library for Other Libraries - Plugins Summary: Multiplatform Helper Library for Other Libraries - Plugins
License: LGPL-2.1+ License: LGPL-2.1+
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description -n libgwenhywfar60-plugins %description -n lib%{name}%{libversion}-plugins
Gwenhywfar is a base library used to provide OS abstraction functions Gwenhywfar is a base library used to provide OS abstraction functions
for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes
some often needed functions (for example, for handling and parsing of some often needed functions (for example, for handling and parsing of
configuration files, reading and writing of XML files, and interprocess configuration files, reading and writing of XML files, and interprocess
communication). communication).
%package -n libgwenhywfar60 %package -n lib%{name}%{libversion}
Summary: Multiplatform Helper Library for Other Libraries Summary: Multiplatform Helper Library for Other Libraries
License: LGPL-2.1+ License: LGPL-2.1+
Group: System/Libraries Group: System/Libraries
Recommends: %{name}-lang Recommends: %{name}-lang
# Needed to make lang package installable Recommends: lib%{name}%{libversion}-plugins = %{version}
Provides: %{name} = %{version}
Recommends: libgwenhywfar60-plugins = %{version}
%description -n libgwenhywfar60 %description -n lib%{name}%{libversion}
Gwenhywfar is a base library used to provide OS abstraction functions Gwenhywfar is a base library used to provide OS abstraction functions
for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes
some often needed functions (for example, for handling and parsing of some often needed functions (for example, for handling and parsing of
configuration files, reading and writing of XML files, and interprocess configuration files, reading and writing of XML files, and interprocess
communication). communication).
%package -n libgwengui-cpp0
Summary: C++ interface for Gwenhywfar
License: GPL-2.0+ and LGPL-2.1+
Group: System/Libraries
%description -n libgwengui-cpp0
This package contains the C++ GUI interface for Gwenhywfar.
%package -n libgwengui-gtk2-0 %package -n libgwengui-gtk2-0
Summary: Multiplatform Helper Library for Other Libraries -- GTK+ UI Backend Summary: Multiplatform Helper Library for Other Libraries -- GTK+ UI Backend
License: LGPL-2.1+ License: LGPL-2.1+
@ -115,14 +127,24 @@ communication).
This package provides the Qt implementation of the generic UI toolkit. This package provides the Qt implementation of the generic UI toolkit.
%package -n libgwengui-fox16-0
Summary: FOX interface for Gwenhywfar
License: GPL-2.0+ and LGPL-2.1+
Group: System/Libraries
%description -n libgwengui-fox16-0
This package contains the interface to the FOX toolkit
for Gwenhywfar.
%package devel %package devel
Summary: Multi-Platform Helper Library for Other Libraries Summary: Multi-Platform Helper Library for Other Libraries
License: LGPL-2.1+ License: LGPL-2.1+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: glibc-devel Requires: glibc-devel
Requires: lib%{name}%{libversion} = %{version}
Requires: libgwengui-fox16-0 = %{version}
Requires: libgwengui-gtk2-0 = %{version} Requires: libgwengui-gtk2-0 = %{version}
Requires: libgwengui-qt4-0 = %{version} Requires: libgwengui-qt4-0 = %{version}
Requires: libgwenhywfar60 = %{version}
%description devel %description devel
Gwenhywfar is a base library used to provide OS abstraction functions Gwenhywfar is a base library used to provide OS abstraction functions
@ -139,10 +161,11 @@ communication etc).
%configure\ %configure\
--enable-release\ --enable-release\
--enable-full-doc\ --enable-full-doc\
--with-docpath=%{_datadir}/%{name}/apidoc\ --with-docpath=%{_docdir}/%{name}/api \
--with-openssl-libs=%{_libdir} \
--with-qt4-libs=%{_libdir} \
--disable-static \ --disable-static \
--with-qt4-libs=%{_libdir} \
--with-guis="fox16 qt4 gtk2" \
--with-plugins-cfgmgr=all \
--with-pic --with-pic
%__make %{?smp_mflags} %__make %{?smp_mflags}
%__make srcdoc %{?smp_mflags} %__make srcdoc %{?smp_mflags}
@ -150,7 +173,7 @@ communication etc).
%install %install
%makeinstall %makeinstall
%makeinstall install-srcdoc %makeinstall install-srcdoc
pushd %{buildroot}%{_datadir}/%{name}/apidoc pushd %{buildroot}%{_docdir}/%{name}/api
# we don't want another 'gwenhywfar' dir below docpath # we don't want another 'gwenhywfar' dir below docpath
%__mv %{name}/* ./ %__mv %{name}/* ./
rm -rf %{name} rm -rf %{name}
@ -164,9 +187,13 @@ find %{buildroot} -type f -name "*.la" -delete -print
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
%post -n libgwenhywfar60 -p /sbin/ldconfig %post -n lib%{name}%{libversion} -p /sbin/ldconfig
%postun -n libgwenhywfar60 -p /sbin/ldconfig %postun -n lib%{name}%{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 %post -n libgwengui-gtk2-0 -p /sbin/ldconfig
@ -176,6 +203,21 @@ rm -rf %{buildroot}
%postun -n libgwengui-qt4-0 -p /sbin/ldconfig %postun -n libgwengui-qt4-0 -p /sbin/ldconfig
%post -n libgwengui-fox16-0 -p /sbin/ldconfig
%postun -n libgwengui-fox16-0 -p /sbin/ldconfig
%files
%defattr (-,root,root)
%doc AUTHORS COPYING ChangeLog 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/%{libversion}
%exclude %{_docdir}/%{name}/api
%files tools %files tools
%defattr (-, root, root) %defattr (-, root, root)
%{_bindir}/gct-tool %{_bindir}/gct-tool
@ -184,23 +226,19 @@ rm -rf %{buildroot}
%{_bindir}/typemaker %{_bindir}/typemaker
%{_bindir}/typemaker2 %{_bindir}/typemaker2
%{_bindir}/xmlmerge %{_bindir}/xmlmerge
%{_datadir}/gwenhywfar/typemaker2/ %{_datadir}/%{name}/typemaker2/
%files -n libgwenhywfar60-plugins %files -n lib%{name}%{libversion}-plugins
%defattr (-, root, root) %defattr (-, root, root)
%{_libdir}/gwenhywfar/plugins/60/* %{_libdir}/%{name}/plugins/%{libversion}/*
%files -n libgwenhywfar60 %files -n lib%{name}%{libversion}
%defattr (-,root,root)
%{_libdir}/lib%{name}.so.*
%files -n libgwengui-cpp0
%defattr (-,root,root) %defattr (-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_libdir}/libgwenhywfar.so.*
%{_libdir}/libgwengui-cpp.so.* %{_libdir}/libgwengui-cpp.so.*
%dir %{_datadir}/gwenhywfar/
%{_datadir}/gwenhywfar/ca-bundle.crt
%{_datadir}/gwenhywfar/dialogs/
%dir %{_libdir}/gwenhywfar
%dir %{_libdir}/gwenhywfar/plugins
%dir %{_libdir}/gwenhywfar/plugins/60
%files -n libgwengui-gtk2-0 %files -n libgwengui-gtk2-0
%defattr (-, root, root) %defattr (-, root, root)
@ -210,17 +248,22 @@ rm -rf %{buildroot}
%defattr (-, root, root) %defattr (-, root, root)
%{_libdir}/libgwengui-qt4.so.* %{_libdir}/libgwengui-qt4.so.*
%files -n libgwengui-fox16-0
%defattr (-,root,root)
%{_libdir}/libgwengui-fox16.so.*
%files devel %files devel
%defattr (-, root, root) %defattr (-, root, root)
%{_bindir}/gwenhywfar-config %{_bindir}/%{name}-config
%dir %{_datadir}/aclocal %dir %{_datadir}/aclocal
%{_datadir}/aclocal/gwenhywfar.m4 %{_datadir}/aclocal/%{name}.m4
%doc %{_datadir}/gwenhywfar/apidoc/ %doc %{_docdir}/%{name}/api/
%{_includedir}/gwenhywfar4/ %{_includedir}/%{name}4/
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/gwenhywfar.pc %{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/gwengui-gtk2.pc %{_libdir}/pkgconfig/gwengui-gtk2.pc
%{_libdir}/pkgconfig/gwengui-qt4.pc %{_libdir}/pkgconfig/gwengui-qt4.pc
%{_libdir}/pkgconfig/gwengui-fox16.pc
%files lang -f %{name}.lang %files lang -f %{name}.lang