Package for ALT via gear

To run the build using etersoft-build-utils:
$ rpmbbb .gear/*.spec
master
Mikhail Novosyolov 3 years ago
parent ecc54d3139
commit 9266d83336
  1. 18
      .gear/doskast.spec
  2. 2
      .gear/rules

@ -5,23 +5,19 @@ Group: Graphical desktop/Other
Url: https://osmesh.ru Url: https://osmesh.ru
Version: 0.1 Version: 0.1
Release: 1 Release: 1
Source10: Makefile Source0: %name-%version.tar
Source11: doskast-server-watcher.desktop
Source12: doskast-server-watcher.sh
Source13: doskast-student.service
Source15: doskast-student-firewall.conf
Source16: doskast-trigger-connect.cgi
BuildArch: noarch BuildArch: noarch
BuildRequires: make BuildRequires: make
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%description %description
%SUMMARY Cast screen
#-------------------------------------------------------------- #--------------------------------------------------------------
%package board %package board
Summary: Doskast for server (board) Summary: Doskast for server (board)
Group: Graphical desktop/Other
Requires: xpra Requires: xpra
Requires: httpd Requires: httpd
@ -37,6 +33,7 @@ Requires: httpd
%package student %package student
Summary: Doskast for client (student) Summary: Doskast for client (student)
Group: Graphical desktop/Other
Requires: xpra Requires: xpra
Requires: curl Requires: curl
@ -48,16 +45,17 @@ Requires: curl
%config(noreplace) %{_sysconfdir}/systemd/system/doskast-student.service.d/doskast-student-firewall.conf %config(noreplace) %{_sysconfdir}/systemd/system/doskast-student.service.d/doskast-student-firewall.conf
%post student %post student
%systemd_post doskast-student.socket doskast-student.service %post_service doskast-student.socket doskast-student.service
%preun student %preun student
%systemd_preun doskast-student.socket doskast-student.service %preun_service doskast-student.socket doskast-student.service
#-------------------------------------------------------------- #--------------------------------------------------------------
%prep %prep
%setup -q
%build %build
%install %install
cp %sources .
desktop-file-validate *.desktop desktop-file-validate *.desktop
%makeinstall_std %makeinstall_std

@ -0,0 +1,2 @@
spec: .gear/doskast.spec
tar: . name=@name@-@version@ base=@name@-@version@
Loading…
Cancel
Save