Strip redundant sections/tags from specfile
OBS-URL: https://build.opensuse.org/package/show/games/0ad?expand=0&rev=34
This commit is contained in:
parent
02a41315aa
commit
0d9749b883
36
0ad.spec
36
0ad.spec
@ -1,15 +1,30 @@
|
||||
# norootforbuild
|
||||
#
|
||||
# spec file for package 0ad
|
||||
#
|
||||
# Copyright (c) 2012 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/
|
||||
#
|
||||
|
||||
|
||||
Name: 0ad
|
||||
Version: r11339
|
||||
Release: 1.0
|
||||
License: GNU GPL v2 or later
|
||||
Group: Amusements/Games/Strategy/Real Time
|
||||
Url: http://wildfiregames.com/0ad/
|
||||
Source: 0ad-%{version}-alpha-unix-build.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: DevIL-devel
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fam-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libcurl-devel
|
||||
@ -21,13 +36,12 @@ BuildRequires: nasm
|
||||
BuildRequires: python
|
||||
BuildRequires: subversion
|
||||
BuildRequires: zip
|
||||
BuildRequires: cmake
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: libenet-devel
|
||||
BuildRequires: openal-soft-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: update-desktop-files
|
||||
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildRequires: wxWidgets-wxcontainer-devel
|
||||
@ -46,11 +60,11 @@ BuildRequires: libSDL-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libenet-devel
|
||||
BuildRequires: openal-soft-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: wxGTK-devel
|
||||
%endif
|
||||
|
||||
@ -72,6 +86,8 @@ BuildRequires: libopenal1-soft
|
||||
|
||||
Requires: 0ad-data
|
||||
Summary: Free, Open-Source, Cross-Platform RTS Game of Ancient Warfare
|
||||
License: GPL-2.0+
|
||||
Group: Amusements/Games/Strategy/Real Time
|
||||
|
||||
%description
|
||||
0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform real-time
|
||||
@ -99,7 +115,6 @@ pushd build/workspaces/gcc
|
||||
%__make verbose=1 %{?_smp_mflags}
|
||||
popd
|
||||
|
||||
|
||||
%check
|
||||
#__make check
|
||||
|
||||
@ -137,9 +152,6 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||
%__mkdir_p %{buildroot}%{_libdir}/%{name}
|
||||
%__mkdir_p %{buildroot}%{_datadir}/%{name}
|
||||
|
||||
%clean
|
||||
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.txt
|
||||
@ -156,3 +168,5 @@ test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%dir %{_libdir}/%{name}
|
||||
%dir %{_datadir}/%{name}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user