From 13daee4bc4414e5af0a5fa3fe3a0d9a941977d8e Mon Sep 17 00:00:00 2001 From: Sergey Konev Date: Thu, 12 Dec 2024 19:06:36 +0300 Subject: [PATCH] Project structure --- .gear/rules | 1 + Makefile | 7 +++++++ alterator-lvm2.spec | 42 ++++++++++++++++++++++++++++++++++++++ applications/lvm2.desktop | 9 ++++++++ backend3/lvm2.pl | 0 ui/lvm2/virtualization.scm | 0 6 files changed, 59 insertions(+) create mode 100644 .gear/rules create mode 100644 Makefile create mode 100644 alterator-lvm2.spec create mode 100644 applications/lvm2.desktop create mode 100644 backend3/lvm2.pl create mode 100644 ui/lvm2/virtualization.scm diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..5c4b7b1 --- /dev/null +++ b/.gear/rules @@ -0,0 +1 @@ +tar: . \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cc818cc --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +NAME=lvm2 + +all: +clean: +install: install-module + +include /usr/share/alterator/build/module.mak diff --git a/alterator-lvm2.spec b/alterator-lvm2.spec new file mode 100644 index 0000000..5200965 --- /dev/null +++ b/alterator-lvm2.spec @@ -0,0 +1,42 @@ +%define _unpackaged_files_terminate_build 1 + + +Name: alterator-lvm2 +Version: 1.0.0 +Release: alt1 + +Summary: Alterator module for volume management based on lvm2 +License: GPLv3 +Group: System/Configuration/Other + +Source: %name-%version.tar + +BuildRequires: alterator >= 5.0 guile-devel >= 2.0 + +Requires: alterator >= 4.10-alt6 +Requires: alterator-l10n >= 2.2-alt1 + +Requires: lvm2 + +%description +Alterator module for volume management based on lvm2 + +%prep +%setup + +%build +%make_build + +%install +%makeinstall + +%files +%_alterator_datadir/applications/* +%_alterator_datadir/ui/*/ +%_alterator_backend3dir/* +%_alterator_libdir/ui/* + +%changelog +* Thu Dec 12 2024 Sergey Konev 1.0.0-alt1 +- Initial package + diff --git a/applications/lvm2.desktop b/applications/lvm2.desktop new file mode 100644 index 0000000..37d7419 --- /dev/null +++ b/applications/lvm2.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Categories=X-Alterator-Other +Terminal=false +Name=Alterator module name +Icon=lvm2 +X-Alterator-URI=/lvm2 +X-Alterator-Weight=20 +X-Alterator-Help=lvm2 diff --git a/backend3/lvm2.pl b/backend3/lvm2.pl new file mode 100644 index 0000000..e69de29 diff --git a/ui/lvm2/virtualization.scm b/ui/lvm2/virtualization.scm new file mode 100644 index 0000000..e69de29