Пакет chntpw: Specfile

Name: chntpw
Version: 070923
Release: alt2.1
Summary: Offline Windows NT password & registry editor
License: GPL/LGPL
Group: System/Configuration/Other
Url: http://home.eunet.no/pnordahl/ntpasswd/
Source: %name-source-%version.zip
#Source1: %name.desktop
#Patch: %name-%version-alt-makefile.patch
Patch: %name.patch2
Packager: Mikhail Pokidko <pma@altlinux.org>

# Automatically added by buildreq on Thu May 08 2008
BuildRequires: libssl-devel-static unzip

%description
This little program will enable you to view some information and
change user passwords in a Windows NT SAM userdatabase file.
You do not need to know the old passwords.
However, you need to get at the file some way or another yourself.
In addition it contains a simple registry editor with full write support,
and hex-editor which enables you to
fiddle around with bits&bytes in the file as you wish yourself.

%prep
%setup -q -n %name-%version
%patch -p1

%build
%make all cpnt  CFLAGS="%optflags" LIBDIR=%_libdir
# OSSLLIB=%_libdir"

%install
install -d  %buildroot%_bindir
install -pm755 chntpw chntpw.static cpnt %buildroot%_bindir/

%files
%_bindir/*
%doc *.txt

%changelog
* Sat Aug 09 2008 ALT QA Team Robot <qa-robot@altlinux.org> 070923-alt2.1
- Automated rebuild due to libcrypto.so.6 -> libcrypto.so.7 soname change.

* Wed May 14 2008 Mikhail Pokidko <pma@altlinux.org> 070923-alt2
- x86_64 build spec-fix

* Thu May 08 2008 Mikhail Pokidko <pma@altlinux.org> 070923-alt1
- Version up. thnx to mike@

* Sat Jan 13 2007 Mikhail Pokidko <pma@altlinux.org> 040818-alt1 
- Initial build