Accepting request 82342 from KDE:Distro:Factory
Forward to Factory OBS-URL: https://build.opensuse.org/request/show/82342 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/step?expand=0&rev=5
This commit is contained in:
parent
e9374cb047
commit
de39dbf8cd
@ -1,3 +1,9 @@
|
||||
Tue Sep 13 12:41:10 UTC 2011 - toddrme2178@gmail.com
|
||||
|
||||
- Removed tests for obsolete openSUSE version (fix for RPMLINT warning)
|
||||
- Changed summary (fix for RPMLINT warning)
|
||||
- Cleaned up spec file formatting
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 1 23:33:49 CEST 2011 - dmueller@suse.de
|
||||
|
||||
|
44
step.spec
44
step.spec
@ -15,11 +15,12 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: step
|
||||
BuildRequires: avogadro-devel
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: glew-devel
|
||||
BuildRequires: gsl-devel
|
||||
BuildRequires: kdebase4-workspace-devel
|
||||
BuildRequires: libcfitsio-devel
|
||||
@ -31,17 +32,6 @@ BuildRequires: libopenbabel-devel
|
||||
BuildRequires: libqalculate-devel
|
||||
BuildRequires: libspectre-devel
|
||||
BuildRequires: python-qt4-devel
|
||||
BuildRequires: readline-devel
|
||||
%if 0%{?sles_version} == 0
|
||||
BuildRequires: glew-devel
|
||||
BuildRequires: python
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version} > 1120
|
||||
BuildRequires: avogadro-devel
|
||||
%endif
|
||||
%py_requires
|
||||
%endif
|
||||
|
||||
# currently in DOESNOTBUILD (2008-07-03)
|
||||
%ifnarch ppc ppc64 s390 s390x
|
||||
BuildRequires: ocaml
|
||||
@ -50,17 +40,16 @@ BuildRequires: ocaml-facile
|
||||
Version: 4.7.1
|
||||
Release: 1
|
||||
License: GPLv2+
|
||||
Summary: Step - A interactive physics simulator
|
||||
Summary: An interactive physics simulator
|
||||
Url: http://edu.kde.org
|
||||
Group: Productivity/Scientific/Physics
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
BuildRequires: fdupes
|
||||
Requires: libkeduvocdocument4
|
||||
Suggests: libkeduvocdocument4
|
||||
Provides: kde4-step = 4.3.0
|
||||
Obsoletes: kde4-step < 4.3.0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%kde4_runtime_requires
|
||||
%py_requires
|
||||
|
||||
%description
|
||||
Step is an interactive physical simulator. It works like this: you
|
||||
@ -72,7 +61,7 @@ how this will change evolution of the experiment. With Step you can not
|
||||
only learn but feel how physics works !
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%ifarch ppc ppc64
|
||||
@ -83,28 +72,25 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
|
||||
%install
|
||||
cd build
|
||||
%make_install
|
||||
%make_install
|
||||
%suse_update_desktop_file %{name} Education Physics X-KDE-Edu-Teaching
|
||||
%kde_post_install
|
||||
%if 0%{?suse_version} > 1020
|
||||
%fdupes -s %{buildroot}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%_kde4_bindir/step
|
||||
%_kde4_applicationsdir/step.desktop
|
||||
%_kde4_htmldir/en/step/
|
||||
%_kde4_iconsdir/hicolor/*/apps/step.*
|
||||
%_kde4_appsdir/step/
|
||||
%_kde4_sharedir/config.kcfg/step.kcfg
|
||||
%_kde4_configdir/step.knsrc
|
||||
%{_kde4_applicationsdir}/step.desktop
|
||||
%{_kde4_appsdir}/step/
|
||||
%{_kde4_bindir}/step
|
||||
%config %{_kde4_configdir}/step.knsrc
|
||||
%config %{_kde4_configkcfgdir}/step.kcfg
|
||||
%doc %{_kde4_htmldir}/en/step/
|
||||
%{_kde4_iconsdir}/hicolor/*/apps/step.*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user