commit 78c436845f8ed00903deaeeaabe0d27fe5c5f0c647e9a4d700d1e0fe9a301933 Author: OBS User unknown Date: Mon Feb 18 03:32:40 2008 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gbrainy?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/gbrainy-0.53.tar.bz2 b/gbrainy-0.53.tar.bz2 new file mode 100644 index 0000000..dc16a39 --- /dev/null +++ b/gbrainy-0.53.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01acd384ad90c894e6cd511cdfcf9a027d2c2bb346fa7e369ace3c47423863f8 +size 373770 diff --git a/gbrainy.changes b/gbrainy.changes new file mode 100644 index 0000000..8b52a83 --- /dev/null +++ b/gbrainy.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Feb 13 22:11:47 CET 2008 - ajorgensen@novell.com + +- Initial import + diff --git a/gbrainy.spec b/gbrainy.spec new file mode 100644 index 0000000..9fc0b64 --- /dev/null +++ b/gbrainy.spec @@ -0,0 +1,91 @@ +# +# spec file for package gbrainy (Version 0.53) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: gbrainy +Version: 0.53 +Release: 1 +License: GPL v2 or later +Source: %{name}-%{version}.tar.bz2 +Patch: libdir.patch +AutoReqProv: on +PreReq: filesystem +Url: http://live.gnome.org/gbrainy +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gtk-sharp2 intltool mono-devel perl-XML-Parser +Group: Amusements/Games/Logic +Summary: A brain teaser game and trainer to have fun and to keep your brain trained +%if 0%{?suse_version} +BuildRequires: glade-sharp2 gnome-sharp2 +BuildRequires: update-desktop-files +%else +%define suse_update_desktop_file true +%endif +%if 0%{?fedora_version} +BuildRequires: gnome-sharp-devel gtk-sharp2-devel +%endif + +%description +gbrainy is a brain teaser game and trainer to have fun and to keep your +brain trained. + +It provides the following types of games: * Logic puzzles. Games + designed to challenge your reasoning and thinking skills. + +* Mental calculation. Games based on arithmetical operations + designed to prove your mental calculation skills. + +* Memory trainers. Games designed to challenge your short term memory. + + + +Authors: +-------- + Jordi Mas i Hernandez + +%prep +%setup -q +%patch + +%build +export MONO_SHARED_DIR=/var/tmp +export CFLAGS="$RPM_OPT_FLAGS" +autoreconf +%configure +make + +%install +make install DESTDIR=$RPM_BUILD_ROOT +%suse_update_desktop_file %name Game +%find_lang %{name} +rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps +rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gbrainy.png + +%clean +rm -rf "$RPM_BUILD_ROOT" + +%files -f %{name}.lang +%defattr(-,root,root) +%doc AUTHORS NEWS README COPYING +%{_bindir}/gbrainy +%dir %{_prefix}/lib/gbrainy +%{_prefix}/lib/gbrainy/gbrainy.exe +%dir %{_datadir}/games/gbrainy +%{_datadir}/applications/gbrainy.desktop +%{_datadir}/games/gbrainy/* +%{_datadir}/icons/hicolor/*/apps/* +%{_datadir}/man/man6/gbrainy.6.gz + +%changelog +* Wed Feb 13 2008 ajorgensen@novell.com +- Initial import diff --git a/libdir.patch b/libdir.patch new file mode 100644 index 0000000..da0935f --- /dev/null +++ b/libdir.patch @@ -0,0 +1,24 @@ +diff -Naur src/gbrainy.in src/gbrainy.in +--- src/gbrainy.in 2008-02-13 14:50:42.000000000 -0700 ++++ src/gbrainy.in 2008-02-13 14:48:20.000000000 -0700 +@@ -2,7 +2,7 @@ + + prefix=@prefix@ + exec_prefix=@exec_prefix@ +-libdir=@libdir@ ++libdir=$prefix/lib + + MONO_EXE="$libdir/gbrainy/gbrainy.exe" + +diff -Naur src/Makefile.am src/Makefile.am +--- src/Makefile.am 2008-02-13 14:50:27.000000000 -0700 ++++ src/Makefile.am 2008-02-13 14:48:14.000000000 -0700 +@@ -73,7 +73,7 @@ + -resource:$(top_srcdir)/data/memory-games-32.png \ + -resource:$(top_srcdir)/data/gbrainy.svg + +-gbrainydir = $(libdir)/gbrainy ++gbrainydir = $(prefix)/lib/gbrainy + gbrainy_SCRIPTS = gbrainy.exe + bin_SCRIPTS = gbrainy + diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4