1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
%define name gnome-mud
%define ver @VERSION@
%define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
Summary: A MUD client for GNOME
Name: %name
Version: %ver
Release: %rel
License: GPL
Group: Applications/Internet
Source: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.11/%{name}-%{ver}.tar.gz
URL: http://live.gnome.org/GnomeMud
BuildRoot: %{_tmppath}/%{name}-%{ver}-root
Docdir: %{_prefix}/doc
Requires: vte >= 0.11.0
Requires: gstreamer >= 0.10
Requires: libpcre >= 6.0.0
Requires: gconf-2.0 >= 2.12.0
Requires: gtk+-2.0 >= 2.12.0
Requires: gnet-2.0 >= 2.0.0
BuildRequires: gtk+-2.0-devel >= 2.12.0
BuildRequires: libpcre-devel > = 6.0.0
BuildRequires gstreamer-devel >= 0.10
BuildRequires gnet-2.0-devel >= 2.0.0
BuildRequires: vte-devel >= 0.10.26
BuildRequires: scrollkeeper >= @SCROLLKEEPER_BUILD_REQUIRED@
%description
GNOME-MUD is a simple MUD client for GNOME. It supports scripting in Python and C, and tabbed mudding.
%prep
%setup -q
#%patch0 -p 1
%build
%configure --prefix=%{rpm_prefix} --enable-mccp --enable-gstreamer
make
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1;
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
#mv %{buildroot}/usr/games %{buildroot}/usr/bin
%clean
rm -rf %{buildroot}
%preun
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-mud.schemas > /dev/null
%post
scrollkeeper-update -p /var/scrollkeeper
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnome-mud.schemas > /dev/null
%postun
scrollkeeper-update -p /var/scrollkeeper
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL
%doc NEWS README THANKS
%{rpm_prefix}
%changelog
* Wed Jul 23 2008 Les Harris
- Updated dependencies, package information.
* Wed Feb 16 2005 Jordi Mallach
- Fixups and simplifications for autogeneration.
* Wed Jan 12 2005 Adam Luchjenbroers
- Initial RPM release.
|