[kshisen] import

Rex Dieter rdieter at fedoraproject.org
Tue Feb 26 14:33:32 UTC 2013


commit 852e2c8ecf76ad425c5ceae65819f8eb52923b8c
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Tue Feb 26 08:33:09 2013 -0600

    import

 .gitignore   |    1 +
 kshisen.spec |   88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 90 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9468c53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kshisen-4.10.0.tar.xz
diff --git a/kshisen.spec b/kshisen.spec
new file mode 100644
index 0000000..2db95c9
--- /dev/null
+++ b/kshisen.spec
@@ -0,0 +1,88 @@
+
+Name:    kshisen
+Summary: Shisen-Sho Mahjongg-like tile game
+Version: 4.10.0
+Release: 3%{?dist}
+
+License: GPLv2+ and GFDL
+URL:     https://projects.kde.org/projects/kde/kdegames/%{name}
+%global revision %(echo %{version} | cut -d. -f3)
+%if %{revision} >= 50
+%global stable unstable
+%else
+%global stable stable
+%endif
+Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
+
+BuildRequires: desktop-file-utils
+BuildRequires: libkdegames-devel >= %{version}
+BuildRequires: libkmahjongg-devel >= %{version}
+
+Requires: libkdegames%{?_isa} >= %{_kde4_version}
+Requires: libkmahjongg%{?_isa} >= %{_kde4_version}
+
+
+%description
+Shisen-Sho is a solitaire-like game played using the standard set of Mahjong
+tiles. Unlike Mahjong however, Shisen-Sho has only one layer of scrambled tiles.
+You can remove matching pieces if they can be connected with a line with at most
+two bends in it. At the same time, the line must not cross any other tiles.
+To win a game of Shisen-Sho the player has to remove all the tiles from the
+game board
+
+
+%prep
+%setup -q
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+%find_lang %{name} --with-kde
+
+
+%check
+desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop
+
+
+%post
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+
+%files -f %{name}.lang
+%doc COPYING*
+%{_kde4_bindir}/%{name}
+%{_kde4_datadir}/applications/kde4/%{name}.desktop
+%{_kde4_datadir}/sounds/%{name}/
+%{_kde4_configdir}.kcfg/%{name}*.kcfg
+%{_kde4_iconsdir}/hicolor/*/*/*
+%{_kde4_appsdir}/%{name}/
+
+
+%changelog
+* Sun Feb 24 2013 Rex Dieter <rdieter at fedoraproject.org> 4.10.0-3
+- update summary/description
+
+* Fri Feb 15 2013 Rex Dieter <rdieter at fedoraproject.org> 4.10.0-2
+- update license
+
+* Thu Feb 07 2013 Rex Dieter <rdieter at fedoraproject.org> 4.10.0-1
+- first try
+
diff --git a/sources b/sources
index e69de29..5220ce7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+34a03d655c046a11ecc22960c4ceba19  kshisen-4.10.0.tar.xz


More information about the scm-commits mailing list