diff --git a/README.md b/README.md index c426a82..5f07701 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/packeth.spec b/packeth.spec new file mode 100644 index 0000000..564e4d1 --- /dev/null +++ b/packeth.spec @@ -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 +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 2.1-1mamba +- update to 2.1 + +* Sat Apr 27 2013 Automatic Build System 1.7.2-1mamba +- update to 1.7.2 + +* Thu Jul 09 2009 Automatic Build System 1.6.2-1mamba +- automatic update by autodist + +* Tue May 29 2007 Silvan Calarco 1.4.1-1mamba +- update to 1.4.1 +- desktop file moved to %%{_datadir}/applications + +* Mon Feb 02 2004 Silvan Calarco 1.1-1qilnx +- First build