[sudoku-savant/f15/master] Initial commit

Mario Blättermann mariobl at fedoraproject.org
Fri Apr 29 16:36:49 UTC 2011


commit c3f1ae329ce6888bbc600804175d4fe2c79e593d
Author: Mario Blättermann <mariobl at gnome.org>
Date:   Fri Apr 29 18:36:16 2011 +0200

    Initial commit

 .gitignore                   |    1 +
 sources                      |    1 +
 sudoku-savant-Makefile.patch |   16 +++++++++
 sudoku-savant.spec           |   73 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 91 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9159317 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sudoku-savant-1.3.tar.bz2
diff --git a/sources b/sources
index e69de29..cfc2770 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+668e77f35c6e8106da860a88c71f3c73  sudoku-savant-1.3.tar.bz2
diff --git a/sudoku-savant-Makefile.patch b/sudoku-savant-Makefile.patch
new file mode 100644
index 0000000..62aa999
--- /dev/null
+++ b/sudoku-savant-Makefile.patch
@@ -0,0 +1,16 @@
+--- Makefile.in	2010-02-28 19:18:31.000000000 +0100
++++ Makefile.in.neu	2011-04-02 23:01:40.433119056 +0200
+@@ -733,9 +733,10 @@
+ 	    fi \
+ 	  done \
+ 	fi
+-	desktop-file-install --vendor= --dir=$(datadir)/applications sudoku-savant.desktop
+-	install --target-directory=$(datadir)/pixmaps sudoku-savant.png
+-
++	desktop-file-install --vendor= --dir=$(DESTDIR)$(datadir)/applications sudoku-savant.desktop
++	install -d $(DESTDIR)$(datadir)/pixmaps
++	install --target-directory=$(DESTDIR)$(datadir)/pixmaps sudoku-savant.png
++  
+ dist-hook:
+ 	if test -d pixmaps; then \
+ 	  mkdir $(distdir)/pixmaps; \
diff --git a/sudoku-savant.spec b/sudoku-savant.spec
new file mode 100644
index 0000000..ce0ed91
--- /dev/null
+++ b/sudoku-savant.spec
@@ -0,0 +1,73 @@
+Name:           sudoku-savant
+Version:        1.3
+Release:        3%{?dist}
+Summary:        Solve and generate sudoku puzzles through logical means
+Summary(de):    Lösen und Erstellen von Sudoku-Puzzles mit logischen Mitteln
+
+Group:          Amusements/Games
+# Impossible to figure out the actual license in the sources.
+# Upstream bug: https://sourceforge.net/tracker/?func=detail&aid=3272054&group_id=172187&atid=860784
+License:        GPL+
+URL:            http://sourceforge.net/projects/%{name}/
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+# Patch is taken from the Opensuse package.
+# Without it, "make" cannot install the icons and the *.desktop file
+# into buildroot and tries to use the real system folders instead.
+# Upstream bug: https://sourceforge.net/tracker/?func=detail&aid=3294399&group_id=172187&atid=860784
+Patch0:         %{name}-Makefile.patch
+BuildRequires:  desktop-file-utils
+BuildRequires:  gtk2-devel
+
+%description
+A simple GUI-driven application to solve and generate sudoku puzzles through
+logical means. Also supports manual solving, with pencil marks and cell
+coloring. Should be able to solve any standard sudoku from a newspaper
+or magazine.
+
+%description -l de
+Eine einfache grafische Anwendung zum Lösen und Erstellen von Sudoku-Puzzles
+mit logischen Mitteln. Das manuelle Lösen wird ebenfalls unterstützt, mit
+Hilfe von Markierungen und Einfärben der Felder. Es sollte möglich sein, jedes
+Standard-Sudoku aus Zeitungen oder Zeitschriften zu lösen.
+
+%prep
+%setup -q
+%patch0 -p0
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=%{buildroot}
+
+
+%find_lang %{name}
+
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc ABOUT-NLS AUTHORS ChangeLog COPYING README
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+
+
+%changelog
+
+* Thu Apr 28 2011 Mario Blättermann <mariobl at fedoraproject.org> 1.3-3
+- Added comments to the patches, including links to upstream bugs.
+
+* Wed Apr 27 2011 Mario Blättermann <mariobl at fedoraproject.org> 1.3-2
+- Changed license
+- Removed unneeded clearing statement for buildroot
+- Dropped the icon scriptlets
+- Dropped INSTALL from the file list
+- Dropped gcc-c++ from BuildRequires
+
+* Sat Apr 02 2011 Mario Blättermann <mariobl at fedoraproject.org> 1.3-1
+- initial package


More information about the scm-commits mailing list