mmapper/mmapper.spec

115 lines
3.5 KiB
RPMSpec
Raw Normal View History

2009-08-13 08:04:34 +00:00
Name: mmapper
2013-07-14 21:28:31 +00:00
Version: 2.2.1
2013-07-12 21:30:18 +00:00
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+
2009-08-13 08:04:34 +00:00
URL: http://sourceforge.net/projects/mmapper
2010-08-23 05:30:48 +00:00
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-source.tar.gz
2009-08-13 08:04:34 +00:00
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: qt4-devel
2010-08-23 07:22:54 +00:00
BuildRequires: qtiocompressor-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
2010-08-23 05:30:48 +00:00
%setup -q -n %{name}-%{version}-source
2010-08-23 07:22:54 +00:00
# remove bundled copy of qtiocompressor
rm -rf src/3rdparty
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
2013-07-12 21:30:18 +00:00
%doc COPYING.txt 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
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
* 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
* 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
* 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
* Fri Jul 22 2011 Kalev Lember <kalevlember@gmail.com> - 2.1.0-4
- Updated the mirrored textures patch for Qt >= 4.8
* 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
* 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
* Thu Feb 25 2010 Kalev Lember <kalev@smartlink.ee> - 2.0.4-5.final2
- Added patch to fix renderer crash with Qt 4.6
- patch to fix linking with the new --no-add-needed default
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.