rpms/blobby/devel blobby-0.6-optflags.patch, NONE, 1.1 blobby.desktop, NONE, 1.1 blobby.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Aurelien Bompard (abompard) fedora-extras-commits at redhat.com
Sun Jan 14 21:07:47 UTC 2007


Author: abompard

Update of /cvs/extras/rpms/blobby/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18887/devel

Modified Files:
	.cvsignore sources 
Added Files:
	blobby-0.6-optflags.patch blobby.desktop blobby.spec 
Log Message:
auto-import blobby-0.6-0.4.a on branch devel from blobby-0.6-0.4.a.src.rpm

blobby-0.6-optflags.patch:

--- NEW FILE blobby-0.6-optflags.patch ---
--- ./configure.optflags	2007-01-14 19:43:46.000000000 +0100
+++ ./configure	2007-01-14 19:44:24.000000000 +0100
@@ -4233,8 +4233,6 @@
 # Check whether --enable-debug was given.
 if test "${enable_debug+set}" = set; then
   enableval=$enable_debug; CFLAGS=" -O0 -ggdb3"
-else
-  CFLAGS=" -Os"
 fi
 
 


--- NEW FILE blobby.desktop ---
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Blobby Volley 2
Name[en]=Blobby Volley 2
Name[de]=Blobby Volley 2
Name[fr]=Blobby Volley 2
GenericName=Volley-Ball Game
GenericName[en]=Volley-Ball Game
GenericName[fr]=Jeu de Volley-Ball
GenericName[de]=Volley-Ball Spiel
Icon=blobby.png
Exec=blobby
Terminal=false
Categories=Game;ArcadeGame;


--- NEW FILE blobby.spec ---
Name:           blobby
Version:        0.6
Release:        0.4.a%{?dist}
Summary:        Blobby Volley 2, a volley-ball game

Group:          Amusements/Games
License:        GPL
URL:            http://blobby.sourceforge.net
Source0:        http://dl.sf.net/blobby/blobby2-linux-%{version}a.tar.gz
Source1:        blobby.desktop
Patch0:         blobby-0.6-optflags.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  SDL-devel, physfs-devel, zlib-devel
BuildRequires:  ImageMagick, desktop-file-utils, hicolor-icon-theme

%description
Blobby Volley is one of the most popular freeware games.
Blobby Volley 2 is the continuation of this lovely game.


%prep
%setup -q -n blobby-alpha-6
%patch0 -p0 -b .optflags


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# Icon
unzip -o -j data/gfx.zip gfx/ball01.bmp
convert -size 48x48 -transparent black ball01.bmp blobby.png
install -p -m 644 -D blobby.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/blobby.png

# Desktop file
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install  --vendor "fedora" \
        --dir $RPM_BUILD_ROOT%{_datadir}/applications \
        %{SOURCE1}


%post
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :

%postun
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS README ChangeLog COPYING TODO
%{_bindir}/*
%{_datadir}/blobby
%{_datadir}/icons/hicolor/48x48/apps/*.png
%{_datadir}/applications/*.desktop


%changelog
* Sun Jan 14 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.6-0.4.a
- patch configure instead of configure.in

* Sun Jan 14 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.6-0.3.a
- patch it to obey RPM_OPT_FLAGS

* Sun Jan 14 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.6-0.2.a
- add dependency on hicolor-icon-theme (#222547)
- removed the "Application" category from the desktop file

* Fri Jan 12 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.6-0.1.a
- initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/blobby/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Jan 2007 21:05:37 -0000	1.1
+++ .cvsignore	14 Jan 2007 21:07:17 -0000	1.2
@@ -0,0 +1 @@
+blobby2-linux-0.6a.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/blobby/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Jan 2007 21:05:37 -0000	1.1
+++ sources	14 Jan 2007 21:07:17 -0000	1.2
@@ -0,0 +1 @@
+fdef3e59f0870d890be8dffaccd773ca  blobby2-linux-0.6a.tar.gz




More information about the fedora-extras-commits mailing list