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
|
|
|
#
|
2013-01-07 10:59:55 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-07-25 12:48:32 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2012-03-12 20:13:41 +01:00
|
|
|
|
2011-07-25 12:48:32 +02:00
|
|
|
Name: kanagram
|
2013-12-02 12:32:19 +01:00
|
|
|
Version: 4.11.90
|
2011-12-08 11:56:40 +01:00
|
|
|
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
|
2012-04-12 09:28:27 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2013-01-07 10:59:55 +01:00
|
|
|
BuildRequires: libkde4-devel
|
|
|
|
BuildRequires: libkdeedu4-devel
|
|
|
|
BuildRequires: xz
|
|
|
|
Requires: libkanagramengine4 = %version
|
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.
|
|
|
|
|
2012-09-12 07:08:32 +02:00
|
|
|
%package devel
|
|
|
|
Summary: Kanagram engine library - Development Files
|
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: libkanagramengine4 = %version
|
|
|
|
Requires: libkde4-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains a library for the Kanagram letter order game
|
|
|
|
|
|
|
|
%package -n libkanagramengine4
|
|
|
|
Summary: Kanagram Engine library
|
|
|
|
Group: Productivity/Graphics/Other
|
|
|
|
|
|
|
|
%description -n libkanagramengine4
|
|
|
|
This package contains a library for the Kanagram letter order game
|
|
|
|
|
2011-07-25 12:48:32 +02:00
|
|
|
%prep
|
2013-01-07 10:59:55 +01:00
|
|
|
%setup -q
|
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
|
2013-01-07 10:59:55 +01:00
|
|
|
%kde4_makeinstall -C build
|
2011-07-25 12:48:32 +02:00
|
|
|
%kde_post_install
|
|
|
|
|
2013-01-07 10:59:55 +01:00
|
|
|
%post -n libkanagramengine4 -p /sbin/ldconfig
|
2011-07-25 12:48:32 +02:00
|
|
|
|
2013-01-07 10:59:55 +01:00
|
|
|
%postun -n libkanagramengine4 -p /sbin/ldconfig
|
2011-07-25 12:48:32 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_kde4_bindir/kanagram
|
2013-01-07 10:59:55 +01:00
|
|
|
%dir %_kde4_iconsdir/hicolor/24x24
|
|
|
|
%dir %_kde4_iconsdir/hicolor/24x24/apps
|
2012-09-12 07:08:32 +02:00
|
|
|
%dir %_kde4_iconsdir/hicolor/80x80
|
|
|
|
%dir %_kde4_iconsdir/hicolor/80x80/apps
|
2011-07-25 12:48:32 +02:00
|
|
|
%_kde4_applicationsdir/kanagram.desktop
|
|
|
|
%_kde4_htmldir/en/kanagram/
|
2013-01-07 10:59:55 +01:00
|
|
|
%_kde4_iconsdir/hicolor/*/apps/kanagram*
|
2011-07-25 12:48:32 +02:00
|
|
|
%_kde4_appsdir/kanagram/
|
|
|
|
%_kde4_sharedir/config.kcfg/kanagram.kcfg
|
|
|
|
%_kde4_configdir/kanagram.knsrc
|
2012-09-12 07:08:32 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_kde4_libdir/libkanagramengine.so
|
2013-01-07 10:59:55 +01:00
|
|
|
%_kde4_includedir/kanagram/
|
2012-09-12 07:08:32 +02:00
|
|
|
|
|
|
|
%files -n libkanagramengine4
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_kde4_libdir/libkanagramengine.so.*
|
2011-07-25 12:48:32 +02:00
|
|
|
|
|
|
|
%changelog
|