Group :: Rede/Outros
RPM: netwag
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: netwag
Version: 5.34.0
Release: alt1.qa1
Summary: GUI for netwox
License: GPL
Group: Networking/Other
Url: http://www.laurentconstantin.com/en/netw/netwag/
Source0: http://www.laurentconstantin.com/common/netw/netwag/download/v5/%name-%version-src.tgz
Source1: %name.desktop
Patch0: %name-config.patch
BuildArch: noarch
Requires: netwox
# Automatically added by buildreq on Thu Feb 16 2006
BuildRequires: netwox tk xterm
%description
GUI for Netwox (Netwox is a toolbox for network administrators and
network hackers).
%prep
%setup -q -n %name-%version-src
%patch0 -p1
%build
cd src
./genemake
sed -i -e 's,444,644,' -e 's,555,755,g' Makefile
%make
%install
install -d %buildroot{%_bindir,%_man1dir,%_desktopdir}
%make -C src install \
INSTBIN=%buildroot%_bindir \
INSTMAN1=%buildroot%_man1dir \
INSTUSERGROUP="$(id -u):$(id -g)"
install %SOURCE1 %buildroot%_desktopdir
rm -f doc/gpl.txt
%postun -n netwag
%clean_menus
%post -n netwag
%update_menus
%files
%doc doc/*.txt
%_bindir/*
%_man1dir/*
%_desktopdir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 5.34.0
Release: alt1.qa1
Summary: GUI for netwox
License: GPL
Group: Networking/Other
Url: http://www.laurentconstantin.com/en/netw/netwag/
Source0: http://www.laurentconstantin.com/common/netw/netwag/download/v5/%name-%version-src.tgz
Source1: %name.desktop
Patch0: %name-config.patch
BuildArch: noarch
Requires: netwox
# Automatically added by buildreq on Thu Feb 16 2006
BuildRequires: netwox tk xterm
%description
GUI for Netwox (Netwox is a toolbox for network administrators and
network hackers).
%prep
%setup -q -n %name-%version-src
%patch0 -p1
%build
cd src
./genemake
sed -i -e 's,444,644,' -e 's,555,755,g' Makefile
%make
%install
install -d %buildroot{%_bindir,%_man1dir,%_desktopdir}
%make -C src install \
INSTBIN=%buildroot%_bindir \
INSTMAN1=%buildroot%_man1dir \
INSTUSERGROUP="$(id -u):$(id -g)"
install %SOURCE1 %buildroot%_desktopdir
rm -f doc/gpl.txt
%postun -n netwag
%clean_menus
%post -n netwag
%update_menus
%files
%doc doc/*.txt
%_bindir/*
%_man1dir/*
%_desktopdir/*
%changelog
…
Todas as alterações você pod ver aqui