- 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
|
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
|
License: GPL-2.0
|
||||||
Group: Amusements/Games/StrategyGame
|
Group: Amusements/Games/StrategyGame
|
||||||
Url: http://7kfans.com/
|
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
|
Source1: %{name}.png
|
||||||
Source2: %{name}.desktop
|
Source2: %{name}.desktop
|
||||||
|
%if 0%{?suse_version}
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: update-desktop-files
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: SDL-devel
|
%endif
|
||||||
BuildRequires: libSDL_net-devel
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: openal-soft-devel
|
BuildRequires: openal-soft-devel
|
||||||
|
BuildRequires: pkgconfig(SDL_net)
|
||||||
|
BuildRequires: pkgconfig(sdl)
|
||||||
Requires: %{name}-music
|
Requires: %{name}-music
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -71,9 +72,10 @@ install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|||||||
# install Desktop file
|
# install Desktop file
|
||||||
install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
%suse_update_desktop_file %{name}
|
%suse_update_desktop_file %{name}
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_prefix}
|
%fdupes %{buildroot}%{_prefix}
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user