rpms/gbrainy/devel gbrainy.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Marcelin Benoît (sereinit) fedora-extras-commits at redhat.com
Sun Mar 30 10:08:41 UTC 2008


Author: sereinit

Update of /cvs/pkgs/rpms/gbrainy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32503/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gbrainy.spec 
Log Message:
Import src.rpm



--- NEW FILE gbrainy.spec ---
%define debug_package %{nil}
# Because it's a Mono package and generate an empty debuginfo
# http://fedoraproject.org/wiki/Packaging/Debuginfo#head-29573c4f61c3a4698b2d07c7e73cfa194785f257

Name:		gbrainy
Version:	0.61
Release:	5%{?dist}
Summary:	Gbrainy is a brain teaser game and trainer to keep your brain trained

Group:		Amusements/Games
License:	GPLv2
URL:		http://live.gnome.org/gbrainy
Source0:	http://www.softcatala.org/~jmas/%{name}/%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	mono-devel perl(XML::Parser) intltool gettext
BuildRequires:  gnome-sharp-devel libglade2-devel gtk-sharp2-devel
BuildRequires:  /usr/bin/desktop-file-install

# Mono only availible on these:
ExclusiveArch: %ix86 x86_64 ppc ia64 armv4l sparc alpha

%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.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install					\
	--delete-original				\
	--vendor fedora					\
	--dir $RPM_BUILD_ROOT%{_datadir}/applications	\
	$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop


%find_lang %{name}

%clean
rm -rf "$RPM_BUILD_ROOT"

%post
touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||:
if [ -x  %{_bindir}/gtk-update-icon-cache ] ; then
	%{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
fi
%postun
touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||:
if [ -x  %{_bindir}/gtk-update-icon-cache ] ; then
	%{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
fi

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS NEWS README COPYING MAINTAINERS
%{_bindir}/%{name}
%{_libdir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/games/%{name}
%{_datadir}/icons/hicolor/*/apps/%{name}*
%{_mandir}/man6/%{name}.6.gz
%{_datadir}/pixmaps/%{name}*

%changelog
* Mon Mar 24 2008 Benoît Marcelin <sereinity at online.fr> 0.61-5
- Do if on more than one line (in %%post and %%postun)
- Change ExcludeArch to AxclusiveArch
- Change licence to GPLv2+
- add directory owner %%{_libdir}/%%{name}

* Mon Mar 24 2008 Benoît Marcelin <sereinity at online.fr> 0.61-4
- Update %%post ans %%postun section

* Mon Mar 24 2008 Benoît Marcelin <sereinity at online.fr> 0.61-3
- Add BuildRequires : desktop-file-utils

* Mon Mar 24 2008 Benoît Marcelin <sereinity at online.fr> 0.61-2
- Exclude arch ppc64
- Remove --add-category X-Fedora from the desktop file
- Don't generate empty debuginfo
- Add docfile MAINTAINERS

* Mon Mar 24 2008 Benoît Marcelin <sereinity at online.fr> 0.61-1
- Update to 0.61
- add gtk-update-icon-cache into post and unpost section

* Sun Mar 09 2008 Benoît Marcelin <sereinity at online.fr> 0.60-1
- Initial Fedora build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gbrainy/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	29 Mar 2008 18:51:09 -0000	1.1
+++ .cvsignore	30 Mar 2008 10:08:01 -0000	1.2
@@ -0,0 +1 @@
+gbrainy-0.61.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gbrainy/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	29 Mar 2008 18:51:09 -0000	1.1
+++ sources	30 Mar 2008 10:08:01 -0000	1.2
@@ -0,0 +1 @@
+9e85c503475f04955e48e1b2728700f4  gbrainy-0.61.tar.gz




More information about the fedora-extras-commits mailing list