Initial import.
This commit is contained in:
parent
9addfa9f09
commit
1fba63d65d
@ -0,0 +1 @@
|
|||||||
|
hivex-1.1.2.tar.gz
|
110
hivex.spec
Normal file
110
hivex.spec
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
Name: hivex
|
||||||
|
Version: 1.1.2
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: Read and write Windows Registry binary hive files
|
||||||
|
|
||||||
|
Group: Development/Libraries
|
||||||
|
License: LGPLv2
|
||||||
|
URL: http://libguestfs.org/
|
||||||
|
Source0: http://libguestfs.org/download/%{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: readline-devel
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
|
||||||
|
# This library used to be part of libguestfs. It won't install alongside
|
||||||
|
# the old version of libguestfs that included this library:
|
||||||
|
Conflicts: libguestfs <= 1:1.0.84
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
Hive files are the undocumented binary blobs that Windows uses to
|
||||||
|
store the Windows Registry on disk. Hivex is a library that can read
|
||||||
|
and write to these files.
|
||||||
|
|
||||||
|
'hivexsh' is a shell you can use to interactively navigate a hive
|
||||||
|
binary file.
|
||||||
|
|
||||||
|
'hivexml' can be used to convert a hive file to a more useful XML
|
||||||
|
format.
|
||||||
|
|
||||||
|
In order to get access to the hive files themselves, you can copy them
|
||||||
|
from a Windows machine. They are usually found in
|
||||||
|
%%systemroot%%\system32\config. For virtual machines we recommend
|
||||||
|
using libguestfs or guestfish to copy out these files. libguestfs
|
||||||
|
also provides a useful high-level tool called 'virt-win-reg' (based on
|
||||||
|
hivex technology) which can be used to query specific registry keys in
|
||||||
|
an existing Windows VM.
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development tools and libraries for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
%{name}-devel contains development tools and libraries
|
||||||
|
for %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
# Remove unwanted libtool *.la file:
|
||||||
|
rm $RPM_BUILD_ROOT%{_libdir}/libhivex.la
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README LICENSE
|
||||||
|
%{_bindir}/hivexget
|
||||||
|
%{_bindir}/hivexml
|
||||||
|
%{_bindir}/hivexsh
|
||||||
|
%{_libdir}/libhivex.so.*
|
||||||
|
%{_mandir}/man1/hivexget.1*
|
||||||
|
%{_mandir}/man1/hivexml.1*
|
||||||
|
%{_mandir}/man1/hivexsh.1*
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE
|
||||||
|
%{_libdir}/libhivex.so
|
||||||
|
%{_mandir}/man3/hivex.3*
|
||||||
|
%{_includedir}/hivex.h
|
||||||
|
%{_libdir}/pkgconfig/hivex.pc
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Feb 22 2010 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-3
|
||||||
|
- Missing Epoch in conflicts version fixed.
|
||||||
|
|
||||||
|
* Mon Feb 22 2010 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-2
|
||||||
|
- Add Conflicts libguestfs <= 1.0.84.
|
||||||
|
|
||||||
|
* Mon Feb 22 2010 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-1
|
||||||
|
- Initial Fedora RPM.
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
hivex-1_1_2-3_fc12:HEAD:hivex-1.1.2-3.fc12.src.rpm:1266916279
|
Loading…
Reference in New Issue
Block a user