Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > f8059b69063bf9e534e9536f9f6e76aa > files > 2

hntool-0.1.2-1.fc13.src.rpm

%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:		hntool
Version:	0.1.2
Release:	1%{?dist}
Summary:	Open source hardening tool for Unix

Group:		Applications/System
License:	GPLv2
URL:		http://code.google.com/p/hntool/
Source0:	http://hntool.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:	noarch
BuildRequires:	python-setuptools python-devel

%description
HnTool is an open source (GPLv2) hardening tool for Unix. It scans your system
for vulnerabilities or problems in configuration files.

%prep
%setup -q -n %{name}-%{version}

#fix shebang on rpmlint
sed -i -e '1d' HnTool/core.py

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --prefix /usr/ --root $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE NEWS README TODO
%{python_sitelib}/*
%{_bindir}/hntool
%{_mandir}/man1/hntool*

%changelog
* Tue Jul 13 2010 Filipe Rosset <rosset.filipe@gmail.com> - 0.1.2-1
- Update to upstream 0.1.2

* Wed Apr 28 2010 Filipe Rosset <rosset.filipe@gmail.com> - 0.1.1-1
- Update to upstream 0.1.1

* Sat Apr 24 2010 Filipe Rosset <rosset.filipe@gmail.com> - 0.1-2
- Fix SPEC issues

* Wed Apr 14 2010 Filipe Rosset <rosset.filipe@gmail.com> - 0.1-1
- Initial RPM release