From 9266d83336be60d053f7ffe73844e5c60c495e43 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Thu, 21 Apr 2022 18:08:00 +0300 Subject: [PATCH] Package for ALT via gear To run the build using etersoft-build-utils: $ rpmbbb .gear/*.spec --- doskast.spec => .gear/doskast.spec | 18 ++++++++---------- .gear/rules | 2 ++ 2 files changed, 10 insertions(+), 10 deletions(-) rename doskast.spec => .gear/doskast.spec (74%) create mode 100644 .gear/rules diff --git a/doskast.spec b/.gear/doskast.spec similarity index 74% rename from doskast.spec rename to .gear/doskast.spec index dbf8913..043654f 100644 --- a/doskast.spec +++ b/.gear/doskast.spec @@ -5,23 +5,19 @@ Group: Graphical desktop/Other Url: https://osmesh.ru Version: 0.1 Release: 1 -Source10: Makefile -Source11: doskast-server-watcher.desktop -Source12: doskast-server-watcher.sh -Source13: doskast-student.service -Source15: doskast-student-firewall.conf -Source16: doskast-trigger-connect.cgi +Source0: %name-%version.tar BuildArch: noarch BuildRequires: make BuildRequires: desktop-file-utils %description -%SUMMARY +Cast screen #-------------------------------------------------------------- %package board Summary: Doskast for server (board) +Group: Graphical desktop/Other Requires: xpra Requires: httpd @@ -37,6 +33,7 @@ Requires: httpd %package student Summary: Doskast for client (student) +Group: Graphical desktop/Other Requires: xpra Requires: curl @@ -48,16 +45,17 @@ Requires: curl %config(noreplace) %{_sysconfdir}/systemd/system/doskast-student.service.d/doskast-student-firewall.conf %post student -%systemd_post doskast-student.socket doskast-student.service +%post_service doskast-student.socket doskast-student.service %preun student -%systemd_preun doskast-student.socket doskast-student.service +%preun_service doskast-student.socket doskast-student.service #-------------------------------------------------------------- %prep +%setup -q + %build %install -cp %sources . desktop-file-validate *.desktop %makeinstall_std diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..b552dc0 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +spec: .gear/doskast.spec +tar: . name=@name@-@version@ base=@name@-@version@