diff --git a/packeth.spec b/packeth.spec index 564e4d1..60cfd1c 100644 --- a/packeth.spec +++ b/packeth.spec @@ -1,5 +1,5 @@ Name: packeth -Version: 2.1 +Version: 3.0 Release: 1mamba Summary: A Linux GUI packet generator tool for ethernet Group: Graphical Desktop/Applications/Networking @@ -8,17 +8,14 @@ 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: libgtk3-devel BuildRequires: libharfbuzz-devel BuildRequires: libpango-devel ## AUTOBUILDREQ-END @@ -36,13 +33,19 @@ packETH is a Linux GUI packet generator tool for ethernet. It allows you to crea %build export CFLAGS='%{optflags} -fcommon' + %configure %make +cd cli +ln -s ../src/pixmaps . + +%make + %install %makeinstall -#install -d %{buildroot}%{_bindir} -#make install -C src INSTALL_PREFIX=%{buildroot}%{_prefix} + +%makeinstall -C cli mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/packETH.desktop << _EOF @@ -65,12 +68,16 @@ _EOF %files %defattr(-,root,root) %{_bindir}/packETH -%dir %{_datadir}/packeth -%dir %{_datadir}/packeth/pixmaps -%{_datadir}/packeth/pixmaps/*.xpm +%{_bindir}/packETHcli +%dir %{_datadir}/pixmaps/packETHcli +%{_datadir}/pixmaps/packETHcli/* %{_datadir}/applications/packETH.desktop +%doc AUTHORS COPYING %changelog +* Sun Jan 07 2024 Automatic Build System 3.0-1mamba +- automatic version update by autodist + * Thu Aug 31 2023 Silvan Calarco 2.1-1mamba - update to 2.1