update to 0.6.1 [release 0.6.1-1mamba;Sat Mar 06 2021]
This commit is contained in:
parent
aae33c3ad9
commit
a5cabca772
35
xmoto.spec
35
xmoto.spec
@ -1,13 +1,14 @@
|
|||||||
Name: xmoto
|
Name: xmoto
|
||||||
Version: 0.5.10
|
Version: 0.6.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A nice 2D motocross game
|
Summary: A nice 2D motocross game
|
||||||
Group: Graphical Desktop/Applications/Games
|
Group: Graphical Desktop/Applications/Games
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
||||||
URL: http://xmoto.tuxfamily.org/index.php?page=news
|
URL: https://xmoto.tuxfamily.org/
|
||||||
Source: http://download.tuxfamily.org/xmoto/xmoto/%{version}/xmoto-%{version}-src.tar.gz
|
Source: https://github.com/xmoto/xmoto.git/%{version}/xmoto-%{version}.tar.bz2
|
||||||
|
#Source: http://download.tuxfamily.org/xmoto/xmoto/%{version}/xmoto-%{version}-src.tar.gz
|
||||||
Source2: xmoto.desktop
|
Source2: xmoto.desktop
|
||||||
Source3: xmoto-icon.png
|
Source3: xmoto-icon.png
|
||||||
Patch0: xmoto-0.5.3-libpng14.patch
|
Patch0: xmoto-0.5.3-libpng14.patch
|
||||||
@ -38,22 +39,27 @@ BuildRequires: libz-devel
|
|||||||
%description
|
%description
|
||||||
xmoto is a nice 2D motocross game, where phisics rules are very strong
|
xmoto is a nice 2D motocross game, where phisics rules are very strong
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
#%patch0 -p1
|
#%patch1 -p0
|
||||||
%patch1 -p0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-enable-zoom=1
|
%cmake -d build
|
||||||
# Workarounf
|
|
||||||
sed -i "s|llua|llua5.1|" Makefile src/Makefile
|
## Workaround
|
||||||
|
#sed -i "s|llua|llua5.1|" Makefile src/Makefile
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall -C build
|
||||||
install -D %{SOURCE2} %{buildroot}%{_datadir}/applications/xmoto.desktop
|
|
||||||
install -D %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/xmoto.png
|
#install -D %{SOURCE2} %{buildroot}%{_datadir}/applications/xmoto.desktop
|
||||||
|
#install -D %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/xmoto.png
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -62,7 +68,7 @@ install -D %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/xmoto.png
|
|||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/xmoto
|
%{_bindir}/xmoto
|
||||||
%{_datadir}/pixmaps/xmoto.png
|
%{_datadir}/pixmaps/xmoto.xpm
|
||||||
%dir %{_datadir}/xmoto
|
%dir %{_datadir}/xmoto
|
||||||
%dir %{_datadir}/xmoto/Textures
|
%dir %{_datadir}/xmoto/Textures
|
||||||
%dir %{_datadir}/xmoto/Textures/Fonts
|
%dir %{_datadir}/xmoto/Textures/Fonts
|
||||||
@ -74,10 +80,13 @@ install -D %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/xmoto.png
|
|||||||
%{_datadir}/xmoto/xmoto_icone_x.ico
|
%{_datadir}/xmoto/xmoto_icone_x.ico
|
||||||
%{_datadir}/applications/xmoto.desktop
|
%{_datadir}/applications/xmoto.desktop
|
||||||
%{_mandir}/man6/xmoto.6*
|
%{_mandir}/man6/xmoto.6*
|
||||||
%doc AUTHORS COPYING
|
%doc COPYING
|
||||||
#ChangeLog NEWS README TODO
|
#ChangeLog NEWS README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 06 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-1mamba
|
||||||
|
- update to 0.6.1
|
||||||
|
|
||||||
* Sun Oct 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.10-1mamba
|
* Sun Oct 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.10-1mamba
|
||||||
- update to 0.5.10
|
- update to 0.5.10
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user