From 6a09db26b04ee5dd8483f606fd09ec53f93b303b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:36:08 +0100 Subject: [PATCH] update to 5.4.0 [release 5.4.0-1mamba;Mon Jul 27 2020] --- gwenhywfar.spec | 80 +++++++++++++++++++++++++++++++------------------ 1 file changed, 51 insertions(+), 29 deletions(-) diff --git a/gwenhywfar.spec b/gwenhywfar.spec index 4a2315c..6190a6f 100644 --- a/gwenhywfar.spec +++ b/gwenhywfar.spec @@ -1,7 +1,7 @@ %define majver %(echo %version | cut -d. -f1-2) Name: gwenhywfar -Version: 5.3.0 -Release: 2mamba +Version: 5.4.0 +Release: 1mamba Summary: A tool to allow porting of software to different operating systems like Linux, *BSD, Windows etc. Group: System/Libraries Vendor: openmamba @@ -13,13 +13,12 @@ License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig +BuildRequires: libGL-devel BuildRequires: libatk-devel -BuildRequires: libblkid-devel +BuildRequires: libbrotli-devel BuildRequires: libbzip2-devel BuildRequires: libcairo-devel -BuildRequires: libexpat-devel BuildRequires: libffi-devel -BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgcrypt-devel @@ -29,24 +28,18 @@ BuildRequires: libgmp-devel BuildRequires: libgnutls-devel BuildRequires: libgpg-error-devel BuildRequires: libgraphite2-devel -BuildRequires: libgtk2-devel +BuildRequires: libgtk-devel BuildRequires: libharfbuzz-devel -BuildRequires: libmount-devel BuildRequires: libnettle-devel BuildRequires: libp11-kit-devel BuildRequires: libpango-devel BuildRequires: libpcre-devel BuildRequires: libpng-devel -BuildRequires: libqt4-devel -BuildRequires: libselinux-devel -BuildRequires: libsepol-devel BuildRequires: libstdc++6-devel BuildRequires: libtasn1-devel BuildRequires: libunistring-devel -BuildRequires: libuuid-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END -BuildConflicts: gwenhywfar-devel <= 5.1.3 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -54,18 +47,36 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root Gwenhywfar allows porting of your software to different operating systems like Linux, *BSD, Windows etc. It also provides you with some often needed modules such as configuration file handling, simple XML file parsing, IPC etc. %package -n lib%{name} -Summary: Shared libraries provides %{name} +Summary: Shared libraries provided by %{name} Group: System/Libraries %description -n lib%{name} Gwenhywfar allows porting of your software to different operating systems like Linux, *BSD, Windows etc. It also provides you with some often needed modules such as configuration file handling, simple XML file parsing, IPC etc. This package contains static libraries and header files need for development. +%package -n lib%{name}-gtk3 +Summary: Gtk3 GUI shared libraries provided by %{name} +Group: System/Libraries + +%description -n lib%{name}-gtk3 +Gwenhywfar allows porting of your software to different operating systems like Linux, *BSD, Windows etc. It also provides you with some often needed modules such as configuration file handling, simple XML file parsing, IPC etc. +This package contains static libraries and header files need for development. + +%package -n lib%{name}-qt5 +Summary: Qt5 GUI shared libraries provided by %{name} +Group: System/Libraries + +%description -n lib%{name}-qt5 +Gwenhywfar allows porting of your software to different operating systems like Linux, *BSD, Windows etc. It also provides you with some often needed modules such as configuration file handling, simple XML file parsing, IPC etc. +This package contains static libraries and header files need for development. +- %package -n lib%{name}-devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name}-gtk3 = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name}-qt5 = %{?epoch:%epoch:}%{version}-%{release} Provides: gwenhywfar-devel Obsoletes: gwenhywfar-devel @@ -77,14 +88,13 @@ This package contains static libraries and header files need for development. %prep %setup -q - autoreconf -f -i %build - %configure \ --with-openssl-libs="`pkg-config --libs openssl`" \ - --with-qt4-libs="%{_qt4_libdir}" + --with-qt5-qmake=%{_bindir}/qmake-qt5 \ + --with-guis="qt5 gtk3" %make @@ -100,6 +110,12 @@ autoreconf -f -i %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig +%post -n lib%{name}-gtk3 -p /sbin/ldconfig +%postun -n lib%{name}-gtk3 -p /sbin/ldconfig + +%post -n lib%{name}-qt5 -p /sbin/ldconfig +%postun -n lib%{name}-qt5 -p /sbin/ldconfig + %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/gsa @@ -123,11 +139,17 @@ autoreconf -f -i %defattr(-,root,root) %{_libdir}/libgwenhywfar.so.* %{_libdir}/libgwengui-cpp.so.* -%{_libdir}/libgwengui-gtk2.so.* -%{_libdir}/libgwengui-qt4.so.* %dir %{_libdir}/gwenhywfar/plugins %{_libdir}/gwenhywfar/plugins/* +%files -n lib%{name}-gtk3 +%defattr(-,root,root) +%{_libdir}/libgwengui-gtk3.so.* + +%files -n lib%{name}-qt5 +%defattr(-,root,root) +%{_libdir}/libgwengui-qt5.so.* + %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/gwenhywfar5 @@ -136,23 +158,23 @@ autoreconf -f -i %{_libdir}/libgwenhywfar.la %{_libdir}/libgwengui-cpp.la %{_libdir}/libgwengui-cpp.so -%{_libdir}/libgwengui-gtk2.la -%{_libdir}/libgwengui-gtk2.so -%{_libdir}/libgwengui-qt4.la -%{_libdir}/libgwengui-qt4.so -%dir %{_libdir}/cmake/gwengui-qt4-%{majver} -%{_libdir}/cmake/gwengui-qt4-%{majver}/gwengui-qt4-config-version.cmake -%{_libdir}/cmake/gwengui-qt4-%{majver}/gwengui-qt4-config.cmake +%{_libdir}/libgwengui-gtk3.la +%{_libdir}/libgwengui-gtk3.so +%{_libdir}/libgwengui-qt5.la +%{_libdir}/libgwengui-qt5.so +%dir %{_libdir}/cmake/gwengui-qt5-%{majver} +%{_libdir}/cmake/gwengui-qt5-%{majver}/gwengui-qt5-config*.cmake %dir %{_libdir}/cmake/gwenhywfar-%{majver} -%{_libdir}/cmake/gwenhywfar-%{majver}/gwenhywfar-config-version.cmake -%{_libdir}/cmake/gwenhywfar-%{majver}/gwenhywfar-config.cmake -%{_libdir}/cmake/gwengui-cpp-%{majver}/gwengui-cpp-config-version.cmake -%{_libdir}/cmake/gwengui-cpp-%{majver}/gwengui-cpp-config.cmake +%{_libdir}/cmake/gwenhywfar-%{majver}/gwenhywfar-config*.cmake +%{_libdir}/cmake/gwengui-cpp-%{majver}/gwengui-cpp-config*.cmake %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/gwenhywfar.m4 %doc NEWS README TODO %changelog +* Mon Jul 27 2020 Silvan Calarco 5.4.0-1mamba +- update to 5.4.0 + * Sun Apr 26 2020 Silvan Calarco 5.3.0-2mamba - add library subpackages