Github Source0 fix.
This commit is contained in:
parent
91c8660e63
commit
0a9e21840b
@ -1,16 +1,20 @@
|
|||||||
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%global gitcommit 960009d
|
||||||
|
%global gitname celeron55
|
||||||
|
|
||||||
Name: minetest
|
Name: minetest
|
||||||
Version: 0.2.20110922_2
|
Version: 0.2.20110922_2
|
||||||
Release: 1%{?dist}
|
Release: 1.git%{gitcommit}%{?dist}.R
|
||||||
Summary: An InfiniMiner/Minecraft inspired game
|
Summary: An InfiniMiner/Minecraft inspired game
|
||||||
|
|
||||||
Group: Amusements/Games
|
Group: Amusements/Games
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://celeron.55.lt/minetest/
|
URL: http://celeron.55.lt/minetest/
|
||||||
|
|
||||||
|
# wget https://github.com/celeron55/minetest/tarball/960009d
|
||||||
|
Source0: https://github.com/celeron55/minetest/tarball/%{gitcommit}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
#Github Source https://github.com/celeron55/minetest/tarball/stable
|
|
||||||
Source0: %{name}-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
BuildRequires: cmake >= 2.6.0
|
BuildRequires: cmake >= 2.6.0
|
||||||
BuildRequires: irrlicht-devel bzip2-devel libpng-devel libjpeg-turbo-devel libXxf86vm mesa-libGL-devel jthread-devel sqlite-devel gettext-devel
|
BuildRequires: irrlicht-devel bzip2-devel libpng-devel libjpeg-turbo-devel libXxf86vm mesa-libGL-devel jthread-devel sqlite-devel gettext-devel
|
||||||
Requires: mesa-libGL irrlicht jthread sqlite gettext
|
Requires: mesa-libGL irrlicht jthread sqlite gettext
|
||||||
@ -19,7 +23,7 @@ Requires: mesa-libGL irrlicht jthread sqlite gettext
|
|||||||
An InfiniMiner/Minecraft inspired game
|
An InfiniMiner/Minecraft inspired game
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{gitname}-%{name}-%{gitcommit}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DSQLITE3_INCLUDE_DIR=%{_includedir}/sqlite3 -DJTHREAD_INCLUDE_DIR=%{_includedir}/jthread .
|
%cmake -DSQLITE3_INCLUDE_DIR=%{_includedir}/sqlite3 -DJTHREAD_INCLUDE_DIR=%{_includedir}/jthread .
|
||||||
@ -42,7 +46,5 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Sep 30 2011 Aleksandra Bookwar <alpha@bookwar.info> - 0.2.20110922_2-1
|
* Fri Sep 30 2011 Aleksandra Bookwar <alpha@bookwar.info> - 0.2.20110922_2-1.git960009d%{?dist}.R
|
||||||
- Basic build of the current stable version.
|
- Basic build of the current stable version.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user