[gnome-mud] Gnome Mud 0.10.5 RPM Spec file
- From: Adam Luchjenbroers <Adam luchjenbroers com>
- To: gnome-mud-list gnome org
- Subject: [gnome-mud] Gnome Mud 0.10.5 RPM Spec file
- Date: Wed, 12 Jan 2005 19:47:01 +0930
Just a simple spec file for packaging Gnome-mud into an RPM.
The compile patch just turns off updating scrollkeeper when executing make
install, this is performed in the %post script of the RPM instead.
Installation of schemas should probably also be moved here (the %post script
already installs the schemas itself, it's just to tidy up the rpm building
process).
--
"Never EVER mess with a jumper you don't know about, even if it's labeled 'sex
and free beer'." - Dave Haynie, Amiga developer
Summary: A simple Mud client for Gnome.
Name: gnome-mud
Version: 0.10.5
Release: 1
#Epoch: 1
License: GPL
Group: Applications/Internet
Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-mud/0.10/gnome-mud-0.10.5.tar.gz
Patch0: gnome-mud-compile.patch
URL: amcl.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-root
Requires: /sbin/ldconfig vte >= 0.10.26 libgnome >= 2.0.0 libgnomeui >= 2.0.0
BuildRequires: vte-devel >= 0.10.26 libgnome-devel >= 2.0.0 libgnomeui >= 2.0.0
%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=/usr --enable-mccp
make
%install
rm -rf %{buildroot}
%makeinstall
mv %{buildroot}/usr/games %{buildroot}/usr/bin
%clean
rm -rf %{buildroot}
%post
/sbin/ldconfig
scrollkeeper-update -p /var/scrollkeeper
GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule /etc/gconf/schemas/gnome-mud.schemas
%postun
/sbin/ldconfig
scrollkeeper-update -p /var/scrollkeeper
%files
%defattr(-, root, root)
#%doc /usr/share/doc/gnome-mud-0.10.5/
%doc /usr/share/omf/gnome-mud/
%doc /usr/share/man/man6/gnome-mud.6.gz
%doc /usr/share/gnome/help/gnome-mud/
/etc/gconf/schemas/gnome-mud.schemas
/usr/bin/gnome-mud
/usr/share/pixmaps/gnome-mud.png
/usr/share/pixmaps/gnome-mud/
/usr/share/applications/gnome-mud.desktop
/usr/share/locale/pt/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/pl/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/ca/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/ml/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/cs/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/de/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/sv/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/sr Latn/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/hr/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/az/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/es/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/sr/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/fr/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/mk/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/tr/LC_MESSAGES/gnome-mud.mo
/usr/share/locale/nl/LC_MESSAGES/gnome-mud.mo
%changelog
* Wed Jan 12 2005 Adam Luchjenbroers
- Initial RPM release.
diff -ur gnome-mud-0.10.5-old/doc/omf-install/Makefile.in gnome-mud-0.10.5/doc/omf-install/Makefile.in
--- gnome-mud-0.10.5-old/doc/omf-install/Makefile.in 2005-01-12 01:47:33.409906144 +0930
+++ gnome-mud-0.10.5/doc/omf-install/Makefile.in 2005-01-12 01:48:17.894143512 +0930
@@ -330,7 +330,6 @@
-for file in $(srcdir)/*.omf; do \
$(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(omf_dest_dir); \
done
- -scrollkeeper-update -p $(scrollkeeper_localstate_dir)
uninstall-local:
-for file in $(srcdir)/*.omf; do \
@@ -338,7 +337,6 @@
rm -f $(omf_dest_dir)/$$basefile; \
done
-rmdir $(omf_dest_dir)
- -scrollkeeper-update -p $(scrollkeeper_localstate_dir)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]