mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-11 05:17:55 +03:00
Added udsactor-unamanged for rpm and bumped version to 3.6
This commit is contained in:
parent
2d2e2d7b1f
commit
072a722b09
@ -11,6 +11,9 @@ dpkg-buildpackage -b
|
|||||||
cat udsactor-template.spec |
|
cat udsactor-template.spec |
|
||||||
sed -e s/"version 0.0.0"/"version ${VERSION}"/g |
|
sed -e s/"version 0.0.0"/"version ${VERSION}"/g |
|
||||||
sed -e s/"release 1"/"release ${RELEASE}"/g > udsactor-$VERSION.spec
|
sed -e s/"release 1"/"release ${RELEASE}"/g > udsactor-$VERSION.spec
|
||||||
|
cat udsactor-unmanaged-template.spec |
|
||||||
|
sed -e s/"version 0.0.0"/"version ${VERSION}"/g |
|
||||||
|
sed -e s/"release 1"/"release ${RELEASE}"/g > udsactor-unmanaged-$VERSION.spec
|
||||||
|
|
||||||
# Now fix dependencies for opensuse
|
# Now fix dependencies for opensuse
|
||||||
# Note that, although on opensuse the library is "libXss1" on newer,
|
# Note that, although on opensuse the library is "libXss1" on newer,
|
||||||
@ -22,7 +25,7 @@ cat udsactor-template.spec |
|
|||||||
# sed -e s/"libXScrnSaver"/"libXss1"/g > udsactor-opensuse-$VERSION.spec
|
# sed -e s/"libXScrnSaver"/"libXss1"/g > udsactor-opensuse-$VERSION.spec
|
||||||
|
|
||||||
#for pkg in udsactor-$VERSION.spec udsactor-opensuse-$VERSION.spec; do
|
#for pkg in udsactor-$VERSION.spec udsactor-opensuse-$VERSION.spec; do
|
||||||
for pkg in udsactor-$VERSION.spec; do
|
for pkg in udsactor-*$VERSION.spec; do
|
||||||
|
|
||||||
rm -rf rpm
|
rm -rf rpm
|
||||||
for folder in SOURCES BUILD RPMS SPECS SRPMS; do
|
for folder in SOURCES BUILD RPMS SPECS SRPMS; do
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
udsactor (3.6.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* Upgraded to 3.6.0 release
|
||||||
|
|
||||||
|
-- Adolfo Gómez García <agomez@virtualcable.es> Fri, 1 Jul 2022 14:00:00 +0200
|
||||||
|
|
||||||
udsactor (3.5.0) stable; urgency=medium
|
udsactor (3.5.0) stable; urgency=medium
|
||||||
|
|
||||||
* Upgraded to 3.5.0 release
|
* Upgraded to 3.5.0 release
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
udsactor-unmanaged_3.5.0_all.deb admin optional
|
udsactor-unmanaged_3.6.0_all.deb admin optional
|
||||||
udsactor_3.5.0_all.deb admin optional
|
udsactor_3.6.0_all.deb admin optional
|
||||||
udsactor_3.5.0_amd64.buildinfo admin optional
|
udsactor_3.6.0_amd64.buildinfo admin optional
|
||||||
|
70
actor/linux/udsactor-unmanaged-template.spec
Normal file
70
actor/linux/udsactor-unmanaged-template.spec
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
%define _topdir %(echo $PWD)/rpm
|
||||||
|
%define name udsactor-unmanaged
|
||||||
|
%define version 0.0.0
|
||||||
|
%define release 1
|
||||||
|
%define buildroot %{_topdir}/%{name}-%{version}-%{release}-root
|
||||||
|
|
||||||
|
BuildRoot: %{buildroot}
|
||||||
|
Name: %{name}
|
||||||
|
Version: %{version}
|
||||||
|
Release: %{release}
|
||||||
|
Summary: Actor for Universal Desktop Services (UDS) Broker
|
||||||
|
License: BSD3
|
||||||
|
Group: Admin
|
||||||
|
Requires: python3-six python3-requests python3-qt5 libXScrnSaver
|
||||||
|
Vendor: Virtual Cable S.L.U.
|
||||||
|
URL: http://www.udsenterprise.com
|
||||||
|
Provides: udsactor
|
||||||
|
|
||||||
|
%define _rpmdir ../
|
||||||
|
%define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
curdir=`pwd`
|
||||||
|
cd ../..
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT DISTRO=rh install-udsactor-unmanaged
|
||||||
|
cd $curdir
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
curdir=`pwd`
|
||||||
|
cd ../..
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT DISTRO=rh clean
|
||||||
|
cd $curdir
|
||||||
|
|
||||||
|
|
||||||
|
%post
|
||||||
|
systemctl enable udsactor.service > /dev/null 2>&1
|
||||||
|
|
||||||
|
%preun
|
||||||
|
systemctl disable udsactor.service > /dev/null 2>&1
|
||||||
|
systemctl stop udsactor.service > /dev/null 2>&1
|
||||||
|
|
||||||
|
%postun
|
||||||
|
# $1 == 0 on uninstall, == 1 on upgrade for preun and postun (just a reminder for me... :) )
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
|
rm -rf /etc/udsactor
|
||||||
|
rm /var/log/udsactor.log
|
||||||
|
fi
|
||||||
|
# And, posibly, the .pyc leaved behind on /usr/share/UDSActor
|
||||||
|
rm -rf /usr/share/UDSActor > /dev/null 2>&1
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package provides the required components to allow this unmanaged machine to work on an environment managed by UDS Broker.
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
/etc/udsactor
|
||||||
|
/etc/xdg/autostart/UDSActorTool.desktop
|
||||||
|
/etc/systemd/system/udsactor.service
|
||||||
|
/usr/bin/UDSActorTool-startup
|
||||||
|
/usr/bin/udsactor
|
||||||
|
/usr/bin/udsvapp
|
||||||
|
/usr/bin/UDSActorTool
|
||||||
|
/usr/sbin/UDSActorConfig
|
||||||
|
/usr/sbin/UDSActorConfig-pkexec
|
||||||
|
/usr/share/UDSActor/*
|
||||||
|
/usr/share/applications/UDS_Actor_Configuration.desktop
|
||||||
|
/usr/share/autostart/UDSActorTool.desktop
|
||||||
|
/usr/share/polkit-1/actions/org.openuds.pkexec.UDSActorConfig.policy
|
Loading…
Reference in New Issue
Block a user