96 lines
2.5 KiB
RPMSpec
96 lines
2.5 KiB
RPMSpec
Name: packeth
|
|
Version: 3.0
|
|
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
|
|
BuildRequires: libgtk3-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
|
|
|
|
cd cli
|
|
ln -s ../src/pixmaps .
|
|
|
|
%make
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
%makeinstall -C cli
|
|
|
|
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
|
|
%{_bindir}/packETHcli
|
|
%dir %{_datadir}/pixmaps/packETHcli
|
|
%{_datadir}/pixmaps/packETHcli/*
|
|
%{_datadir}/applications/packETH.desktop
|
|
%doc AUTHORS COPYING
|
|
|
|
%changelog
|
|
* Sun Jan 07 2024 Automatic Build System <autodist@openmamba.org> 3.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|