|
Erik Schilling |
9d9c7bf |
Name: tiled
|
|
Erik Schilling |
e39bb90 |
Version: 0.9.0
|
|
Erik Schilling |
e39bb90 |
Release: 1%{?dist}
|
|
Erik Schilling |
9d9c7bf |
Summary: Tiled Map Editor
|
|
Erik Schilling |
9d9c7bf |
# tiled itself is GPLv2+, libtiled and tmxviewer are BSD
|
|
Erik Schilling |
9d9c7bf |
License: GPLv2+ and BSD
|
|
Erik Schilling |
9d9c7bf |
URL: http://www.mapeditor.org
|
|
Erik Schilling |
9d9c7bf |
Source0: http://sourceforge.net/projects/%{name}/files/%{name}-qt/%{version}/%{name}-qt-%{version}.tar.gz
|
|
Erik Schilling |
9d9c7bf |
|
|
Erik Schilling |
9d9c7bf |
BuildRequires: qt4-devel
|
|
Erik Schilling |
9d9c7bf |
BuildRequires: desktop-file-utils
|
|
Erik Schilling |
9d9c7bf |
|
|
Erik Schilling |
9d9c7bf |
%description
|
|
Erik Schilling |
9d9c7bf |
Tiled is a general purpose tile map editor. It's built to be easy to use,
|
|
Erik Schilling |
9d9c7bf |
yet flexible enough to work with varying game engines, whether your game
|
|
Erik Schilling |
9d9c7bf |
is an RPG, platformer or Breakout clone. Tiled is free software and written
|
|
Erik Schilling |
9d9c7bf |
in C++, using the Qt application framework.
|
|
Erik Schilling |
9d9c7bf |
|
|
Erik Schilling |
9d9c7bf |
This package contains the tiled application and tmxviewer, a simple application
|
|
Erik Schilling |
9d9c7bf |
to view Tiled maps.
|
|
Erik Schilling |
9d9c7bf |
|
|
Erik Schilling |
9d9c7bf |
%prep
|
|
Erik Schilling |
9d9c7bf |
%setup -q -n %{name}-qt-%{version}
|
|
Erik Schilling |
9d9c7bf |
# Remove copy of zlib
|
|
Erik Schilling |
9d9c7bf |
rm -rf src/zlib
|
|
Erik Schilling |
9d9c7bf |
|
|
Erik Schilling |
9d9c7bf |
%build
|
|
Erik Schilling |
9d9c7bf |
qmake-qt4 -r PREFIX=%{_prefix} LIBDIR=%{_libdir} RPATH=no
|
|
Erik Schilling |
9d9c7bf |
make %{?_smp_mflags}
|
|
Erik Schilling |
9d9c7bf |
|
|
Erik Schilling |
9d9c7bf |
%install
|
|
Erik Schilling |
9d9c7bf |
make install INSTALL_ROOT=%{buildroot}
|
|
Erik Schilling |
e39bb90 |
|
|
Erik Schilling |
9d9c7bf |
# Clean build artefacts
|
|
Erik Schilling |
9d9c7bf |
find -name ".uic" -or -name ".moc" -or -name ".rcc" | xargs rm -rf
|
|
Erik Schilling |
e39bb90 |
|
|
Erik Schilling |
9d9c7bf |
# Validate desktop file
|
|
Erik Schilling |
9d9c7bf |
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
Erik Schilling |
e39bb90 |
|
|
Erik Schilling |
9d9c7bf |
# locale files
|
|
Erik Schilling |
9d9c7bf |
%find_lang %{name} --with-qt
|
|
Erik Schilling |
e39bb90 |
|
|
Erik Schilling |
9d9c7bf |
# Removed development file (this version does not install headers anyway)
|
|
Erik Schilling |
9d9c7bf |
rm %{buildroot}/%{_libdir}/lib%{name}.so
|
|
Erik Schilling |
9d9c7bf |
|
|
Erik Schilling |
9d9c7bf |
%post -p /sbin/ldconfig
|
|
Erik Schilling |
9d9c7bf |
%postun -p /sbin/ldconfig
|
|
Erik Schilling |
9d9c7bf |
|
|
Erik Schilling |
9d9c7bf |
%files -f %{name}.lang
|
|
Erik Schilling |
9d9c7bf |
%doc AUTHORS NEWS README.md COPYING LICENSE.GPL LICENSE.BSD
|
|
Erik Schilling |
9d9c7bf |
%{_bindir}/%{name}
|
|
Erik Schilling |
e39bb90 |
%{_bindir}/tmxrasterizer
|
|
Erik Schilling |
9d9c7bf |
%{_bindir}/tmxviewer
|
|
Erik Schilling |
9d9c7bf |
%{_datadir}/applications/%{name}.desktop
|
|
Erik Schilling |
9d9c7bf |
%{_datadir}/%{name}/images
|
|
Erik Schilling |
9d9c7bf |
%dir %{_datadir}/%{name}/
|
|
Erik Schilling |
9d9c7bf |
%dir %{_datadir}/%{name}/translations
|
|
Erik Schilling |
9d9c7bf |
%{_libdir}/lib%{name}.so.*
|
|
Erik Schilling |
9d9c7bf |
%{_libdir}/%{name}
|
|
Erik Schilling |
9d9c7bf |
%{_mandir}/man1/%{name}.1*
|
|
Erik Schilling |
9d9c7bf |
%{_mandir}/man1/tmxviewer.1*
|
|
Erik Schilling |
e39bb90 |
%{_mandir}/man1/tmxrasterizer.1*
|
|
Erik Schilling |
9d9c7bf |
|
|
Erik Schilling |
9d9c7bf |
%changelog
|
|
Erik Schilling |
e39bb90 |
* Sat Jan 12 2013 Erik Schilling <ablu.erikschilling@googlemail.com> 0.9.0-1
|
|
Erik Schilling |
e39bb90 |
- New upstream release 0.9.0
|
|
Erik Schilling |
e39bb90 |
- Dropped now obsolete patches and files
|
|
Erik Schilling |
e39bb90 |
|
|
Erik Schilling |
9d9c7bf |
* Mon Sep 3 2012 Erik Schilling <ablu.erikschilling@googlemail.com> 0.8.1-3
|
|
Erik Schilling |
9d9c7bf |
- Fixed preserving of timestamps in install command.
|
|
Erik Schilling |
9d9c7bf |
- Fixed typo in permission setting.
|
|
Erik Schilling |
9d9c7bf |
- Talked with upstream about license mismatch in headers.
|
|
Erik Schilling |
9d9c7bf |
- Those headers were outdated.
|
|
Erik Schilling |
9d9c7bf |
|
|
Erik Schilling |
9d9c7bf |
* Mon Sep 3 2012 Erik Schilling <ablu.erikschilling@googlemail.com> 0.8.1-2
|
|
Erik Schilling |
9d9c7bf |
- Added note about which parts are licensed with which license.
|
|
Erik Schilling |
9d9c7bf |
- Made sure that the copy of zlib inside of the source is removed.
|
|
Erik Schilling |
9d9c7bf |
- Fixed handling of locales (using %%find_lang).
|
|
Erik Schilling |
9d9c7bf |
- Avoided plain asterisks in %%files.
|
|
Erik Schilling |
9d9c7bf |
- Made description clear about containing the tmxviewer.
|
|
Erik Schilling |
9d9c7bf |
|
|
Erik Schilling |
9d9c7bf |
* Sun Sep 2 2012 Erik Schilling <ablu.erikschilling@googlemail.com> 0.8.1-1
|
|
Erik Schilling |
9d9c7bf |
- First version for official fedora repos.
|