2009-08-13 08:04:34 +00:00
|
|
|
Name: mmapper
|
2015-05-02 12:08:09 +00:00
|
|
|
Version: 2.3.4
|
|
|
|
Release: 1%{?dist}
|
2009-08-13 08:04:34 +00:00
|
|
|
Summary: Graphical MUME mapper
|
|
|
|
|
|
|
|
Group: Amusements/Games
|
2010-08-23 07:22:54 +00:00
|
|
|
License: GPLv2+
|
2015-05-02 12:08:09 +00:00
|
|
|
URL: https://github.com/MUME/MMapper
|
|
|
|
Source0: https://github.com/MUME/MMapper/archive/v%{version}/MMapper-%{version}.tar.gz
|
2009-08-13 08:04:34 +00:00
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: desktop-file-utils
|
2015-05-02 12:08:09 +00:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: zlib-devel
|
2009-08-13 08:04:34 +00:00
|
|
|
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
|
2015-05-02 12:08:09 +00:00
|
|
|
%setup -q -n MMapper-%{version}
|
2009-08-13 08:04:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake} ..
|
|
|
|
popd
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
2015-05-02 12:08:31 +00:00
|
|
|
%license COPYING.txt
|
|
|
|
%doc NEWS.txt doc/*.txt
|
2009-08-13 08:04:34 +00:00
|
|
|
%{_bindir}/mmapper
|
|
|
|
%{_datadir}/applications/mmapper.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/mmapper.png
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2015-05-02 12:08:09 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.3.4-1
|
|
|
|
- Update to 2.3.4
|
|
|
|
- Update upstream URL
|
|
|
|
- Switch to qt5
|
2015-05-02 12:08:31 +00:00
|
|
|
- Use license macro for the COPYING.txt file
|
2015-05-02 12:08:09 +00:00
|
|
|
|
2014-08-17 09:48:58 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 10:37:09 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 11:22:42 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-14 21:28:31 +00:00
|
|
|
* Sun Jul 14 2013 Kalev Lember <kalevlember@gmail.com> - 2.2.1-1
|
|
|
|
- Update to 2.2.1
|
|
|
|
|
2013-07-12 21:30:18 +00:00
|
|
|
* Sat Jul 13 2013 Kalev Lember <kalevlember@gmail.com> - 2.2.0-1
|
|
|
|
- Update to 2.2.0
|
|
|
|
|
2013-02-14 07:17:17 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 02:11:02 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 10:14:31 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-07-22 15:55:29 +00:00
|
|
|
* Fri Jul 22 2011 Kalev Lember <kalevlember@gmail.com> - 2.1.0-4
|
|
|
|
- Updated the mirrored textures patch for Qt >= 4.8
|
|
|
|
|
2011-02-08 19:36:37 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-06 00:12:56 +00:00
|
|
|
* Thu Jan 06 2011 Kalev Lember <kalev@smartlink.ee> - 2.1.0-2
|
|
|
|
- Added patch to fix mirrored textures with Qt >= 4.6
|
|
|
|
|
2010-08-23 05:30:48 +00:00
|
|
|
* Mon Aug 23 2010 Kalev Lember <kalev@smartlink.ee> - 2.1.0-1
|
|
|
|
- Update to 2.1.0
|
|
|
|
- Dropped upstreamed patches
|
2010-08-23 07:22:54 +00:00
|
|
|
- Use system copy of qtiocompressor
|
2010-08-23 05:30:48 +00:00
|
|
|
|
2010-02-25 20:35:33 +00:00
|
|
|
* Thu Feb 25 2010 Kalev Lember <kalev@smartlink.ee> - 2.0.4-5.final2
|
|
|
|
- Added patch to fix renderer crash with Qt 4.6
|
2010-02-25 22:21:42 +00:00
|
|
|
- patch to fix linking with the new --no-add-needed default
|
2010-02-25 20:35:33 +00:00
|
|
|
|
2010-02-24 22:06:56 +00:00
|
|
|
* Thu Feb 25 2010 Kalev Lember <kalev@smartlink.ee> - 2.0.4-4.final2
|
|
|
|
- Rebuilt with Qt 4.6
|
|
|
|
|
2009-11-23 11:02:20 +00:00
|
|
|
* Mon Nov 23 2009 Kalev Lember <kalev@smartlink.ee> - 2.0.4-3.final2
|
|
|
|
- Updated source URL.
|
|
|
|
|
2009-08-13 08:04:34 +00:00
|
|
|
* 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.
|