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:
Jan Engelhardt 2012-03-25 13:24:05 +00:00 committed by Git OBS Bridge
parent 02a41315aa
commit 0d9749b883

View File

@ -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 Name: 0ad
Version: r11339 Version: r11339
Release: 1.0 Release: 1.0
License: GNU GPL v2 or later
Group: Amusements/Games/Strategy/Real Time
Url: http://wildfiregames.com/0ad/ Url: http://wildfiregames.com/0ad/
Source: 0ad-%{version}-alpha-unix-build.tar.gz Source: 0ad-%{version}-alpha-unix-build.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: boost-devel
BuildRequires: DevIL-devel BuildRequires: DevIL-devel
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: fam-devel BuildRequires: fam-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
@ -21,13 +36,12 @@ BuildRequires: nasm
BuildRequires: python BuildRequires: python
BuildRequires: subversion BuildRequires: subversion
BuildRequires: zip BuildRequires: zip
BuildRequires: cmake
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: update-desktop-files
BuildRequires: libenet-devel BuildRequires: libenet-devel
BuildRequires: openal-soft-devel BuildRequires: openal-soft-devel
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: update-desktop-files
%if 0%{?suse_version} >= 1140 %if 0%{?suse_version} >= 1140
BuildRequires: wxWidgets-wxcontainer-devel BuildRequires: wxWidgets-wxcontainer-devel
@ -46,11 +60,11 @@ BuildRequires: libSDL-devel
%endif %endif
%if 0%{?fedora_version} %if 0%{?fedora_version}
BuildRequires: SDL-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: libenet-devel BuildRequires: libenet-devel
BuildRequires: openal-soft-devel BuildRequires: openal-soft-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: SDL-devel
BuildRequires: wxGTK-devel BuildRequires: wxGTK-devel
%endif %endif
@ -72,6 +86,8 @@ BuildRequires: libopenal1-soft
Requires: 0ad-data Requires: 0ad-data
Summary: Free, Open-Source, Cross-Platform RTS Game of Ancient Warfare Summary: Free, Open-Source, Cross-Platform RTS Game of Ancient Warfare
License: GPL-2.0+
Group: Amusements/Games/Strategy/Real Time
%description %description
0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform real-time 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} %__make verbose=1 %{?_smp_mflags}
popd popd
%check %check
#__make check #__make check
@ -137,9 +152,6 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%__mkdir_p %{buildroot}%{_libdir}/%{name} %__mkdir_p %{buildroot}%{_libdir}/%{name}
%__mkdir_p %{buildroot}%{_datadir}/%{name} %__mkdir_p %{buildroot}%{_datadir}/%{name}
%clean
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README.txt %doc README.txt
@ -156,3 +168,5 @@ test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%dir %{_libdir}/%{name} %dir %{_libdir}/%{name}
%dir %{_datadir}/%{name} %dir %{_datadir}/%{name}
%changelog