rpms/fRaBs/devel fRaBs.desktop, NONE, 1.1 fRaBs.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Fri Aug 18 05:05:23 UTC 2006


Author: jwrdegoede

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

Modified Files:
	.cvsignore sources 
Added Files:
	fRaBs.desktop fRaBs.spec 
Log Message:
auto-import fRaBs-2.10-1 on branch devel from fRaBs-2.10-1.src.rpm


--- NEW FILE fRaBs.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Abuse (fRaBs)
Comment=Abuse with free datafiles
Exec=abuse.sdl -f -datadir /usr/share/fRaBs
Icon=fRaBs.png
Terminal=false
Type=Application
Categories=Application;Game;ArcadeGame;


--- NEW FILE fRaBs.spec ---
%define _version 210

Name:           fRaBs
Version:        2.10
Release:        1%{?dist}
Group:          Amusements/Games
License:        Public Domain
URL:            http://www.cs.uidaho.edu/~cass0664/fRaBs/
Summary:        Free data files for abuse the game
Source0:        http://www.cs.uidaho.edu/~cass0664/fRaBs/frabs%{_version}_unix.src.tar.bz2
Source1:        %{name}.desktop
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       abuse
Provides:       abuse-data
Provides:       frabs = %{version}-%{release}

%description
Free data files for Abuse, the classic Crack-Dot-Com game.


%prep
%setup -q -n frabs%{_version}_unix.src


%build
convert icons/frabs2.ico %{name}.png


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
# dirs, can't use install
cp -a addon art levels lisp music netlevel register sfx \
  $RPM_BUILD_ROOT%{_datadir}/%{name}
install -p -m 644 *.lsp defaults.prp $RPM_BUILD_ROOT%{_datadir}/%{name}

# 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 \
  --add-category X-Fedora                       \
  %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p -m 644 %{name}.png \
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps


%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 readme.txt docs/*
%{_datadir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png


%changelog
* Wed Aug 16 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 2.10-1
- Initial FE submission


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/fRaBs/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	18 Aug 2006 05:02:45 -0000	1.1
+++ .cvsignore	18 Aug 2006 05:05:23 -0000	1.2
@@ -0,0 +1 @@
+frabs210_unix.src.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/fRaBs/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	18 Aug 2006 05:02:45 -0000	1.1
+++ sources	18 Aug 2006 05:05:23 -0000	1.2
@@ -0,0 +1 @@
+50f2d8ce39145f38a7ae7d1c9b6bd9ac  frabs210_unix.src.tar.bz2




More information about the scm-commits mailing list