[hitori/f15/master] Initial commit

Mario Blättermann mariobl at fedoraproject.org
Sun Feb 27 11:50:27 UTC 2011


commit d2ff87a56673ac81ff07ee1121bef4216fd3bdcf
Author: Mario Blättermann <mariobl at gnome.org>
Date:   Thu Feb 24 20:28:29 2011 +0100

    Initial commit

 .gitignore  |    1 +
 hitori.spec |  119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 121 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a20ac79 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hitori-0.2.6.tar.bz2
diff --git a/hitori.spec b/hitori.spec
new file mode 100644
index 0000000..b822104
--- /dev/null
+++ b/hitori.spec
@@ -0,0 +1,119 @@
+Name:		hitori
+Version:	0.2.6
+Release:	3%{?dist}
+Summary:	Logic puzzle game for GNOME
+Summary(de):	Logikpuzzle für GNOME
+
+Group:		Amusements/Games
+# The executable is licensed under GPLv3+, while the user manual is CC-BY-SA.
+License:	GPLv3+ and CC-BY-SA
+URL:		http://live.gnome.org/Hitori
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/hitori/0.2/%{name}-%{version}.tar.bz2
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:	desktop-file-utils
+BuildRequires:	gettext
+BuildRequires:	gnome-doc-utils
+BuildRequires:	gtk2-devel
+BuildRequires:	intltool
+
+Requires:	hicolor-icon-theme
+
+%description
+A small application written to allow one to play the Hitori puzzle game,
+which is similar in theme to more popular puzzles such as Sudoku.
+
+It depends on GTK+ 2.13 and Cairo 1.4, and has full support for playing the
+game (i.e. it checks all three rules are satisfied). It has undo/redo support,
+can give hints, and allows for cells to be tagged with one of two different
+tags, to aid in solving the puzzle. It has support for anything from
+5×5 to 10×10 grids.
+
+%description -l de
+Ein kleines Programm zum Spielen des Hitori-Puzzles, das thematisch
+populäreren Puzzlespielen wie beispielsweise Sudoku ähnelt.
+
+Das Programm basiert auf GTK+ 2.13 und Cairo 1.4 und unterstützt die
+Spielregeln vollständig. Es wird in jedem Fall überprüft, ob die drei
+Ausschlussregeln angewendet sind. Das Zurücknehmen und Wiederholen von Zügen
+ist ebenso möglich wie das Kennzeichnen von Feldern mit einer oder mehreren
+Markierungen, um den Weg zur Lösung zu erleichtern. Mögliche Spielfeldgrößen
+reichen von 5x5 bis hin zu 10x10 Feldern. 
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%%doc AUTHORS ChangeLog COPYING COPYING-DOCS MAINTAINERS NEWS README
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/gnome/help/%{name}/
+%dir %{_datadir}/%{name}/
+%{_datadir}/%{name}/%{name}.ui
+%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
+
+
+%changelog
+* Fri Feb 18 2011 Mario Blättermann <mariobl at fedoraproject.org> 0.2.6-3
+- Changed native English and German description
+- Added ChangeLog to %%doc
+
+* Tue Feb 15 2011 Mario Blättermann <mariobl at fedoraproject.org> 0.2.6-2
+- Added German summary and description
+
+* Sat Jan 30 2011 Mario Blättermann <mariobl at fedoraproject.org> 0.2.6-1
+- Bumped version to 0.2.6
+- Added COPYING-DOCS again, see GNOME upstream bug #640905
+
+* Sat Jan 29 2011 Mario Blättermann <mariobl at fedoraproject.org> 0.2.5-4
+- some fixes to licensing
+- moved icon cache macros to their right places
+- revamped file list
+
+* Sat Jan 29 2011 Mario Blättermann <mariobl at fedoraproject.org> 0.2.5-3
+- locale dir dropped from filelist
+- changed license according to the mixed usage of licenses for executables
+  and docs
+- added macros for updating the icon cache
+- dropped COPYING-DOCS from filelist because it is obsolete
+
+* Tue Jan 25 2011 Mario Blättermann <mariobl at fedoraproject.org> 0.2.5-2
+- added find_lang macro
+- changed summary and description
+- changed group
+- added desktop file handling
+- added new Requires and BuildRequires
+
+* Thu Nov 07 2010 Mario Blättermann <mariobl at fedoraproject.org> 0.2.5-1
+- initial package
diff --git a/sources b/sources
index e69de29..81e42cb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d83b810198374444882175aaf97ee8d7  hitori-0.2.6.tar.bz2


More information about the scm-commits mailing list