automatic version update by autodist [release 3.13.0-1mamba;Thu Mar 09 2017]

This commit is contained in:
Automatic Build System 2024-01-06 07:04:00 +01:00
parent 48267f4804
commit b21b7dc6d9
3 changed files with 88 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# megaglest-data
MegaGlest is a free 3D real time strategy game, that can be modified using XML and a set of tools.
This package contains the data files for the game.

17
glest-get-translations.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/sh
version=$1
if [ -z "$version" ]; then
echo "Usage: $0 <version>"
exit 2
fi
rm -rf translations
mkdir translations
cd translations
wget -r -N -l 1 -np -nd -A "*_$version.zip" http://www.glest.org/files/contrib/translations/
rm -f robots.txt
cd ..
tar -czf glest-translations-$version.tar.gz translations
rm -rf translations

68
megaglest-data.spec Normal file
View File

@ -0,0 +1,68 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: megaglest-data
Version: 3.13.0
Release: 1mamba
Summary: Data files for the game MegaGlest
Group: Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://glest.org
Source0: https://github.com/MegaGlest/megaglest-data.git/%{version}/megaglest-data-%{version}.tar.bz2
Source1: glest-get-translations.sh
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: ImageMagick
Requires: megaglest => %{majver}
Requires: megaglest <= %{majver}.255
Provides: glest-data
Obsoletes: glest-data
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
MegaGlest is a free 3D real time strategy game, that can be modified using XML and a set of tools.
This package contains the data files for the game.
%prep
%setup -q
%build
%cmake -d build
%install
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_datadir}/megaglest
%{_datadir}/megaglest/*
%{_datadir}/appdata/megaglest*.appdata.xml
%{_datadir}/applications/megaglest*.desktop
%{_datadir}/menu/megaglest
%{_datadir}/pixmaps/megaglest.*
%changelog
* Thu Mar 09 2017 Automatic Build System <autodist@mambasoft.it> 3.13.0-1mamba
- automatic version update by autodist
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.0-1mamba
- update to 3.12.0
* Sun Mar 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9.0-1mamba
- update to 3.9.0
* Mon Jul 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.1-1mamba
- update to 3.7.1
* Mon Jul 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-2mamba
- make version requirement for glest less strict
* Thu Apr 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
- update to 3.2.1
* Wed Jul 30 2008 gil <puntogil@libero.it> 3.1.2-1mamba
- package created by autospec