|
@@ -1,17 +1,18 @@
|
|
Summary: A multi-platform helper library for other libraries
|
|
Summary: A multi-platform helper library for other libraries
|
|
Name: gwenhywfar
|
|
Name: gwenhywfar
|
|
-Version: 4.3.3
|
|
+Version: 4.20.2
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
License: LGPLv2+
|
|
License: LGPLv2+
|
|
-URL: http://www.aquamaniac.de/sites/aqbanking/index.php
|
|
+URL: https://www.aquamaniac.de/sites/aqbanking/index.php
|
|
|
|
|
|
-Source0: %{name}-%{version}.tar.gz
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+
|
|
|
|
+Source0: https://github.com/aqbanking/gwenhywfar/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: gtk2-devel
|
|
|
|
-BuildRequires: qt4-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: gnutls-devel
|
|
BuildRequires: gnutls-devel
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: libgcrypt-devel
|
|
@@ -26,44 +27,76 @@ and AqBanking/AqHBCI, the German online banking libraries.
|
|
Summary: Gwenhywfar development kit
|
|
Summary: Gwenhywfar development kit
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
-Requires: %{name}-gui-gtk2 = %{version}-%{release}
|
|
+Requires: %{name}-gui-cpp = %{version}-%{release}
|
|
-Requires: %{name}-gui-qt4 = %{version}-%{release}
|
|
+Requires: %{name}-gui-gtk3 = %{version}-%{release}
|
|
|
|
+Requires: %{name}-gui-qt5 = %{version}-%{release}
|
|
Requires: pkgconfig
|
|
Requires: pkgconfig
|
|
%description devel
|
|
%description devel
|
|
This package contains gwenhywfar-config and header files for writing and
|
|
This package contains gwenhywfar-config and header files for writing and
|
|
compiling programs using Gwenhywfar.
|
|
compiling programs using Gwenhywfar.
|
|
|
|
|
|
-%package gui-gtk2
|
|
+%package gui-cpp
|
|
-Summary: Gwenhywfar GUI framework for GTK2
|
|
+Summary: Gwenhywfar GUI framework for cpp
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
-%description gui-gtk2
|
|
+%description gui-cpp
|
|
-This package contains the gtk2 gwenhywfar GUI backend.
|
|
+This package contains the cpp gwenhywfar GUI backend.
|
|
|
|
|
|
-%package gui-qt4
|
|
+%package gui-gtk3
|
|
-Summary: Gwenhywfar GUI framework for Qt4
|
|
+Summary: Gwenhywfar GUI framework for GTK3
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
|
|
+BuildRequires: gtk3-devel
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
-%description gui-qt4
|
|
+Obsoletes: gui-gtk2
|
|
-This package contains the qt4 gwenhywfar GUI backend.
|
|
+%description gui-gtk3
|
|
|
|
+This package contains the gtk3 gwenhywfar GUI backend.
|
|
|
|
+
|
|
|
|
+%package gui-qt5
|
|
|
|
+Summary: Gwenhywfar GUI framework for Qt5
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+BuildRequires: qt5-qtbase-devel
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Obsoletes: gui-qt4
|
|
|
|
+%description gui-qt5
|
|
|
|
+This package contains the qt5 gwenhywfar GUI backend.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+autoreconf -iv
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure --disable-static --with-openssl-libs=%{_libdir} \
|
|
+# help configure find qt5 lrelease/lupdate
|
|
- --with-qt4-libs=%{_qt4_libdir} --with-qt4-includes=%{_qt4_headerdir}
|
|
+export PATH=$PATH:%{_qt5_bindir}
|
|
-#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
+
|
|
-#sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
+%configure \
|
|
|
|
+ --disable-static \
|
|
|
|
+ --enable-system-certs \
|
|
|
|
+ --with-openssl-libs=%{_libdir} \
|
|
|
|
+ --with-guis="gtk3 qt5" \
|
|
|
|
+ --with-qt5-qmake=%{_bindir}/qmake-qt5 \
|
|
|
|
+ --with-qt5-moc=%{_bindir}/moc-qt5 \
|
|
|
|
+ --with-qt5-uic=%{_bindir}/uic-qt5
|
|
|
|
+
|
|
|
|
+# kill rpath
|
|
|
|
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
+
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
+# use system ca-certificates
|
|
|
|
+rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/ca-bundle.crt
|
|
|
|
+ln -sf %{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
|
|
|
|
+ $RPM_BUILD_ROOT%{_datadir}/%{name}/ca-bundle.crt
|
|
|
|
+
|
|
find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
|
|
|
|
|
|
|
|
+%find_lang %{name}
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
@@ -71,18 +104,18 @@ find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
-%files
|
|
+%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc AUTHORS README COPYING ChangeLog
|
|
+%license COPYING
|
|
|
|
+%doc AUTHORS README ChangeLog
|
|
%{_bindir}/gct-tool
|
|
%{_bindir}/gct-tool
|
|
%{_libdir}/libgwenhywfar.so.*
|
|
%{_libdir}/libgwenhywfar.so.*
|
|
%{_libdir}/%{name}
|
|
%{_libdir}/%{name}
|
|
%dir %{_datadir}/%{name}
|
|
%dir %{_datadir}/%{name}
|
|
-%config(noreplace) %{_datadir}/%{name}/ca-bundle.crt
|
|
|
|
%{_datadir}/%{name}/dialogs
|
|
%{_datadir}/%{name}/dialogs
|
|
%{_datadir}/%{name}/typemaker2
|
|
%{_datadir}/%{name}/typemaker2
|
|
-%{_datadir}/locale/*/LC_MESSAGES/gwenhywfar.mo
|
|
|
|
%exclude %{_datadir}/%{name}/typemaker*
|
|
%exclude %{_datadir}/%{name}/typemaker*
|
|
|
|
+%{_datadir}/%{name}/ca-bundle.crt
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -91,19 +124,29 @@ find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
|
|
%{_includedir}/gwenhywfar4
|
|
%{_includedir}/gwenhywfar4
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
+%{_libdir}/cmake/*
|
|
%{_datadir}/aclocal/gwenhywfar.m4
|
|
%{_datadir}/aclocal/gwenhywfar.m4
|
|
%{_datadir}/%{name}/typemaker*
|
|
%{_datadir}/%{name}/typemaker*
|
|
|
|
|
|
-%files gui-gtk2
|
|
+%files gui-cpp
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%{_libdir}/libgwengui-gtk2.so.*
|
|
+%{_libdir}/libgwengui-cpp.so.*
|
|
|
|
|
|
-%files gui-qt4
|
|
+%files gui-gtk3
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%{_libdir}/libgwengui-qt4.so.*
|
|
+%{_libdir}/libgwengui-gtk3.so.*
|
|
|
|
+
|
|
|
|
+%files gui-qt5
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%{_libdir}/libgwengui-qt5.so.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Sep 11 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.20.2-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- switched guis to gtk3 and qt5.
|
|
|
|
+- added a subpackage "gui-cpp".
|
|
|
|
+
|
|
* Sat Dec 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.3.3-2
|
|
* Sat Dec 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.3.3-2
|
|
- rebuilt with libgcrypt 1.6.0 and gnutls 3.2.20
|
|
- rebuilt with libgcrypt 1.6.0 and gnutls 3.2.20
|
|
|
|
|
|
@@ -112,7 +155,7 @@ find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \;
|
|
- add BuildRequires: gtk2-devel, qt4-devel
|
|
- add BuildRequires: gtk2-devel, qt4-devel
|
|
- create gui-gtk2, gui-qt4 subpackages (based on Fedora)
|
|
- create gui-gtk2, gui-qt4 subpackages (based on Fedora)
|
|
|
|
|
|
-* Sun Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.11.3-3
|
|
+* Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.11.3-3
|
|
- rebuilt with openssl-1.0.0d
|
|
- rebuilt with openssl-1.0.0d
|
|
|
|
|
|
* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.11.3-2
|
|
* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.11.3-2
|