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

Nils Philippsen (nphilipp) fedora-extras-commits at redhat.com
Fri Mar 4 14:10:28 UTC 2005


Author: nphilipp

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

Modified Files:
	.cvsignore sources 
Added Files:
	bzflag.desktop bzflag.spec 
Log Message:
initial import (cvs-import.sh failed to upload source file)



--- NEW FILE bzflag.desktop ---
[Desktop Entry]
Categories=Game;ArcadeGame;X-Fedora-Extra;
Name=BZFlag
Comment=3D multi-player tank battle game
GenericName=3D multi-player tank battle game
Exec=bzflag
Icon=bzflag.xpm
Terminal=false
Type=Application
Encoding=UTF-8
EOF


--- NEW FILE bzflag.spec ---
%define desktop_vendor redhat
%define date           20050117

Summary: 3D multi-player tank battle game
Name: bzflag
Version: 2.0.0
Release: 4
License: GPL
Group: Amusements/Games
URL: http://bzflag.org
Source: http://ftp.bzflag.org/bzflag/bzflag-%{version}%{?date:.%{date}}.tar.bz2
Source1: bzflag.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: xorg-x11-devel gcc-c++ desktop-file-utils SDL-devel ncurses-devel

%description
BZFlag is a 3D multi-player tank battle game  that  allows users to play
against each other in a networked environment.  There are five teams: red,
green, blue, purple and rogue (rogue tanks are black).  Destroying a player
on another team  scores a win, while being destroyed or destroying a teammate
scores a loss.  Rogues have no teammates (not even other rogues), so they
cannot shoot teammates and they do not have a team score.
There are two main styles of play: capture-the-flag and free-for-all.

%prep
%setup -q -n %{name}-%{version}%{?date:.%{date}}

%build
# Use PIE because bzflag/bzfs are networked server applications
CFLAGS='-fPIE -pie %optflags'
CXXFLAGS='-fPIE -pie %optflags'
%configure
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
%makeinstall
install -D -m 644 package/rpm/bzflag-m.xpm \
    %{buildroot}%{_datadir}/pixmaps/bzflag.xpm

mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor %{desktop_vendor} --dir %{buildroot}%{_datadir}/applications \
    %{SOURCE1}

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS BUGS COPYING ChangeLog NEWS README README.Linux
%{_bindir}/bzadmin
%{_bindir}/bzflag
#%{_bindir}/bzfrelay
%{_bindir}/bzfs
%{_datadir}/applications/%{desktop_vendor}-%{name}.desktop
%{_datadir}/bzflag
%{_datadir}/pixmaps/bzflag.xpm
%{_mandir}/man*/*

%changelog
* Fri Mar 04 2005 Nils Philippsen <nphilipp at redhat.com> 2.0.0-4
- move package over to Extras
- make desktop file a file, don't generate it in %%install

* Mon Feb 21 2005 Nils Philippsen <nphilipp at redhat.com> 2.0.0-3
- fix dates in %%changelog

* Fri Feb 18 2005 Nils Philippsen <nphilipp at redhat.com> 2.0.0-2
- build as PIE

* Fri Feb 18 2005 Nils Philippsen <nphilipp at redhat.com> 2.0.0-1
- correct source URL
- buildrequire ncurses-devel

* Tue Jan 18 2005 Nils Philippsen <nphilipp at redhat.com> 2.0.0-0.1
- version 2.0.0.20050117
- buildrequire xorg-x11-devel, not XFree86-devel

* Tue Aug 10 2004 Alan Cox <alan at redhat.com> 1.10.6-2
- Adopted for FC3 core from Matthias Saou's freshrpms package. Thanks
  to Matthias for doing all the work.

* Tue May 18 2004 Matthias Saou <http://freshrpms.net/> 1.10.6-1
- Update to 1.10.6.
- First rebuild for Fedora Core 2.

* Thu Mar 25 2004 Matthias Saou <http://freshrpms.net/> 1.10.4-2
- Removed explicit XFree86 dependency.

* Mon Feb 16 2004 Matthias Saou <http://freshrpms.net/> 1.10.4-1
- Update to 1.10.4.20040125, update the included docs.
- Removed no longer existing bzfls file and added bzadmin.

* Fri Nov  7 2003 Matthias Saou <http://freshrpms.net/> 1.7g2-2
- Rebuild for Fedora Core 1.
- Added missing gcc-c++ build dependency.

* Sun Jun 22 2003 Matthias Saou <http://freshrpms.net/>
- Update to 1.7g2.
- Major spec changes for the new build method.

* Tue Apr  1 2003 Matthias Saou <http://freshrpms.net/>
- Fix the Xfree86 dependency, doh!
- Clean up the confusing build.
- Add a system menu entry.

* Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/>
- Update to 1.7g0.
- Rebuilt for Red Hat Linux 9.

* Mon Nov  4 2002 Matthias Saou <http://freshrpms.net/>
- Rebuilt for Red Hat Linux 8.0.

* Wed Jun 19 2002 Matthias Saou <http://freshrpms.net/>
- Update to 1.7e6.

* Wed Feb 13 2002 Matthias Saou <http://freshrpms.net/>
- Initial RPM release.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/bzflag/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Mar 2005 13:20:46 -0000	1.1
+++ .cvsignore	4 Mar 2005 14:10:26 -0000	1.2
@@ -0,0 +1 @@
+bzflag-2.0.0.20050117.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/bzflag/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Mar 2005 13:20:46 -0000	1.1
+++ sources	4 Mar 2005 14:10:26 -0000	1.2
@@ -0,0 +1 @@
+16da32cfaac130bf68ca156d0dec2b2e  bzflag-2.0.0.20050117.tar.bz2




More information about the fedora-extras-commits mailing list