Remove redundant/unwanted tags/section (cf. specfile guidelines)
OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=30
This commit is contained in:
parent
e8767df2e4
commit
973e69e824
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 25 22:06:22 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
|
||||
- Simplify call to perl-rename
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 25 08:07:31 UTC 2011 - jreidinger@suse.com
|
||||
|
||||
|
@ -24,7 +24,7 @@ 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}-build
|
||||
@ -64,7 +64,6 @@ perhaps will have a thought, what Widelands is all about.
|
||||
|
||||
%package data
|
||||
Summary: Data files for Widelands
|
||||
License: GPLv2+
|
||||
Requires: %{name} = %{version}
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
@ -79,7 +78,7 @@ Data files for Widelands. Including localization, maps graphics and music.
|
||||
# for launchpad translation update
|
||||
cd ..
|
||||
tar -xzf %SOURCE2
|
||||
find po -name "*.po" |perl -ne 'chomp;$a=$_;$a=~s/\/[^\/]*-/\//; rename $_,"widelands/$a";'
|
||||
find po -name "*.po" |perl -ne 'chomp;$a=$_;$a=~s{/[^/]*-}{/}; rename $_,"widelands/$a";'
|
||||
%endif
|
||||
|
||||
%build
|
||||
@ -112,9 +111,6 @@ install -D -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.de
|
||||
%fdupes $RPM_BUILD_ROOT%{_datadir}
|
||||
%find_lang %{name} --all-name
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING CREDITS ChangeLog
|
||||
|
Loading…
Reference in New Issue
Block a user