[gbrainy] - Bump to 1.52 - Add devel subpackage - Rebuild against mono-2.8

Paul F. Johnson pfj at fedoraproject.org
Wed Oct 27 23:08:09 UTC 2010


commit 98fcbaebcf5d8fd82062a591659f2b96f20dc5bb
Author: Paul F. Johnson <paul at all-the-johnsons.co.uk>
Date:   Thu Oct 28 00:06:37 2010 +0100

    - Bump to 1.52
    - Add devel subpackage
    - Rebuild against mono-2.8

 gbrainy-1.52.tar.gz |  Bin 0 -> 5282496 bytes
 gbrainy.spec        |   31 +++++++++++++++++++++++++++----
 2 files changed, 27 insertions(+), 4 deletions(-)
---
diff --git a/gbrainy-1.52.tar.gz b/gbrainy-1.52.tar.gz
new file mode 100644
index 0000000..a750d33
Binary files /dev/null and b/gbrainy-1.52.tar.gz differ
diff --git a/gbrainy.spec b/gbrainy.spec
index c7b2265..c5d1443 100644
--- a/gbrainy.spec
+++ b/gbrainy.spec
@@ -3,8 +3,8 @@
 # http://fedoraproject.org/wiki/Packaging/Debuginfo#head-29573c4f61c3a4698b2d07c7e73cfa194785f257
 
 Name:		gbrainy
-Version:	1.1
-Release:	7%{?dist}
+Version:	1.52
+Release:	1%{?dist}
 Summary:	A brain teaser game and trainer to keep your brain trained
 
 Group:		Amusements/Games
@@ -32,13 +32,25 @@ It provides the following types of games:
 	operations designed to prove your mental calculation skills.
 * Memory trainers. Games designed to challenge your short term memory.
 
+%package devel
+Summary:      Files needed for developing with gbrainy
+Group:        Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package provides the necessary development libraries and headers
+for writing gbrainy applications.
+
 %prep
 %setup -q
+./autogen.sh
 # To fix 460353 :
-sed 's#share/games#share#' src/Defines.cs.in -i
+sed 's#share/games#share#' src/Core/Main/Defines.cs.in -i
 sed 's#^images = $(datadir)/games/gbrainy$#images = $(datadir)/gbrainy#' data/Makefile.in -i
+sed -i -e 's!{exec_prefix}/lib!%{_libdir}!' data/gbrainy.pc.in
 
 %build
+
 %configure
 make %{?_smp_mflags}
 
@@ -72,17 +84,28 @@ if [ -x  %{_bindir}/gtk-update-icon-cache ] ; then
 fi
 
 %files -f %{name}.lang
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc AUTHORS NEWS README COPYING MAINTAINERS
 %{_bindir}/%{name}
 %{_libdir}/%{name}
 %{_datadir}/applications/fedora-%{name}.desktop
 %{_datadir}/%{name}
+%{_datadir}/games/%{name}
+%{_datadir}/gnome/help/%{name}
 %{_datadir}/icons/hicolor/*/apps/%{name}*
 %{_mandir}/man6/%{name}.6.gz
 %{_datadir}/pixmaps/%{name}*
 
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/gbrainy.pc
+
 %changelog
+* Wed Oct 27 2010 Paul F. Johnson <paul at all-the-johnsons.co.uk> 1.52-1
+- Bump to 1.52
+- Add devel subpackage
+- Rebuild against mono-2.8
+
 * Mon Jun 07 2010 Christian Krause <chkr at fedoraproject.org> - 1.1-7
 - Rebuilt against new mono-addins
 


More information about the scm-commits mailing list