Sophie

Sophie

distrib > Mageia > 8 > i586 > media > core-updates_testing-src > by-pkgid > 8422092b8b24b57dda5b1d7848c35f58 > files > 2

pioneerspacesim-20210203-1.mga8.src.rpm

%define game    pioneer

Name:           pioneerspacesim
Version:        20210203
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
Source0:        https://github.com/pioneerspacesim/pioneer/archive/%{version}/%{game}-%{version}.tar.gz

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 -n %{game}-%{version}

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

%install
%cmake_install

%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 Jun 04 2021 akien <akien> 20210203-1.mga8
+ Revision: 1729651
- Version 202102023

* Wed Dec 02 2020 luigiwalser <luigiwalser> 20200203-3.mga8
+ Revision: 1651368
- rebuild for glew

* Fri Feb 21 2020 umeabot <umeabot> 20200203-2.mga8
+ Revision: 1547794
- Mageia 8 Mass Rebuild

* Mon Feb 10 2020 daviddavid <daviddavid> 20200203-1.mga8
+ Revision: 1488406
- new version: 20200203
+ wally <wally>
- build with new cmake macros

* 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