Group :: System/Servers
RPM: pvpgn
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: pvpgn
Version: 1.8.2
Release: alt1
Summary: PvPGN is a BNETD mod which aims to provide support for all Blizzard clients
License: GPLv2
Group: System/Servers
Url: http://pvpgn.berlios.de
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Source: %name-%{version}.tar.bz2
Source1: %name.init
Source2: %name.logrotate
Source3: README.alt.koi8r
Source4: bnetd.conf
# Automatically added by buildreq on Sat Jun 11 2005
BuildRequires: libMySQL-devel libpcap-devel libsqlite3-devel zlib-devel
%description
PvPGN is a BNETD mod which aims to provide support for all Blizzard clients (thus it supports all BNETD supported clients plus the most recent ones).
The list of supported clients and their minimum verion required is:
- Diablo 1 v1.09
- Starcraft v1.08
- BroodWar v1.08
- Warcraft II Battle.Net Edition v2.05
- Diablo 2 v1.10 (*)
- Diablo 2 LOD v1.10
- Warcraft III Reign Of Chao
- Warcraft III Frozen Throne
To create a fully playable server, you need support files, see README.alt
This build of PvPGN is linked with MySQL and SQLite3 libraries.
%prep
%setup -q -n%name-%{version}/src
%__cp -p %SOURCE3 .
%build
%configure \
--sysconfdir=/etc/pvpgn \
--mandir=/usr/share/man \
--prefix=/usr \
--bindir=/usr/bin \
--localstatedir=/var/lib/pvpgn \
--enable-bnetd \
--enable-d2cs \
--enable-d2dbs \
--with-mysql \
--with-sqlite3
%make_build
%install
install -d -m755 %buildroot/etc/pvpgn
install -d -m755 %buildroot/etc/rc.d/init.d
install -d -m755 %buildroot/var/log/pvpgn
install -d -m750 %buildroot/etc/logrotate.d
%make_install DESTDIR="%buildroot" install
install -m755 %SOURCE1 %buildroot%_sysconfdir/rc.d/init.d/pvpgn
install -m640 %SOURCE2 %buildroot%_sysconfdir/logrotate.d/pvpgn
install -m640 %SOURCE4 %buildroot%_sysconfdir/%name/bnetd.conf
mkdir -p -m755 %buildroot/var/run/%name
%pre
%_sbindir/groupadd -r -f pvpgn 2>/dev/null ||:
%_sbindir/useradd -g pvpgn -c 'PvPGN' -d /dev/null -s '' -r pvpgn 2>/dev/null ||:
%files
%config %_sysconfdir/%name/*
%doc ../docs/* ../version-history.txt ../TODO ../README ../CREDITS ../COPYING ../BUGS ../README.DEV
%doc README.alt.koi8r
%_bindir/*
%_sbindir/*
%_sysconfdir/logrotate.d/%name
%_sysconfdir/rc.d/init.d/%name
%_mandir/man1/*
%_mandir/man5/*
%_localstatedir/%name
%attr(750,pvpgn,pvpgn) %dir %_logdir/%name
%attr(750,pvpgn,pvpgn) %dir /var/run/%name
%attr(750,pvpgn,pvpgn) %dir %_localstatedir/%name
%changelog
…
Full changelog you can see here
Version: 1.8.2
Release: alt1
Summary: PvPGN is a BNETD mod which aims to provide support for all Blizzard clients
License: GPLv2
Group: System/Servers
Url: http://pvpgn.berlios.de
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Source: %name-%{version}.tar.bz2
Source1: %name.init
Source2: %name.logrotate
Source3: README.alt.koi8r
Source4: bnetd.conf
# Automatically added by buildreq on Sat Jun 11 2005
BuildRequires: libMySQL-devel libpcap-devel libsqlite3-devel zlib-devel
%description
PvPGN is a BNETD mod which aims to provide support for all Blizzard clients (thus it supports all BNETD supported clients plus the most recent ones).
The list of supported clients and their minimum verion required is:
- Diablo 1 v1.09
- Starcraft v1.08
- BroodWar v1.08
- Warcraft II Battle.Net Edition v2.05
- Diablo 2 v1.10 (*)
- Diablo 2 LOD v1.10
- Warcraft III Reign Of Chao
- Warcraft III Frozen Throne
To create a fully playable server, you need support files, see README.alt
This build of PvPGN is linked with MySQL and SQLite3 libraries.
%prep
%setup -q -n%name-%{version}/src
%__cp -p %SOURCE3 .
%build
%configure \
--sysconfdir=/etc/pvpgn \
--mandir=/usr/share/man \
--prefix=/usr \
--bindir=/usr/bin \
--localstatedir=/var/lib/pvpgn \
--enable-bnetd \
--enable-d2cs \
--enable-d2dbs \
--with-mysql \
--with-sqlite3
%make_build
%install
install -d -m755 %buildroot/etc/pvpgn
install -d -m755 %buildroot/etc/rc.d/init.d
install -d -m755 %buildroot/var/log/pvpgn
install -d -m750 %buildroot/etc/logrotate.d
%make_install DESTDIR="%buildroot" install
install -m755 %SOURCE1 %buildroot%_sysconfdir/rc.d/init.d/pvpgn
install -m640 %SOURCE2 %buildroot%_sysconfdir/logrotate.d/pvpgn
install -m640 %SOURCE4 %buildroot%_sysconfdir/%name/bnetd.conf
mkdir -p -m755 %buildroot/var/run/%name
%pre
%_sbindir/groupadd -r -f pvpgn 2>/dev/null ||:
%_sbindir/useradd -g pvpgn -c 'PvPGN' -d /dev/null -s '' -r pvpgn 2>/dev/null ||:
%files
%config %_sysconfdir/%name/*
%doc ../docs/* ../version-history.txt ../TODO ../README ../CREDITS ../COPYING ../BUGS ../README.DEV
%doc README.alt.koi8r
%_bindir/*
%_sbindir/*
%_sysconfdir/logrotate.d/%name
%_sysconfdir/rc.d/init.d/%name
%_mandir/man1/*
%_mandir/man5/*
%_localstatedir/%name
%attr(750,pvpgn,pvpgn) %dir %_logdir/%name
%attr(750,pvpgn,pvpgn) %dir /var/run/%name
%attr(750,pvpgn,pvpgn) %dir %_localstatedir/%name
%changelog
…
Full changelog you can see here