alephone-marathon2/alephone-marathon2.spec

71 lines
2.3 KiB
RPMSpec

Name: alephone-marathon2
Version: 20240119
Release: 1mamba
Summary: Marathon scenario data files for Aleph One
Group: Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/it/plasma-desktop/
Source: https://github.com/Aleph-One-Marathon/alephone/releases/download/release-%{version}/Marathon2-%{version}-Data.zip
Source1: alephone-marathon2.sh
Source2: alephone-marathon2.desktop
Source3: alephone-scenario-LICENSE
License: no OSI Approved
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: alephone
Provides: AlephOne-MarathonEvil
Obsoletes: AlephOne-MarathonEvil < 20210408
%description
Marathon scenario data files for Aleph One.
%prep
%setup -q -c -n %{name}-%{version}
cp %{SOURCE3} LICENSE
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_datadir}/AlephOne/scenarios
cp -a Marathon\ 2 %{buildroot}%{_datadir}/AlephOne/scenarios/Marathon2
install -D -m0755 %{SOURCE1} %{buildroot}%{_bindir}/%{name}
install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/applications/%{name}.desktop
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%dir %{_datadir}/AlephOne/scenarios/Marathon2
%{_datadir}/AlephOne/scenarios/Marathon2/*
%doc LICENSE
%changelog
* Sat Jan 20 2024 Automatic Build System <autodist@openmamba.org> 20240119-1mamba
- automatic version update by autodist
* Sun Nov 26 2023 Automatic Build System <autodist@mambasoft.it> 20231125-1mamba
- automatic version update by autodist
* Tue May 30 2023 Automatic Build System <autodist@mambasoft.it> 20230529-1mamba
- automatic version update by autodist
* Sat Jan 21 2023 Automatic Build System <autodist@mambasoft.it> 20230119-1mamba
- automatic version update by autodist
* Mon Nov 28 2022 Automatic Build System <autodist@mambasoft.it> 20221126-1mamba
- automatic version update by autodist
* Mon Jan 17 2022 Automatic Build System <autodist@mambasoft.it> 20220115-1mamba
- automatic version update by autodist
* Fri Dec 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20210408-1mamba
- package created by autospec