From 804ae03c232fb396212967ce1ac91989076073b0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:41:38 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.3.21-1mamba;Sat Aug 07 2021] --- README.md | 2 + hivex.spec | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 hivex.spec diff --git a/README.md b/README.md index 49fe665..34c5c24 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # hivex +windows registry hive extraction library. + diff --git a/hivex.spec b/hivex.spec new file mode 100644 index 0000000..fdad4ec --- /dev/null +++ b/hivex.spec @@ -0,0 +1,118 @@ +Name: hivex +Version: 1.3.21 +Release: 1mamba +Summary: Windows registry hive extraction library +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://libguestfs.org/hivex.3.html +Source: https+git://github.com/libguestfs/hivex.git/v%{version}/hivex-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: liblzma-devel +BuildRequires: libperl +BuildRequires: libreadline-devel +BuildRequires: libruby-devel +BuildRequires: libxml2-devel +BuildRequires: libz-devel +BuildRequires: ocaml +BuildRequires: ocaml-runtime +BuildRequires: perl-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +windows registry hive extraction library. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q +./autogen.sh + +%build +%configure \ + PYTHON=%{__python3} + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} || touch %{name}.lang + +rm -f %{buildroot}%{perl_archlib}/perllocal.pod + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/hivexget +%{_bindir}/hivexml +%{_bindir}/hivexregedit +%{_bindir}/hivexsh +%{_mandir}/man1/hivex*.1* + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libhivex.so.* +%{perl_sitearch}/* +%dir %{_libdir}/ocaml/hivex +%{_libdir}/ocaml/hivex/META +%{_libdir}/ocaml/hivex/mlhivex.cma +%{_libdir}/ocaml/hivex/hivex.cmi +%{_libdir}/ocaml/hivex/hivex.cmx +%{_libdir}/ocaml/stublibs/dllmlhivex.so +%{_libdir}/ocaml/stublibs/dllmlhivex.so.owner +%{ruby_sitelib}/hivex.rb +%{ruby_sitearch}/_hivex.so +%{python3_sitearch}/hivex/__init__.py +%{python3_sitearch}/hivex/hive_types.py +%{python3_sitearch}/libhivexmod.cpython-*.so +%{python3_sitearch}/libhivexmod.la +%doc LICENSE + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/hivex.h +%{_libdir}/libhivex.a +%{_libdir}/libhivex.la +%{_libdir}/libhivex.so +%dir %{_libdir}/ocaml/hivex +%{_libdir}/ocaml/hivex/hivex.mli +%{_libdir}/ocaml/hivex/libmlhivex.a +%{_libdir}/ocaml/hivex/mlhivex.a +%{_libdir}/ocaml/hivex/mlhivex.cmxa +%{_libdir}/pkgconfig/hivex.pc +%{_mandir}/man3/Win::Hivex.3pm* +%{_mandir}/man3/Win::Hivex::Regedit.3pm* +%{_mandir}/man3/hivex.3* +%doc README TODO + +%changelog +* Sat Aug 07 2021 Silvan Calarco 1.3.21-1mamba +- package created using the webbuild interface