[kubrick] import

Rex Dieter rdieter at fedoraproject.org
Tue Feb 19 14:44:12 UTC 2013


commit 713461923e9dcb3c37c4df29934a937902a2ee0c
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Tue Feb 19 08:43:44 2013 -0600

    import

 .gitignore   |    1 +
 kubrick.spec |   80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c11508a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kubrick-4.10.0.tar.xz
diff --git a/kubrick.spec b/kubrick.spec
new file mode 100644
index 0000000..db7f2e9
--- /dev/null
+++ b/kubrick.spec
@@ -0,0 +1,80 @@
+
+Name:    kubrick
+Summary: Puzzle cube solving game
+Version: 4.10.0
+Release: 2%{?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}
+
+Requires: libkdegames%{?_isa} >= %{_kde4_version}
+
+%description
+Kubrick is a puzzle cube solving game. The cube sizes range from
+2x2x2 (easy) up to 6x6x6 (very hard), or you can play with irregular
+“bricks” such as 5x3x2 and “mats” (one cubie thick) such
+as 6x4x1. The game has a selection of puzzles at several levels of
+difficulty, as well as some demonstrations of pretty patterns and solution
+moves. It is also possible to make up your own puzzles.
+
+
+%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_iconsdir}/hicolor/*/*/*
+%{_kde4_appsdir}/%{name}/
+
+
+%changelog
+* Fri Feb 15 2013 Rex Dieter <rdieter at fedoraproject.org> 4.10.0-2
+- update license, summary/description
+
+* Thu Feb 07 2013 Rex Dieter <rdieter at fedoraproject.org> 4.10.0-1
+- first try
+
diff --git a/sources b/sources
index e69de29..f1b7780 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f549a3913b480ba26ef66a634dff9643  kubrick-4.10.0.tar.xz


More information about the scm-commits mailing list