Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > f43417a42264ea1e2f4226f3a3fbb986 > files > 2

pioneerspacesim-20190203-1.mga7.src.rpm

%define game    pioneer

Name:           pioneerspacesim
Version:        20190203
Release:        %mkrel 1
Summary:        Pioneer - A game of lonely space adventure
License:        GPLv3 and CC BY-SA 3.0
Group:          Games/Strategy
URL:            https://www.pioneerspacesim.net
# Repacked with LZMA to gain ~20 percent size
# https://github.com/pioneerspacesim/pioneer
Source0:        %{name}-%{version}.tar.xz

BuildRequires:  cmake
BuildRequires:  lua5.2-devel
BuildRequires:  pkgconfig(assimp)
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(gl)
BuildRequires:  pkgconfig(glew)
BuildRequires:  pkgconfig(libcurl)
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(sdl2)
BuildRequires:  pkgconfig(SDL2_image)
BuildRequires:  pkgconfig(sigc++-2.0)
BuildRequires:  pkgconfig(vorbisfile)
Requires:       %{name}-data = %{version}-%{release}

%description
Pioneer is a space adventure game set in our galaxy at the turn of the
31st century.

The game is open-ended, and you are free to eke out whatever kind of
space-faring existence you can think of. Look for fame or fortune by
exploring the millions of star systems. Turn to a life of crime as a
pirate, smuggler or bounty hunter. Forge and break alliances with the
various factions fighting for power, freedom or self-determination.
The universe is whatever you make of it.

%package data
Summary:        Data files for the Pioneer game
BuildArch:      noarch

%description data
This package contains arch-independent data files for the Pioneer game.

%prep
%autosetup -p1

%build
%cmake \
    -DCMAKE_INSTALL_BINDIR=%{_gamesbindir} \
    -DPIONEER_DATA_DIR=%{_gamesdatadir}/%{name} \
    -DUSE_PIONEER_THIRDPARTY=OFF \
    -DUSE_SYSTEM_LIBGLEW=ON \
    -DUSE_SYSTEM_LIBLUA=ON
%make_build

%install
%make_install -C build

%files
%doc AUTHORS.txt Changelog.txt README.md
%{_datadir}/appdata/net.pioneerspacesim.Pioneer.appdata.xml
%{_datadir}/applications/net.pioneerspacesim.Pioneer.desktop
%{_gamesbindir}/%{game}
%{_gamesbindir}/modelcompiler
%{_gamesbindir}/savegamedump
%{_iconsdir}/hicolor/*/apps/net.pioneerspacesim.Pioneer.png

%files data
%{_gamesdatadir}/%{name}/


%changelog
* Fri Apr 26 2019 akien <akien> 20190203-1.mga7
+ Revision: 1395484
- Version 20190203
- Switch to CMake buildsystem, recommended

* Wed Nov 14 2018 akien <akien> 20180203-1.mga7
+ Revision: 1329967
- Version 20180203

* Sun Sep 30 2018 umeabot <umeabot> 20170813-2.mga7
+ Revision: 1312588
- Mageia 7 Mass Rebuild

* Sat Aug 26 2017 akien <akien> 20170813-1.mga7
+ Revision: 1148091
- Require lua5.2 explicitly
- Version 20170813

* Wed Apr 26 2017 akien <akien> 20170415-1.mga6
+ Revision: 1097637
- Version 20170415

* Sun Mar 05 2017 akien <akien> 20170304-1.mga6
+ Revision: 1088744
- Version 20170304

* Sat Oct 29 2016 akien <akien> 20161028-1.mga6
+ Revision: 1063922
- Version 20161028

* Sat May 28 2016 akien <akien> 20160525-1.mga6
+ Revision: 1019259
- Version 20160525

* Sat Jan 09 2016 akien <akien> 20160106-1.mga6
+ Revision: 920737
- Version 20160106

* Tue Feb 03 2015 akien <akien> 20150201-1.mga5
+ Revision: 813242
- Version 20150201
- Move data to a noarch data package

* Wed Oct 15 2014 umeabot <umeabot> 20140908-3.mga5
+ Revision: 747591
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 20140908-2.mga5
+ Revision: 687603
- Mageia 5 Mass Rebuild

* Mon Sep 08 2014 akien <akien> 20140908-1.mga5
+ Revision: 673806
- Version 20140908

* Sat Jun 07 2014 akien <akien> 20140528-1.mga5
+ Revision: 634302
- imported package pioneerspacesim