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