Fedora Linux Support Community & Resources Center
  #1  
Old 14th September 2008, 08:46 PM
devin's Avatar
devin Offline
Registered User
 
Join Date: Aug 2008
Age: 23
Posts: 5
Concerning Those Who Play Warcraft III

Hello everyone,

I have seen many requests for a Linux or mac banlist on multiple forums. Well, I started writing my own--I found that jwc3banlist did not work.

It has really only been me working on the entire thing so forgive any bugs.

I have written a Warcraft III utility for both hosts and clients. It has pinging, location check, ban lists, kicking, and various other quirks like following a specified friend (copies the game names that they join into your clipboard) and getting the latest version of dota The program is called snoopy and you can find the source, an rpm for i386, and an Ubuntu repository with it (though the ubuntu repo is not updated) here: www.snoopy.tuxfamily.org. You will also find a full list of commands on the "How to Use" tab, a forum.

Moreover, snoopy is released under GPL and is written in C. For mac users, there is someone who uses a mac who has gotten it to work, so it is possible.

Last edited by devin; 12th April 2011 at 04:44 AM.
Reply With Quote
  #2  
Old 14th September 2008, 09:59 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
There are a few mistakes in your spec file !


Try


Code:
Name:           snoopy
Version:        2.9.95
Release:        2%{?dist}
Summary:        Warcraft III Hosting Utility

Group:          Amusements/Games
License:        GPLv2+
URL:            http://www.snoopy.tuxfamily.org/
Source0:        http://snoopy.tuxfamily.org/files/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  glib2-devel GeoIP-devel libpcap-devel desktop-file-utils
Requires:       xclip dsniff

%description
Snoopy is a utility for linux to help host games on Warcraft III.

%package devel
Group:          Development/Libraries
Summary:        Development files for snoopy
Requires:       %{name} = %{version}-%{release}

%description devel
Development files for %{name}

%prep
%setup -q


%build
%configure 
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

desktop-file-install --vendor "" --delete-original \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  --add-category X-Fedora \
  $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_bindir}/%{name}-nox
%{_bindir}/%{name}-ping
%{_bindir}/%{name}-sh
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png

%files devel
%defattr(-,root,root,-)
%{_libdir}/lib%{name}.a


%changelog
* Sun Sep 14  2008 leigh scott  <leigh123@linux.net> - 2.9.95-2
- Clean up desktop file ,use proper macros , add build requires
- desktop-file-utils , fix license tag and split the development files.

* Sun Sep 14 2008 Devin Smittle <pandagoat@gmail.com> - 2.9.95-1
- Bug fixes
* Thu Sep 11 2008 Devin Smittle <pandagoat@gmail.com> - 2.9.93-1
- Added more interoperatability for osx
- Fixed permission problems from files created by snoopy
- Added a follow friend ability

Edit: Removed the forum [IMG] tags from spec file
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 14th September 2008 at 10:22 PM.
Reply With Quote
  #3  
Old 14th September 2008, 10:25 PM
devin's Avatar
devin Offline
Registered User
 
Join Date: Aug 2008
Age: 23
Posts: 5
Thanks, I just threw what I was using together quickly to make an rpm so I did not have to install using autotools. Plus this is the first spec file I have ever made. Anyway, I will start using that spec file, thanks.
Reply With Quote
  #4  
Old 14th September 2008, 11:00 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by devin
Thanks, I just threw what I was using together quickly to make an rpm so I did not have to install using autotools. Plus this is the first spec file I have ever made. Anyway, I will start using that spec file, thanks.

It was good for a first attempt !

Here are some useful links .

https://fedoraproject.org/wiki/Packa..._Package_HOWTO

http://fedoraproject.org/wiki/Packaging/Guidelines


The spec should work for CentOS and Redhat + any direct descendant .
As for Suse and Mandriva you will need to remove these bits .

Code:
BuildRequires:   desktop-file-utils

and this section

Code:
desktop-file-install --vendor "" --delete-original \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  --add-category X-Fedora \
  $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
and maybe the %{?_smp_mflags} on the make command .

Code:
%{?_smp_mflags}
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
Reply

Tags
iii, play, warcraft

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Play Warcraft III using WINE --- keyboard not recognized?? aleph Gamers' Lounge 7 23rd October 2008 02:53 PM
Can I play WarCraft III on Windows XP guest OS running on XEN? ccy Gamers' Lounge 2 25th July 2008 08:46 PM
I have installed the mplayer,I can play the *.rm file,but can not play the online rm first007boy Using Fedora 1 20th March 2007 02:42 AM
World of Warcraft FC4 sleepingfingers Using Fedora 14 19th July 2005 03:39 AM
anyone use cedega to play world of warcraft? sirbrett Using Fedora 7 11th May 2005 07:51 PM


Current GMT-time: 07:58 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat