- Change Source0 to use proper Web URL
- Use check for openSUSE %if 0%{?suse_version} - Use for BuildRequires pkgconfig(SDL_net), pkgconfig(sdl) instead of libSDL_net-devel, SDL-devel - Remove BuildRequires for pkgconfig OBS-URL: https://build.opensuse.org/package/show/games/7kaa?expand=0&rev=2
This commit is contained in:
parent
1bd765ced8
commit
3d442b6149
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 13 21:53:03 UTC 2014 - nemysis@gmx.ch
|
||||
|
||||
- Change Source0 to use proper Web URL
|
||||
- Use check for openSUSE %if 0%{?suse_version}
|
||||
- Use for BuildRequires pkgconfig(SDL_net), pkgconfig(sdl)
|
||||
instead of libSDL_net-devel, SDL-devel
|
||||
- Remove BuildRequires for pkgconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 4 21:02:03 UTC 2014 - nemysis@gmx.ch
|
||||
|
||||
|
16
7kaa.spec
16
7kaa.spec
@ -25,17 +25,18 @@ Summary: Seven Kingdoms: Ancient Adversaries
|
||||
License: GPL-2.0
|
||||
Group: Amusements/Games/StrategyGame
|
||||
Url: http://7kfans.com/
|
||||
Source0: http://sourceforge.net/projects/skfans/7KAA%20%{version}/%{name}-source-%{version}.tar.bz2
|
||||
Source0: http://downloads.sourceforge.net/7KAA%20%{version}/%{name}-source-%{version}.tar.bz2
|
||||
Source1: %{name}.png
|
||||
Source2: %{name}.desktop
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: libSDL_net-devel
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: openal-soft-devel
|
||||
BuildRequires: pkgconfig(SDL_net)
|
||||
BuildRequires: pkgconfig(sdl)
|
||||
Requires: %{name}-music
|
||||
|
||||
%description
|
||||
@ -71,9 +72,10 @@ install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
||||
# install Desktop file
|
||||
install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%suse_update_desktop_file %{name}
|
||||
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
x
Reference in New Issue
Block a user