You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
join-to-domain/SPECS/join-to-domain.spec

88 lines
2.2 KiB

Summary: GUI to join MSVSphere host to domain
Name: join-to-domain
Version: 0.6.7
Release: 4%{?dist}
License: GPLv2+
URL: https://redos.red-soft.ru/
Source0: join-to-domain.sh
Source1: ru.msvsphere.join-to-domain.policy
Source2: form-join-to-domain.py
Source3: join-to-domain.desktop
Requires: %{name}-cli = %{version}-%{release}
Requires: yad
Requires: python3dist(pyqt5)
BuildArch: noarch
%description
GUI for join MSVSphere host to domain.
%package cli
Summary: CLI to join MSVSphere host to domain
Requires: adcli
Requires: bind-utils
Requires: krb5-workstation
Requires: oddjob
Requires: oddjob-mkhomedir
Requires: polkit
Requires: realmd
Requires: samba-common
Requires: samba-common-tools
Requires: sssd
BuildArch: noarch
%description cli
CLI for join MSVSphere host to domain.
%prep
%build
# Nothing to build
%install
install -d %{buildroot}%{_bindir}/
install -d %{buildroot}%{_datadir}/polkit-1/actions/
install -d %{buildroot}%{_datadir}/join-to-domain/
install -d %{buildroot}%{_datadir}/applications/
install -m755 %{SOURCE0} %{buildroot}%{_bindir}/
install -m644 %{SOURCE1} %{buildroot}%{_datadir}/polkit-1/actions/
install -m755 %{SOURCE2} %{buildroot}%{_datadir}/join-to-domain/
install -m644 %{SOURCE3} %{buildroot}%{_datadir}/applications/
ln -sr %{buildroot}%{_bindir}/join-to-domain.sh %{buildroot}%{_bindir}/JoinToDomain
%files
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/form-join-to-domain.py
%{_datadir}/applications/join-to-domain.desktop
%files cli
%{_bindir}/JoinToDomain
%{_bindir}/join-to-domain.sh
%{_datadir}/polkit-1/actions/ru.msvsphere.join-to-domain.policy
%changelog
* Mon Aug 05 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.6.7-4
- Fix place of R: bind-utils
* Mon Aug 05 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.6.7-3
- Added R: bind-utils
* Fri Jul 26 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.6.7-2
- call python3 from bash script
* Fri Apr 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.6.7-1
- Sync with upstream - New version 0.6.7
* Fri Apr 05 2024 Arkady L. Shane <ashejn@msvsphere.ru> - 0.6.6-1
- Rebuilt for MSVSphere 9.2
* Fri Apr 5 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.6.6-1
- Initial build