File hpux-lvm-tools.spec of Package hpux-lvm-tools
#
# spec file for package hpux-lvm-tools
#
# Copyright (c) 2025, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: hpux-lvm-tools
Version: 1.0.0
Release: 0
Summary: Utilities for HP-UX logical volumes
License: GPL-2.0-only
Group: System/Filesystems
#SVN-checkout: https://svn.code.sf.net/p/hpux-lvm-tools/code
URL: https://sourceforge.net/projects/hpux-lvm-tools/
Source: https://sourceforge.net/projects/hpux-lvm-tools/files/hpux-lvm-tools/%{name}-v%{version}/%{name}-v%{version}.tar.gz
%description
hpux-lvm-tools provides a set of userspace utilies for HP-UX logical volumes
which makes creating HP-UX logical volumes easy from HP-UX disk block device
file or regular file with image of the disk.
See linux-vxfs for a more modern replacement of these tools.
%prep
%autosetup -p1 -c
%build
# TODO: flags
%make_build
%install
for f in pvactivate_hpux pvdisplay_hpux vgscan_hpux; do
install -Dpm0755 "$f" "%{buildroot}%{_sbindir}/$f"
done
%files
%doc README LVM.README
%{_sbindir}/pvactivate_hpux
%{_sbindir}/pvdisplay_hpux
%{_sbindir}/vgscan_hpux
%changelog