Group :: Monitoramento
RPM: lslk
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: lslk
Version: 1.29
Release: alt2.1
Summary: A lock file lister
License: GPL Style
Group: Monitoring
Url: ftp://vic.cc.purdue.edu/pub/tools/unix/%name
BuildPreReq: kernel-headers-std
Source: %url/%{name}_%{version}_W.tar.bz2
Patch: lslk_1.29_W-rh-misc.patch
Patch1: lslk-1.29_W-alt-build.patch
%description
Lslk is a lock file lister. Lslk attempts to list all of the locks on
the executing system's local files (i.e., on the active inodes).
Install %name if you need a utility for listing file locks.
%prep
%setup -qc -n %name
tar xf %{name}_%version.tar
cd %{name}_%version
%patch1 -p0
%build
cd %{name}_%version
./Configure -n linux
make DEBUG="$RPM_OPT_FLAGS" CFGF=-DLINUXV=228
%install
cd %{name}_%version
install -p -m711 -D %name $RPM_BUILD_ROOT%_sbindir/%name
install -p -m644 -D %name.8 $RPM_BUILD_ROOT%_mandir/man8/%name.8
%files
# XXX should be mode 4755, but for now leave the setuid off
%attr(0711,root,kmem) %_sbindir/%name
%_mandir/man?/*
%doc %{name}_%version/README
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.29
Release: alt2.1
Summary: A lock file lister
License: GPL Style
Group: Monitoring
Url: ftp://vic.cc.purdue.edu/pub/tools/unix/%name
BuildPreReq: kernel-headers-std
Source: %url/%{name}_%{version}_W.tar.bz2
Patch: lslk_1.29_W-rh-misc.patch
Patch1: lslk-1.29_W-alt-build.patch
%description
Lslk is a lock file lister. Lslk attempts to list all of the locks on
the executing system's local files (i.e., on the active inodes).
Install %name if you need a utility for listing file locks.
%prep
%setup -qc -n %name
tar xf %{name}_%version.tar
cd %{name}_%version
%patch1 -p0
%build
cd %{name}_%version
./Configure -n linux
make DEBUG="$RPM_OPT_FLAGS" CFGF=-DLINUXV=228
%install
cd %{name}_%version
install -p -m711 -D %name $RPM_BUILD_ROOT%_sbindir/%name
install -p -m644 -D %name.8 $RPM_BUILD_ROOT%_mandir/man8/%name.8
%files
# XXX should be mode 4755, but for now leave the setuid off
%attr(0711,root,kmem) %_sbindir/%name
%_mandir/man?/*
%doc %{name}_%version/README
%changelog
…
Todas as alterações você pod ver aqui