rpms/ballz/devel .cvsignore, 1.2, 1.3 ballz.spec, 1.5, 1.6 sources, 1.2, 1.3 ballz-1.0-fullscreen.patch, 1.1, NONE ballz-1.0-guichan081.patch, 1.1, NONE ballz-1.0-syslibs.patch, 1.1, NONE ballz.desktop, 1.1, NONE

Sylvain Beucler beuc at fedoraproject.org
Fri Oct 17 05:07:43 UTC 2008


Author: beuc

Update of /cvs/pkgs/rpms/ballz/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29474

Modified Files:
	.cvsignore ballz.spec sources 
Removed Files:
	ballz-1.0-fullscreen.patch ballz-1.0-guichan081.patch 
	ballz-1.0-syslibs.patch ballz.desktop 
Log Message:
New upstream release that simplies packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ballz/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	22 Apr 2007 09:27:58 -0000	1.2
+++ .cvsignore	17 Oct 2008 05:07:13 -0000	1.3
@@ -1 +1 @@
-ballz-1.0.tar.gz
+ballz-1.0.1.tar.gz


Index: ballz.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ballz/devel/ballz.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ballz.spec	30 Jul 2008 21:34:01 -0000	1.5
+++ ballz.spec	17 Oct 2008 05:07:13 -0000	1.6
@@ -1,21 +1,13 @@
 Name:           ballz
-Version:        1.0
-Release:        4%{?dist}
+Version:        1.0.1
+Release:        1%{?dist}
 Summary:        Platform game with some puzzle elements
 Group:          Amusements/Games
 License:        BSD
-# Was http://darkbits.org/ but that site is down
-URL:            http://www.allegro.cc/forums/thread/590831
-# http://darkbits.org/%{name}-%{version}.tar.gz but site is down
-Source0:        %{name}-%{version}.tar.gz
-Source1:        %{name}.desktop
-Patch0:         ballz-1.0-syslibs.patch
-Patch1:         ballz-1.0-fullscreen.patch
-Patch2:         ballz-1.0-guichan081.patch
+URL:            http://code.google.com/p/db-tins07/
+Source0:        http://db-tins07.googlecode.com/files/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  dumb-devel guichan-devel desktop-file-utils automake
-BuildRequires:  ImageMagick
-Requires:       hicolor-icon-theme
+BuildRequires:  allegro-devel dumb-devel guichan-devel desktop-file-utils
 
 %description
 Ballz is a platformer with some puzzle elements. You take control of a ball
@@ -29,62 +21,37 @@
 
 %prep
 %setup -q
-%patch0 -p1 -z .syslibs
-%patch1 -p1 -z .fullscreen
-%patch2 -p1
-# we use the system version of these libs
-rm -fr src/guichan* src/dumb
-# remove hardcoded optflags from configure
-sed -i 's/-O2 -ffast-math -fomit-frame-pointer/ -ffast-math/g' configure.ac
-autoreconf -f
 
 
 %build
 %configure
 make %{?_smp_mflags}
-convert -transparent black data/%{name}.bmp %{name}.png
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
-
-# below is the desktop file and icon stuff.
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
-desktop-file-install --vendor fedora            \
-  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
-  %{SOURCE1}
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
-install -m 644 %{name}.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
-%post
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
-
-%postun
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
-
-
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS README BSD-license
+%doc AUTHORS README BSD-license ChangeLog
 %{_bindir}/%{name}
 %{_datadir}/%{name}
-%{_datadir}/applications/fedora-%{name}.desktop
-%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
+%{_datadir}/applications/*
+%{_datadir}/pixmaps/*
+%{_mandir}/man6/*
 
 
 %changelog
+* Wed Oct 15 2008 Sylvain Beucler <beuc at beuc.net> - 1.0.1-1
+- New upstream release that includes all patches and simplifies packaging
+
 * Wed Jul 30 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-4
 - Rebuild for new guichan
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ballz/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	22 Apr 2007 09:27:58 -0000	1.2
+++ sources	17 Oct 2008 05:07:13 -0000	1.3
@@ -1 +1 @@
-1a98a0a87985f2425d2fde5715be50ed  ballz-1.0.tar.gz
+d195173086e33055e9736a25216520f9  ballz-1.0.1.tar.gz


--- ballz-1.0-fullscreen.patch DELETED ---


--- ballz-1.0-guichan081.patch DELETED ---


--- ballz-1.0-syslibs.patch DELETED ---


--- ballz.desktop DELETED ---




More information about the scm-commits mailing list