1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/rpm/vcmi.spec

106 lines
2.5 KiB
RPMSpec
Raw Normal View History

2015-04-02 22:27:33 +02:00
Summary: VCMI is an open-source project aiming to reimplement HoMM3 game engine, giving it new and extended possibilities.
2013-10-02 21:01:11 +03:00
Name: vcmi
2016-11-01 19:45:50 +02:00
Version: 0.99
2013-10-02 21:01:11 +03:00
Release: 1%{?dist}
License: GPLv2+
Group: Amusements/Games
2015-04-02 22:58:50 +02:00
%define _unpackaged_files_terminate_build 0
# The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
# wget https://github.com/vcmi/vcmi/archive/0.99.tar.gz
# tar -xzf 0.99.tar.gz vcmi-0.99-1
Source: vcmi-0.99-1.tar.gz
2013-10-02 21:01:11 +03:00
URL: http://forum.vcmi.eu/portal.php
2015-04-02 22:28:02 +02:00
2013-10-02 21:01:11 +03:00
BuildRequires: cmake
BuildRequires: gcc-c++ >= 4.7.2
2015-04-02 22:28:02 +02:00
BuildRequires: SDL2-devel
BuildRequires: SDL2_image-devel
BuildRequires: SDL2_ttf-devel
BuildRequires: SDL2_mixer-devel
BuildRequires: boost >= 1.51
BuildRequires: boost-devel >= 1.51
BuildRequires: boost-filesystem >= 1.51
BuildRequires: boost-iostreams >= 1.51
BuildRequires: boost-system >= 1.51
BuildRequires: boost-thread >= 1.51
BuildRequires: boost-program-options >= 1.51
BuildRequires: boost-locale >= 1.51
2013-10-02 21:01:11 +03:00
BuildRequires: zlib-devel
BuildRequires: ffmpeg-devel
BuildRequires: ffmpeg-libs
BuildRequires: qt5-qtbase-devel
%description
2015-04-02 22:27:33 +02:00
VCMI is an open-source project aiming to reimplement HoMM3 game engine, giving it new and extended possibilities.
%prep
%setup -q -n %{name}-%{version}-1
%build
2016-09-30 00:09:09 +02:00
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TEST=0 ./
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
%files
%doc README.md license.txt AUTHORS ChangeLog
%{_bindir}/vcmiclient
%{_bindir}/vcmiserver
%{_bindir}/vcmibuilder
2013-10-02 21:01:11 +03:00
%{_bindir}/vcmilauncher
%{_libdir}/%{name}/*
%{_datadir}/%{name}/*
%{_datadir}/applications/*
%{_datadir}/icons/*
%post
%{__ln_s} -f %{_libdir}/%{name}/libvcmi.so %{_libdir}/libvcmi.so
%changelog
2016-11-01 19:45:50 +02:00
2016-11-01 20:26:09 +02:00
* Tue Nov 01 2016 VCMI - 0.99-1
2016-11-01 19:45:50 +02:00
- New upstream release
2015-04-02 22:27:33 +02:00
* Wed Apr 01 2015 VCMI - 0.98-1
2015-04-01 22:21:36 +02:00
- New upstream release
2015-04-02 22:27:33 +02:00
* Sun Nov 02 2014 VCMI - 0.97-1
2015-04-01 22:21:36 +02:00
- New upstream release
2015-04-02 22:27:33 +02:00
* Tue Jul 01 2014 VCMI - 0.96-1
2015-04-01 22:21:36 +02:00
- New upstream release
2015-04-02 22:27:33 +02:00
* Sat Mar 01 2014 VCMI - 0.95-1
- New upstream release
2015-04-02 22:27:33 +02:00
* Wed Oct 02 2013 VCMI - 0.94-1
2013-10-02 21:01:11 +03:00
- New upstream release
2015-04-02 22:27:33 +02:00
* Sun Jun 02 2013 VCMI - 0.93-1
- New upstream release
2015-04-02 22:27:33 +02:00
* Wed Mar 06 2013 VCMI - 0.92-1
- New upstream release
2015-04-02 22:27:33 +02:00
* Fri Feb 01 2013 VCMI - 0.91-2
- New upstream release
2015-04-02 22:27:33 +02:00
* Wed Jan 30 2013 VCMI - 0.91-1
- Development release
2015-04-02 22:27:33 +02:00
* Sun Oct 21 2012 VCMI - 0.90-2
- Second release of 0.90, Fixed battles crash
2015-04-02 22:27:33 +02:00
* Sat Oct 06 2012 VCMI - 0.90-1
- New upstream release
2015-04-02 22:27:33 +02:00
* Fri Jun 08 2012 VCMI - 0.89-1
- Initial version