2024-01-06 08:22:45 +01:00
|
|
|
Name: packeth
|
2024-01-08 01:00:03 +01:00
|
|
|
Version: 3.0
|
2024-01-06 08:22:45 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A Linux GUI packet generator tool for ethernet
|
|
|
|
Group: Graphical Desktop/Applications/Networking
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://packeth.sourceforge.net/
|
|
|
|
Source: https://github.com/jemcek/packETH.git/%{version}/packETH-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libat-spi2-core-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-08 01:00:03 +01:00
|
|
|
BuildRequires: libgtk3-devel
|
2024-01-06 08:22:45 +01:00
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Provides: packETH
|
|
|
|
Obsoletes: packETH < 2.1
|
|
|
|
|
|
|
|
%description
|
|
|
|
packETH is a Linux GUI packet generator tool for ethernet. It allows you to create and send any possible packet or sequence of packets on the ethernet.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n packETH-%{version}
|
|
|
|
./autogen.sh
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS='%{optflags} -fcommon'
|
2024-01-08 01:00:03 +01:00
|
|
|
|
2024-01-06 08:22:45 +01:00
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
2024-01-08 01:00:03 +01:00
|
|
|
cd cli
|
|
|
|
ln -s ../src/pixmaps .
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
2024-01-06 08:22:45 +01:00
|
|
|
%install
|
|
|
|
%makeinstall
|
2024-01-08 01:00:03 +01:00
|
|
|
|
|
|
|
%makeinstall -C cli
|
2024-01-06 08:22:45 +01:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
|
|
cat > %{buildroot}%{_datadir}/applications/packETH.desktop << _EOF
|
|
|
|
[Desktop Entry]
|
|
|
|
Name=packETH
|
|
|
|
Comment=A packet generator for Ethernet
|
|
|
|
Comment[it]=Un generatore di pacchetti per Ethernet
|
|
|
|
GenericName=A packet generator for Ethernet
|
|
|
|
GenericName[it]=Un generatore di pacchetti per Ethernet
|
|
|
|
Exec=packETH
|
|
|
|
Type=Application
|
|
|
|
Terminal=0
|
|
|
|
Icon=agent
|
|
|
|
Category=Application;Network;
|
|
|
|
_EOF
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/packETH
|
2024-01-08 01:00:03 +01:00
|
|
|
%{_bindir}/packETHcli
|
|
|
|
%dir %{_datadir}/pixmaps/packETHcli
|
|
|
|
%{_datadir}/pixmaps/packETHcli/*
|
2024-01-06 08:22:45 +01:00
|
|
|
%{_datadir}/applications/packETH.desktop
|
2024-01-08 01:00:03 +01:00
|
|
|
%doc AUTHORS COPYING
|
2024-01-06 08:22:45 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-08 01:00:03 +01:00
|
|
|
* Sun Jan 07 2024 Automatic Build System <autodist@openmamba.org> 3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:22:45 +01:00
|
|
|
* Thu Aug 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1-1mamba
|
|
|
|
- update to 2.1
|
|
|
|
|
|
|
|
* Sat Apr 27 2013 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
|
|
|
|
- update to 1.7.2
|
|
|
|
|
|
|
|
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue May 29 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- update to 1.4.1
|
|
|
|
- desktop file moved to %%{_datadir}/applications
|
|
|
|
|
|
|
|
* Mon Feb 02 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1qilnx
|
|
|
|
- First build
|