119 lines
3.0 KiB
RPMSpec
119 lines
3.0 KiB
RPMSpec
|
Name: hivex
|
||
|
Version: 1.3.21
|
||
|
Release: 1mamba
|
||
|
Summary: Windows registry hive extraction library
|
||
|
Group: System/Tools
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 1.3.21-1mamba
|
||
|
- package created using the webbuild interface
|