reglookup/reglookup.spec

Name: reglookup
Summary: Small utility for querying NT/2K/XP/2K3/Vista registries
Version: 1.0.1
Release: 1
License: GPL
Group: Applications/System
URL: http://projects.sentinelchicken.org/reglookup/
Description: RegLookup is an small command line utility for reading and querying Windows NT-based registries. RegLookup is released under the GNU GPL, and is implemented in ANSI C. Original source was borrowed from the program editreg, written by Richard Sharpe. It has since been rewritten to use the regfio library, written by Gerald Carter.

Currently the program allows one to read an entire registry and output it in a (mostly) standardized, quoted format. It also provides features for filtering of results based on registry path and data type.

CentOS 7 x86_64

The build was not successful.

Build Status

CentOS 6 x86_64

The build was not successful.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

Summary: Small utility for querying NT/2K/XP/2K3/Vista registries
Name: reglookup
Version: 1.0.1
Release: 1%{?dist}
License: GPL
Group: Applications/System
URL: http://projects.sentinelchicken.org/reglookup/

Source: http://projects.sentinelchicken.org/data/downloads/reglookup-src-%{version}.tar.gz
Patch0: reglookup-0.9.0-DESTDIR.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
RegLookup is an small command line utility for reading and querying Windows
NT-based registries. RegLookup is released under the GNU GPL, and is
implemented in ANSI C. Original source was borrowed from the program editreg,
written by Richard Sharpe. It has since been rewritten to use the regfio
library, written by Gerald Carter.

Currently the program allows one to read an entire registry and output it in
a (mostly) standardized, quoted format. It also provides features for
filtering of results based on registry path and data type.

%prep
%setup -n %{name}-src-%{version}
#patch0 -p1

%build
#%{__make} CC="%{__cc}" OPTS="%{optflags}"
smake

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}" \
    PREFIX=%{_prefix} \
    MAN_PREFIX="%{_mandir}"

%{__rm} %{buildroot}%{_mandir}/man1/*
%{__mv} %{buildroot}%{_docdir}/reglookup/man/man1/* %{buildroot}%{_mandir}/man1/

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc INSTALL LICENSE doc/devel/README
%doc %{_mandir}/man1/reglookup.1*
%doc %{_mandir}/man1/reglookup-recover.1*
%doc %{_mandir}/man1/reglookup-timeline.1*
%{_bindir}/reglookup
%{_bindir}/reglookup-recover
%{_bindir}/reglookup-timeline

%changelog
* Mon Oct 10 2011 Dag Wieers <dag@wieers.com> - 1.0.1-1
- Updated to release 1.0.1.

* Tue Jul 19 2011 Dag Wieers <dag@wieers.com> - 1.0.0-1
- Updated to release 1.0.0.

* Wed Feb 16 2011 Dag Wieers <dag@wieers.com> - 0.12.0-1
- Updated to release 0.12.0.

* Tue Nov 04 2008 Dag Wieers <dag@wieers.com> - 0.9.0-1
- Initial package. (using DAR)