Accepting request 147162 from KDE:Distro:Factory

Updated build/runtime requirements (forwarded request 147159 from adra)

OBS-URL: https://build.opensuse.org/request/show/147162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/step?expand=0&rev=23
This commit is contained in:
Stephan Kulow
2013-01-07 10:07:43 +00:00
committed by Git OBS Bridge
parent 6255c826d4
commit bc0ffda3fd
4 changed files with 24 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package step
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 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
@@ -17,27 +17,19 @@
Name: step
BuildRequires: boost-devel
BuildRequires: fdupes
BuildRequires: freeglut-devel
BuildRequires: gsl-devel
BuildRequires: kdebase4-workspace-devel
BuildRequires: libeigen2-devel
BuildRequires: libgmm++-devel
BuildRequires: libkdeedu4-devel
BuildRequires: libopenbabel-devel
BuildRequires: libqalculate-devel
BuildRequires: libspectre-devel
BuildRequires: python
BuildRequires: xz
Version: 4.9.95
Version: 4.9.97
Release: 0
Summary: An interactive physics simulator
License: GPL-2.0+
Group: Productivity/Scientific/Physics
Url: http://edu.kde.org
Source0: %{name}-%{version}.tar.xz
Requires: libkeduvocdocument4
BuildRequires: fdupes
BuildRequires: gsl-devel
BuildRequires: libeigen2-devel
BuildRequires: libkde4-devel
BuildRequires: libqalculate-devel
BuildRequires: xz
Provides: kde4-step = 4.3.0
Obsoletes: kde4-step < 4.3.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -63,19 +55,11 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%make_jobs
%install
cd build
%make_install
%kde4_makeinstall -C build
%suse_update_desktop_file %{name} Education Physics X-KDE-Edu-Teaching
%kde_post_install
%fdupes -s %{buildroot}
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_kde4_applicationsdir}/step.desktop