| 1 |
Name: libvhdi |
| 2 |
Version: 20251119 |
| 3 |
Release: 1 |
| 4 |
Summary: Library to access the Virtual Hard Disk (VHD) image format |
| 5 |
Group: System Environment/Libraries |
| 6 |
License: LGPL-3.0-or-later |
| 7 |
Source: %{name}-%{version}.tar.gz |
| 8 |
URL: https://github.com/libyal/libvhdi |
| 9 |
|
| 10 |
BuildRequires: gcc |
| 11 |
|
| 12 |
%description -n libvhdi |
| 13 |
Library to access the Virtual Hard Disk (VHD) image format |
| 14 |
|
| 15 |
%package -n libvhdi-static |
| 16 |
Summary: Library to access the Virtual Hard Disk (VHD) image format |
| 17 |
Group: Development/Libraries |
| 18 |
Requires: libvhdi = %{version}-%{release} |
| 19 |
|
| 20 |
%description -n libvhdi-static |
| 21 |
Static library version of libvhdi. |
| 22 |
|
| 23 |
%package -n libvhdi-devel |
| 24 |
Summary: Header files and libraries for developing applications for libvhdi |
| 25 |
Group: Development/Libraries |
| 26 |
Requires: libvhdi = %{version}-%{release} |
| 27 |
|
| 28 |
%description -n libvhdi-devel |
| 29 |
Header files and libraries for developing applications for libvhdi. |
| 30 |
|
| 31 |
%package -n libvhdi-python3 |
| 32 |
Summary: Python 3 bindings for libvhdi |
| 33 |
Group: System Environment/Libraries |
| 34 |
Requires: libvhdi = %{version}-%{release} python3 |
| 35 |
BuildRequires: python3-devel python3-setuptools |
| 36 |
|
| 37 |
%description -n libvhdi-python3 |
| 38 |
Python 3 bindings for libvhdi |
| 39 |
|
| 40 |
%package -n libvhdi-tools |
| 41 |
Summary: Several tools for reading Virtual Hard Disk (VHD) image files |
| 42 |
Group: Applications/System |
| 43 |
Requires: libvhdi = %{version}-%{release} fuse3-libs |
| 44 |
BuildRequires: fuse3-devel |
| 45 |
|
| 46 |
%description -n libvhdi-tools |
| 47 |
Several tools for reading Virtual Hard Disk (VHD) image files |
| 48 |
|
| 49 |
%prep |
| 50 |
%setup -q |
| 51 |
|
| 52 |
%build |
| 53 |
%configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --enable-python |
| 54 |
make %{?_smp_mflags} |
| 55 |
|
| 56 |
%install |
| 57 |
rm -rf %{buildroot} |
| 58 |
%make_install |
| 59 |
|
| 60 |
%clean |
| 61 |
rm -rf %{buildroot} |
| 62 |
|
| 63 |
%post -p /sbin/ldconfig |
| 64 |
|
| 65 |
%postun -p /sbin/ldconfig |
| 66 |
|
| 67 |
%files -n libvhdi |
| 68 |
%license COPYING COPYING.LESSER |
| 69 |
%doc AUTHORS README |
| 70 |
%{_libdir}/*.so.* |
| 71 |
|
| 72 |
%files -n libvhdi-static |
| 73 |
%license COPYING COPYING.LESSER |
| 74 |
%doc AUTHORS README |
| 75 |
%{_libdir}/*.a |
| 76 |
|
| 77 |
%files -n libvhdi-devel |
| 78 |
%license COPYING COPYING.LESSER |
| 79 |
%doc AUTHORS README |
| 80 |
%{_libdir}/*.so |
| 81 |
%{_libdir}/pkgconfig/libvhdi.pc |
| 82 |
%{_includedir}/* |
| 83 |
%{_mandir}/man3/* |
| 84 |
|
| 85 |
%files -n libvhdi-python3 |
| 86 |
%license COPYING COPYING.LESSER |
| 87 |
%doc AUTHORS README |
| 88 |
%{_libdir}/python3*/site-packages/*.a |
| 89 |
%{_libdir}/python3*/site-packages/*.so |
| 90 |
|
| 91 |
%files -n libvhdi-tools |
| 92 |
%license COPYING COPYING.LESSER |
| 93 |
%doc AUTHORS README |
| 94 |
%{_bindir}/* |
| 95 |
%{_mandir}/man1/* |
| 96 |
|
| 97 |
%changelog |
| 98 |
* Wed Nov 19 2025 Joachim Metz <[email protected]> 20251119-1 |
| 99 |
- Auto-generated |
| 100 |
|