rpms/xsc/F-7 xsc.desktop, NONE, 1.1 xsc.png, NONE, 1.1 xsc.spec, NONE, 1.1 sources, 1.1, 1.2

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Mon Sep 10 18:43:25 UTC 2007


Author: limb

Update of /cvs/pkgs/rpms/xsc/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28826

Modified Files:
	sources 
Added Files:
	xsc.desktop xsc.png xsc.spec 
Log Message:
Initial import.



--- NEW FILE xsc.desktop ---
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=xsc
Exec=xsc
Comment=Vector graphic shootemup
Icon=xsc.png
Terminal=false
Categories=Game;ActionGame;
StartupNotify=false


--- NEW FILE xsc.spec ---
Name: xsc
Version:  1.5
Release:  2%{?dist}
Summary: A clone of the old vector graphics video game Star Castle

Group: Amusements/Games 
License: GPLv2        
URL: http://www.panix.com/~mbh/projects.html
Source0: http://www.panix.com/~mbh/xsc/xsc-%{version}.tar.gz
Source1: xsc.desktop
Source2: xsc.png
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
BuildRequires: desktop-file-utils, libX11-devel
Requires: hicolor-icon-theme

%description
The object is to blast a hole in the rings and destroy the enemy ship.
The only problem is that it tracks your every move and as soon as you 
knock a hole in all three rings, and they all line up, it lets loose  
with the big nasty green fireballs.  Avoid them.  Avoid the little green
buzzers, too.  Shoot 'em if you want.

%prep
%setup -q

%build

%configure --x-includes="" --x-libraries=""
make CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf %{buildroot}
mkdir -p  %{buildroot}%{_bindir}
install -m 755 xsc %{buildroot}%{_bindir}/xsc

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/32x32/apps
install -p -m 644 %{SOURCE2} \
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps

%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

%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%{_bindir}/xsc
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%{_datadir}/applications/fedora-xsc.desktop
%{_datadir}/icons/hicolor/32x32/apps/xsc.png

%changelog
* Sat Sep 08 2007 Jon Ciesla <limb at jcomserv.net> - 1.5-2
- Added h-i-theme requires, xparentfied icon.

* Thu Sep 06 2007 Jon Ciesla <limb at jcomserv.net> - 1.5-1
- create.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xsc/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Sep 2007 22:45:22 -0000	1.1
+++ sources	10 Sep 2007 18:42:52 -0000	1.2
@@ -0,0 +1 @@
+74b8c69c143e76e74a2f176712e44789  xsc-1.5.tar.gz




More information about the fedora-extras-commits mailing list