Compare commits

...

4 Commits
rawhide ... f10

Author SHA1 Message Date
Fedora Release Engineering 0e0e374a7e dist-git conversion 2010-07-29 03:28:20 +00:00
Bill Nottingham 2b19342cc0 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:37:49 +00:00
Kalev Lember 3955a0d7cf Initial import (#516336). 2009-08-13 08:10:27 +00:00
Kevin Fenzi 4f2f3e643b Initialize branch F-10 for mmapper 2009-08-13 00:01:06 +00:00
5 changed files with 95 additions and 21 deletions

View File

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
mmapper-2.0.4-final2-source.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: mmapper
# $Id$
NAME := mmapper
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

93
mmapper.spec Normal file
View File

@ -0,0 +1,93 @@
%global extraversion final2
Name: mmapper
Version: 2.0.4
Release: 2.%{extraversion}%{?dist}
Summary: Graphical MUME mapper
Group: Amusements/Games
# The following files are dual licensed under
# LGPLv2 with exceptions or GPLv3 with exceptions:
# - src/3rdparty/qtiocompressor.cpp
# - src/3rdparty/qtiocompressor.h
# The following files are GPLv2:
# - src/mapstorage/basemapsavefilter.cpp
# - src/mapstorage/basemapsavefilter.h
# - src/mapstorage/filesaver.cpp
# - src/mapstorage/filesaver.h
# - src/mapstorage/progresscounter.cpp
# - src/mapstorage/progresscounter.h
# The rest of the source files are GPLv2+
License: GPLv2
URL: http://sourceforge.net/projects/mmapper
Source0: http://downloads.sourceforge.net/%{name}/%{name}%20%{version}%20%28final%29/%{name}-%{version}-%{extraversion}-source.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: qt4-devel
Requires: hicolor-icon-theme
%description
MMapper is a graphical mapper for a MUD named MUME (Multi-Users in Middle
Earth). The game is traditionally played in a text-only mode, but MMapper tries
to represent the virtual world in user-friendly graphical environment. It acts
as a proxy between a telnet client and a MUD server, being able to analyze game
data in real time and show player's position in a map.
%prep
%setup -q -n %{name}-%{version}-%{extraversion}-source
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
# It is questionable if one is allowed to redistribute the map.
rm -f $RPM_BUILD_ROOT/%{_datadir}/games/mmapper/arda.mm2
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/mmapper.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%defattr(-,root,root,-)
%doc AUTHORS.txt ChangeLog.txt COPYING.txt doc/*.txt
%doc src/3rdparty/LGPL_EXCEPTION.txt src/3rdparty/LICENSE.LGPL
%{_bindir}/mmapper
%{_datadir}/applications/mmapper.desktop
%{_datadir}/icons/hicolor/*/apps/mmapper.png
%changelog
* Tue Aug 11 2009 Kalev Lember <kalev@smartlink.ee> - 2.0.4-2.final2
- Changed license tag to read "GPLv2" as there is GPLv2-only code in the mix.
* Fri Aug 07 2009 Kalev Lember <kalev@smartlink.ee> - 2.0.4-1.final2
- Initial RPM release.

View File

@ -0,0 +1 @@
ba690157374e51bf11291accb5de3b0e mmapper-2.0.4-final2-source.tar.gz