rebuild with qt5 [release 5.3.7-2mamba;Tue Jan 02 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 22:35:42 +01:00
parent a740243860
commit b4e35605aa

View File

@ -1,37 +1,28 @@
Name: fwbuilder Name: fwbuilder
Version: 5.3.6 Version: 5.3.7
Release: 1mamba Release: 2mamba
Summary: Firewall Builder Summary: Firewall Builder
Group: Network/Security Group: Network/Security
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.fwbuilder.org URL: http://www.fwbuilder.org
Source: https://github.com/UNINETT/fwbuilder.git/v%{version}/%{name}-%{version}.tar.bz2 Source: https://github.com/fwbuilder/fwbuilder.git/v%{version}/fwbuilder-%{version}.tar.bz2
#Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
Source1: %{name}.png Source1: %{name}.png
Source2: %{name}2.png Source2: %{name}2.png
Patch0: fwbuilder-5.1.0.3599-gcc-4.8.patch Patch0: fwbuilder-5.1.0.3599-gcc-4.8.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: iptables >= 1.2.8 BuildRequires: libGL-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglib-devel BuildRequires: liblzma-devel
BuildRequires: libICE-devel BuildRequires: libnetsnmp-devel
BuildRequires: libpng-devel BuildRequires: libnl-devel
BuildRequires: libqt4-devel BuildRequires: libopenssl-devel
BuildRequires: libSM-devel BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel BuildRequires: libxml2-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXinerama-devel
BuildRequires: libxml2-devel >= 2.6.22
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libxslt-devel BuildRequires: libxslt-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -52,13 +43,14 @@ In Firewall Builder, administrator works with an abstraction of firewall policy
%prep %prep
%setup -q %setup -q
%patch0 -p1 #%patch0 -p1
%build %build
export QTDIR=%{_qt4_prefix} ./autogen.sh \
export QMAKE=%{_qt4_bindir}/qmake --with-qmake=qmake-qt5 \
./autogen.sh
%configure \ %configure \
--with-qmake=qmake-qt5 \
--enable-auto-docdir \ --enable-auto-docdir \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--with-iconsdir=%{_datadir}/pixmaps \ --with-iconsdir=%{_datadir}/pixmaps \
@ -66,7 +58,7 @@ export QMAKE=%{_qt4_bindir}/qmake
##WARNING: icns.path is not defined: install target not created ##WARNING: icns.path is not defined: install target not created
%make QTDIR=%{_qt4_prefix} all %make all
%install %install
[ %{buildroot} != / ] && rm -rf %{buildroot} [ %{buildroot} != / ] && rm -rf %{buildroot}
@ -132,9 +124,15 @@ EOF
%{_datadir}/fwbuilder/* %{_datadir}/fwbuilder/*
%{_datadir}/pixmaps/%{name}.png %{_datadir}/pixmaps/%{name}.png
%{_datadir}/icons/hicolor/*x*/apps/fwbuilder.png %{_datadir}/icons/hicolor/*x*/apps/fwbuilder.png
%{_mandir}/man1/fwb*.1.gz %{_mandir}/man1/fwb*.1*
%changelog %changelog
* Tue Jan 02 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.7-2mamba
- rebuild with qt5
* Sat Dec 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.7-1mamba
- update to 5.3.7
* Fri Dec 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.6-1mamba * Fri Dec 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.6-1mamba
- update to 5.3.6 - update to 5.3.6