Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5e6d1784d | ||
|
|
1ccb52fc1e | ||
|
|
49c36d21c8 | ||
|
|
3481d0c30c |
4 changed files with 58 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: alienarena-data
|
||||
# $Id$
|
||||
NAME := alienarena-data
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
57
alienarena-data.spec
Normal file
57
alienarena-data.spec
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
Name: alienarena-data
|
||||
Summary: Data files for Alien Arena 2007
|
||||
Version: 20071011
|
||||
Release: 2%{?dist}
|
||||
License: Redistributable, no modification permitted
|
||||
Group: Amusements/Games
|
||||
# Upstream has prebuilt binaries in it. We pull those out and bzip2.
|
||||
# Source0: http://icculus.org/alienarena/files/alienarena2007-20071011-linux.zip
|
||||
Source0: alienarena2007-20071011-data.tar.bz2
|
||||
URL: http://icculus.org/alienarena/files/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
Requires: alienarena >= 6.10
|
||||
|
||||
%description
|
||||
Data files (audio, maps, etc) for Alien Arena 2007.
|
||||
|
||||
%prep
|
||||
%setup -q -n alienarena2007
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/alienarena/
|
||||
cp -ap * $RPM_BUILD_ROOT%{_datadir}/alienarena/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/
|
||||
mv $RPM_BUILD_ROOT%{_datadir}/alienarena/aa.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/alienarena/Aa.ico
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/alienarena/Tools/
|
||||
|
||||
%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)
|
||||
%{_datadir}/alienarena/
|
||||
%{_datadir}/icons/hicolor/32x32/apps/aa.png
|
||||
|
||||
%changelog
|
||||
* Tue Nov 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 20071011-2
|
||||
- cleanups, move icon into hicolor tree
|
||||
|
||||
* Thu Nov 1 2007 Tom "spot" Callaway <tcallawa@redhat.com> 20071011-1
|
||||
- Initial package for Fedora
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
fda681b0a121f904e7079adc4b7222f7 alienarena2007-20071011-data.tar.bz2
|
||||
Reference in a new issue