rpms/rocksndiamonds/devel rocksndiamonds-3.1.1-nosmpeg.patch, NONE, 1.1 rocksndiamonds.desktop, NONE, 1.1 rocksndiamonds.png, NONE, 1.1 rocksndiamonds.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Fri Sep 23 14:46:19 UTC 2005
Author: spot
Update of /cvs/extras/rpms/rocksndiamonds/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24584/devel
Modified Files:
.cvsignore sources
Added Files:
rocksndiamonds-3.1.1-nosmpeg.patch rocksndiamonds.desktop
rocksndiamonds.png rocksndiamonds.spec
Log Message:
auto-import rocksndiamonds-3.1.1-2 on branch devel from rocksndiamonds-3.1.1-2.src.rpm
rocksndiamonds-3.1.1-nosmpeg.patch:
--- NEW FILE rocksndiamonds-3.1.1-nosmpeg.patch ---
--- rocksndiamonds-3.1.1/src/Makefile.BAD 2005-09-22 16:20:14.000000000 -0500
+++ rocksndiamonds-3.1.1/src/Makefile 2005-09-22 16:20:23.000000000 -0500
@@ -91,13 +91,13 @@
ifeq ($(TARGET),sdl)
SYS_CFLAGS = -DTARGET_SDL $(shell sdl-config --cflags)
-SDL_LIBS = -lSDL_image -lSDL_mixer -lSDL_net -lsmpeg
+SDL_LIBS = -lSDL_image -lSDL_mixer -lSDL_net
SYS_LDFLAGS = $(SDL_LIBS) $(shell sdl-config --libs)
endif
ifeq ($(TARGET),sdl-static)
SYS_CFLAGS = -DTARGET_SDL $(shell sdl-config --cflags)
-SDL_LIBS = -lSDL_image -lSDL_mixer -lSDL_net -lsmpeg
+SDL_LIBS = -lSDL_image -lSDL_mixer -lSDL_net
SYS_LDFLAGS = $(SDL_LIBS) $(shell sdl-config --static-libs)
endif
--- NEW FILE rocksndiamonds.desktop ---
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Rocks'N'Diamonds
GenericName=Underground digging game
Comment=Dig for treasure and solve puzzles underground
Icon=rocksndiamonds.png
Exec=rocksndiamonds
Terminal=false
StartupNotify=false
Categories=Application;Game;
--- NEW FILE rocksndiamonds.spec ---
Name: rocksndiamonds
Version: 3.1.1
Release: 2%{?dist}
License: GPL
Group: Amusements/Games
Summary: Underground digging game
URL: http://www.artsoft.org/rocksndiamonds/
Source0: http://www.artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-%{version}.tar.gz
Source1: rocksndiamonds.desktop
Source2: rocksndiamonds.png
Patch0: rocksndiamonds-3.1.1-nosmpeg.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel, xorg-x11-devel, desktop-file-utils
BuildRequires: SDL_image-devel, SDL_mixer-devel, SDL_net-devel
%description
Dig for treasure and solve puzzles underground, but watch out for falling
rocks and strange creatures!
%prep
%setup -q
%patch0 -p1
%build
make %{?_smp_mflags} RO_GAME_DIR=%{_datadir}/%{name}/ RW_GAME_DIR=%{_localstatedir}/games/%{name}/ EXTRA_CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/games/%{name}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m0755 rocksndiamonds $RPM_BUILD_ROOT%{_bindir}
for i in graphics levels music scores sounds; do
cp -a $i $RPM_BUILD_ROOT%{_datadir}/%{name}/
done
install -m0644 rocksndiamonds.1 $RPM_BUILD_ROOT%{_mandir}/man1
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
desktop-file-install \
--vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--mode 0644 \
--add-category X-Fedora \
%{SOURCE1}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ChangeLog CHANGES COPYING CREDITS HARDWARE INSTALL README TODO
%doc docs/elements/
%{_bindir}/*
%{_datadir}/%{name}/
%{_datadir}/pixmaps/*
%{_datadir}/applications/*.desktop
%{_localstatedir}/games/%{name}/
%{_mandir}/man1/*
%changelog
* Thu Sep 22 2005 Tom "spot" Callaway <tcallawa at redhat.com> 3.1.1-2
- add missing BR: SDL_net-devel
* Thu Sep 22 2005 Tom "spot" Callaway <tcallawa at redhat.com> 3.1.1-1
- initial package for Fedora Extras
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/rocksndiamonds/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 23 Sep 2005 14:44:16 -0000 1.1
+++ .cvsignore 23 Sep 2005 14:46:17 -0000 1.2
@@ -0,0 +1 @@
+rocksndiamonds-3.1.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rocksndiamonds/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 23 Sep 2005 14:44:16 -0000 1.1
+++ sources 23 Sep 2005 14:46:17 -0000 1.2
@@ -0,0 +1 @@
+6a6e0397f043314e3df8ee85c03590b5 rocksndiamonds-3.1.1.tar.gz
More information about the fedora-extras-commits
mailing list