2011-07-25 12:48:32 +02:00
|
|
|
#
|
2011-07-25 12:48:45 +02:00
|
|
|
# spec file for package kanagram
|
2011-07-25 12:48:32 +02:00
|
|
|
#
|
|
|
|
# Copyright (c) 2011 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: kanagram
|
2011-07-27 16:35:21 +02:00
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: freeglut-devel
|
|
|
|
BuildRequires: gsl-devel
|
|
|
|
BuildRequires: kdebase4-workspace-devel
|
|
|
|
BuildRequires: libcfitsio-devel
|
|
|
|
BuildRequires: libeigen2-devel
|
|
|
|
BuildRequires: libgmm++-devel
|
|
|
|
BuildRequires: libindi-devel
|
2011-07-25 12:48:32 +02:00
|
|
|
BuildRequires: libkdeedu4-devel
|
2011-07-27 16:35:21 +02:00
|
|
|
BuildRequires: libopenbabel-devel
|
|
|
|
BuildRequires: libqalculate-devel
|
|
|
|
BuildRequires: libspectre-devel
|
|
|
|
BuildRequires: python-qt4-devel
|
|
|
|
BuildRequires: readline-devel
|
2011-07-25 12:48:32 +02:00
|
|
|
%if 0%{?sles_version} == 0
|
2011-07-27 16:35:21 +02:00
|
|
|
BuildRequires: glew-devel
|
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: python-devel
|
2011-07-25 12:48:32 +02:00
|
|
|
%if 0%{?suse_version} > 1120
|
|
|
|
BuildRequires: avogadro-devel
|
|
|
|
%endif
|
2011-07-27 16:35:21 +02:00
|
|
|
%py_requires
|
2011-07-25 12:48:32 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# currently in DOESNOTBUILD (2008-07-03)
|
|
|
|
%ifnarch ppc ppc64 s390 s390x
|
2011-07-27 16:35:21 +02:00
|
|
|
BuildRequires: ocaml
|
|
|
|
BuildRequires: ocaml-facile
|
2011-07-25 12:48:32 +02:00
|
|
|
%endif
|
2011-12-08 11:56:40 +01:00
|
|
|
Version: 4.7.4
|
|
|
|
Release: 0
|
2011-07-25 12:48:32 +02:00
|
|
|
Summary: Anagram Game
|
2011-12-08 11:56:40 +01:00
|
|
|
License: GPL-2.0+
|
2011-07-27 16:35:21 +02:00
|
|
|
Group: Amusements/Teaching/Language
|
2011-12-08 11:56:40 +01:00
|
|
|
Url: http://edu.kde.org
|
2011-07-27 16:35:21 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: fdupes
|
2011-07-25 12:48:32 +02:00
|
|
|
Requires: libkdeedu4
|
2011-07-27 16:35:21 +02:00
|
|
|
Requires: libkeduvocdocument4
|
2011-07-25 12:48:32 +02:00
|
|
|
Provides: kde4-kanagram = 4.3.0
|
|
|
|
Obsoletes: kde4-kanagram < 4.3.0
|
2011-07-27 16:35:21 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%kde4_runtime_requires
|
2011-07-25 12:48:32 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Kanagram is a letter order game.
|
|
|
|
|
|
|
|
%prep
|
2011-07-27 16:35:21 +02:00
|
|
|
%setup -q -n %{name}-%{version}
|
2011-07-25 12:48:32 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc ppc64
|
2011-07-27 16:35:21 +02:00
|
|
|
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
2011-07-25 12:48:32 +02:00
|
|
|
%endif
|
|
|
|
%cmake_kde4 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
cd build
|
2011-07-27 16:35:21 +02:00
|
|
|
%makeinstall
|
2011-07-25 12:48:32 +02:00
|
|
|
%suse_update_desktop_file %{name} Education Languages
|
|
|
|
%kde_post_install
|
2011-07-27 16:35:21 +02:00
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
%fdupes -s %{buildroot}
|
2011-07-25 12:48:32 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%clean
|
2011-07-27 16:35:21 +02:00
|
|
|
rm -rf %{buildroot}
|
2011-07-25 12:48:32 +02:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_kde4_bindir/kanagram
|
|
|
|
%_kde4_applicationsdir/kanagram.desktop
|
|
|
|
%_kde4_htmldir/en/kanagram/
|
|
|
|
%_kde4_iconsdir/hicolor/*/apps/kanagram.*
|
|
|
|
%_kde4_appsdir/kanagram/
|
|
|
|
%_kde4_sharedir/config.kcfg/kanagram.kcfg
|
|
|
|
%_kde4_configdir/kanagram.knsrc
|
|
|
|
|
|
|
|
%changelog
|