LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kmuddy.spec of Package kde3-kmuddy (Project KDE:KDE3)

# norootforbuild

%define _prefix		/opt/kde3
%define _sysconfdir	/etc%{_prefix}
%define _mandir		/opt/kde3/share/man
%define xdgmenu 1

Name:				kde3-kmuddy
Version:			0.7.1
Release:			1
Summary:			MUD Client for KDE
Source:			http://www.kmuddy.net/files/kmuddy-%{version}.tar.gz
Patch0: no-return.patch
URL:				http://www.kmuddy.net/
Group:			Amusements/Games/Other
License:			GPL
BuildRoot:		%{_tmppath}/build-%{name}-%{version}
BuildRequires:	kdelibs3 kdelibs3-devel arts arts-devel libmxp-devel
BuildRequires:	libogg-devel libvorbis libvorbis-devel
BuildRequires:	gcc-c++
BuildRequires:	autoconf automake libtool update-desktop-files

KMuddy is a MUD client for KDE desktop environment.

%setup -q -n kmuddy-%{version}
%patch0 -p1
. /etc/opt/kde3/common_options
update_admin --no-unsermake
./configure $configkde \
	--enable-sound \
	--with-mxp \

. /etc/opt/kde3/common_options
make %{?jobs:-j%{jobs}}

. /etc/opt/kde3/common_options
%suse_update_desktop_file -r "kmuddy" Game AdventureGame
rm -f %{buildroot}/opt/kde3/share/kmuddy/*.c
rm -f %{buildroot}/opt/kde3/share/kmuddy/*.h
rm -f %{buildroot}/opt/kde3/share/kmuddy/*.cpp

%find_lang "kmuddy"

%__rm -rf "%{buildroot}"

%files -f "kmuddy.lang"
%doc %{_mandir}/man1/kmuddy.1

* Sun Apr 23 2006 Pascal Bleser <guru@unixtech.be> 0.7.1-2
- remove explicit Requires
- use find_lang
- use -r in suse_update_desktop_file
- pass -j to make
- use unsermake properly
- added binary stripping on SUSE < 9.3
- removed Packager and Distribution, injected by rpmmacros

* Thu Dec  1 2005 Pascal Bleser <guru@unixtech.be> 0.7.1-1
- new package