Accepting request 93600 from home:jreidinger:branches:games
- fix locale detection OBS-URL: https://build.opensuse.org/request/show/93600 OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=29
This commit is contained in:
parent
39b2f837e5
commit
e8767df2e4
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 25 08:07:31 UTC 2011 - jreidinger@suse.com
|
||||
|
||||
- fix locale detection
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 7 22:18:39 UTC 2011 - andrea@opensuse.org
|
||||
|
||||
|
@ -1,3 +1,21 @@
|
||||
#
|
||||
# spec file for package widelands
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define build_launchpad 0
|
||||
|
||||
Name: widelands
|
||||
@ -6,10 +24,10 @@ Release: 1
|
||||
Summary: Open source realtime-strategy game
|
||||
Group: Amusements/Games/Strategy/Other
|
||||
License: GPLv2+
|
||||
URL: http://www.widelands.org
|
||||
Url: http://www.widelands.org
|
||||
Source0: %name-build16-src.tar.bz2
|
||||
Source1: %{name}.desktop
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: SDL_mixer-devel
|
||||
@ -46,7 +64,6 @@ perhaps will have a thought, what Widelands is all about.
|
||||
|
||||
%package data
|
||||
Summary: Data files for Widelands
|
||||
Group: Amusements/Games
|
||||
License: GPLv2+
|
||||
Requires: %{name} = %{version}
|
||||
%if 0%{?suse_version} >= 1120
|
||||
@ -54,7 +71,7 @@ BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description data
|
||||
Data files for Widelands.
|
||||
Data files for Widelands. Including localization, maps graphics and music.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%version-src
|
||||
@ -118,9 +135,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files data -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
# skip locale subdir, included in .lang file, only valid for < 12.1 as 12.1 detects only in /usr/share/locale
|
||||
%if 0%{?suse_version} < 1210
|
||||
%dir %{_datadir}/%{name}
|
||||
%dir %{_datadir}/%{name}/locale
|
||||
# skip locale subdir, included in .lang file
|
||||
%{_datadir}/%{name}/[^l]*
|
||||
%else
|
||||
%{_datadir}/%{name}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user