1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-02 09:02:03 +02:00

Update RPM spec

* Update instructions to fetch 0.99 tarball
* Remove missing README.linux file
* Add postinstall to create symlink to libvcmi.so
This commit is contained in:
Trung Lê 2020-05-05 18:44:42 +10:00 committed by GitHub
parent fca9bcdd7f
commit 3338e4b855
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,9 +9,9 @@ Group: Amusements/Games
# 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.98.tar.gz
# tar -xzf 0.98.tar.gz vcmi-0.98-1
Source: vcmi-0.98-1.tar.gz
# 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
URL: http://forum.vcmi.eu/portal.php
@ -49,7 +49,7 @@ rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
%files
%doc README.md README.linux license.txt AUTHORS ChangeLog
%doc README.md license.txt AUTHORS ChangeLog
%{_bindir}/vcmiclient
%{_bindir}/vcmiserver
%{_bindir}/vcmibuilder
@ -60,6 +60,9 @@ make DESTDIR=%{buildroot} install
%{_datadir}/applications/*
%{_datadir}/icons/*
%post
%{__ln_s} -f %{_libdir}/%{name}/libvcmi.so %{_libdir}/libvcmi.so
%changelog
* Tue Nov 01 2016 VCMI - 0.99-1