2024-01-05 23:41:38 +01:00
|
|
|
Name: hivex
|
|
|
|
Version: 1.3.21
|
2024-01-05 23:41:39 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 23:41:38 +01:00
|
|
|
Summary: Windows registry hive extraction library
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 23:41:39 +01:00
|
|
|
URL: https://libguestfs.org/hivex.3.html
|
2024-01-05 23:41:38 +01:00
|
|
|
Source: https+git://github.com/libguestfs/hivex.git/v%{version}/hivex-%{version}.tar.bz2
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 23:41:39 +01:00
|
|
|
BuildRequires: libpython310-devel
|
2024-01-05 23:41:38 +01:00
|
|
|
BuildRequires: libreadline-devel
|
|
|
|
BuildRequires: libruby-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: ocaml
|
|
|
|
BuildRequires: ocaml-runtime
|
2024-01-05 23:41:39 +01:00
|
|
|
BuildRequires: perl-Encode
|
2024-01-05 23:41:38 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:41:39 +01:00
|
|
|
BuildRequires: ocaml >= 4.14.1
|
2024-01-05 23:41:38 +01:00
|
|
|
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}.
|
|
|
|
|
2024-01-05 23:41:39 +01:00
|
|
|
%package -n perl-%{name}
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Summary: Perl bindings for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n perl-%{name}
|
|
|
|
This package contains the Perl bindings for %{name}.
|
|
|
|
|
|
|
|
%package -n python-%{name}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: Python bindings for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python-%{name}
|
|
|
|
This package contains the Python bindings for %{name}.
|
|
|
|
|
|
|
|
%package -n ruby-%{name}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: Ruby bindings for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n ruby-%{name}
|
|
|
|
This package contains the Ruby bindings for %{name}.
|
|
|
|
|
|
|
|
%package -n ocaml-%{name}
|
|
|
|
Group: System/Libraries/Ocaml
|
|
|
|
Summary: Ocaml bindings for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n ocaml-%{name}
|
|
|
|
This package contains the Ocaml bindings for %{name}.
|
|
|
|
|
|
|
|
%package -n ocaml-%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for Ocaml bindings for %{name}
|
|
|
|
Requires: ocaml-%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n ocaml-%{name}-devel
|
|
|
|
This package contains the development files for Ocaml bindings for %{name}.
|
|
|
|
|
2024-01-05 23:41:38 +01:00
|
|
|
%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 \
|
2024-01-05 23:41:39 +01:00
|
|
|
PYTHON=%{__python310}
|
2024-01-05 23:41:38 +01:00
|
|
|
|
|
|
|
%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.*
|
2024-01-05 23:41:39 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/hivex.h
|
|
|
|
%{_libdir}/libhivex.a
|
|
|
|
%{_libdir}/libhivex.so
|
|
|
|
%{_libdir}/pkgconfig/hivex.pc
|
|
|
|
%{_mandir}/man3/Win::Hivex.3pm*
|
|
|
|
%{_mandir}/man3/Win::Hivex::Regedit.3pm*
|
|
|
|
%{_mandir}/man3/hivex.3*
|
|
|
|
#%doc README TODO
|
|
|
|
|
|
|
|
%files -n perl-%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:41:38 +01:00
|
|
|
%{perl_sitearch}/*
|
2024-01-05 23:41:39 +01:00
|
|
|
|
|
|
|
%files -n python-%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{python310_sitearch}/hivex
|
|
|
|
%{python310_sitearch}/hivex/*
|
|
|
|
%{python310_sitearch}/libhivexmod.cpython-*.so
|
|
|
|
|
|
|
|
%files -n ruby-%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{ruby_sitelib}/hivex.rb
|
|
|
|
%{ruby_sitearch}/_hivex.so
|
|
|
|
|
|
|
|
%files -n ocaml-%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:41:38 +01:00
|
|
|
%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
|
|
|
|
|
2024-01-05 23:41:39 +01:00
|
|
|
%files -n ocaml-%{name}-devel
|
2024-01-05 23:41:38 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/ocaml/hivex
|
|
|
|
%{_libdir}/ocaml/hivex/hivex.mli
|
|
|
|
%{_libdir}/ocaml/hivex/libmlhivex.a
|
|
|
|
%{_libdir}/ocaml/hivex/mlhivex.a
|
|
|
|
%{_libdir}/ocaml/hivex/mlhivex.cmxa
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:41:39 +01:00
|
|
|
* Sat Jul 08 2023 Sdk Build System <sdk@mambasoft.it> 1.3.21-2mamba
|
|
|
|
- rebuilt with ocaml 4.14.1
|
|
|
|
|
2024-01-05 23:41:38 +01:00
|
|
|
* Sat Aug 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.21-1mamba
|
|
|
|
- package created using the webbuild interface
|