update to 2.1 [release 2.1-1mamba;Thu Aug 31 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 08:22:45 +01:00
parent b366e7b23f
commit b52e6777f3
2 changed files with 90 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# packeth
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.

88
packeth.spec Normal file
View File

@ -0,0 +1,88 @@
Name: packeth
Version: 2.1
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
#Source: http://downloads.sourceforge.net/sourceforge/packeth/%{name}-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
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'
%configure
%make
%install
%makeinstall
#install -d %{buildroot}%{_bindir}
#make install -C src INSTALL_PREFIX=%{buildroot}%{_prefix}
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
%dir %{_datadir}/packeth
%dir %{_datadir}/packeth/pixmaps
%{_datadir}/packeth/pixmaps/*.xpm
%{_datadir}/applications/packETH.desktop
%changelog
* 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