Accepting request 206836 from home:Mailaender:branches:games:tools

OBS-URL: https://build.opensuse.org/request/show/206836
OBS-URL: https://build.opensuse.org/package/show/games:tools/tiled?expand=0&rev=1
This commit is contained in:
Dirk Stoecker 2013-11-25 14:05:15 +00:00 committed by Git OBS Bridge
commit d4aa82530f
5 changed files with 195 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
tiled-qt-0.9.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6868f8333b8c66835301792051a76e7fc68467619b6e97a85b587f537c36b527
size 1436286

53
tiled.changes Normal file
View File

@ -0,0 +1,53 @@
-------------------------------------------------------------------
Wed Nov 13 21:39:26 UTC 2013 - mailaender@opensuse.org
- update to version 0.9.1
- spec and file cleanup
- removed desktop file and icon (now included)
- https://en.opensuse.org/SourceUrls
- separated GUI tool, library and cli tools
-------------------------------------------------------------------
Tue Feb 5 20:09:59 UTC 2013 - ablu.erikschilling@googlemail.com
- fixed qt4->qt
-------------------------------------------------------------------
Tue Feb 5 19:58:31 UTC 2013 - ablu.erikschilling@googlemail.com
- Removed conflict line
-------------------------------------------------------------------
Fri Feb 1 11:44:48 UTC 2013 - ablu.erikschilling@googlemail.com
- Added conflict line
-------------------------------------------------------------------
Mon Jan 28 06:12:33 UTC 2013 - ablu.erikschilling@googlemail.com
- Added obsolete line
-------------------------------------------------------------------
Sat Jan 12 00:00:00 UTC 2013 - ablu.erikschilling@googlemail.com
- New upstream release 0.9.0
- Dropped now obsolete patches and files
-------------------------------------------------------------------
Mon Sep 3 00:00:00 UTC 2012 - ablu.erikschilling@googlemail.com
- Added note about which parts are licensed with which license.
- Made sure that the copy of zlib inside of the source is removed.
- Fixed handling of locales (using %%find_lang).
- Avoided plain asterisks in %%files.
- Made description clear about containing the tmxviewer.
-------------------------------------------------------------------
Sun Sep 2 00:00:00 UTC 2012 - ablu.erikschilling@googlemail.com
- First version for official fedora repos.
-------------------------------------------------------------------
Fri May 11 18:31:39 UTC 2012 - ablu.erikschilling@googlemail.com
- Copied package to obs, fixed problems occurring there.

115
tiled.spec Normal file
View File

@ -0,0 +1,115 @@
#
# spec file for package tiled
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: tiled
Version: 0.9.1
Release: 0
Summary: Tiled Map Editor
Group: Productivity/Graphics/Other
License: GPL-2.0+
Url: http://www.mapeditor.org
Source: http://sourceforge.net/projects/%{name}/files/%{name}-qt/%{version}/%{name}-qt-%{version}.tar.gz
BuildRequires: qt-devel
BuildRequires: gcc-c++
BuildRequires: desktop-file-utils
BuildRequires: hicolor-icon-theme
Provides: tiled-qt
Requires: libtiled1
Suggests: tmxtools
%description
Tiled is a general purpose tile map editor. It's built to be easy to use,
yet flexible enough to work with varying game engines, whether your game
is an RPG, platformer or Breakout clone. Tiled is free software and written
in C++, using the Qt application framework.
%package -n tmxtools
Summary: Commandline Tools for Tiled MapEditor
Group: Productivity/Graphics/Other
License: BSD-2-Clause
%description -n tmxtools
This package contains tmxviewer, a simple application to view Tiled maps
and tmxrasterizer which is also a command line tool.
%package -n libtiled1
Summary: Library for Tiled MapEditor
Group: Development/Libraries/C and C++
License: BSD-2-Clause
%description -n libtiled1
This package contains libtiled a library for the Tiled map editor.
%prep
%setup -q -n %{name}-qt-%{version}
# Remove copy of zlib
rm -rf src/zlib
%build
%if 0%{?suse_version}
qmake -r PREFIX=%{_prefix} LIBDIR=%{_libdir} RPATH=no
%else
qmake-qt4 -r PREFIX=%{_prefix} LIBDIR=%{_libdir} RPATH=no
%endif
make %{?_smp_mflags}
%install
make install INSTALL_ROOT=%{buildroot}
# Clean build artefacts
find -name ".uic" -or -name ".moc" -or -name ".rcc" | xargs rm -rf
# Validate desktop file
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
# locale files
%find_lang %{name} --with-qt
# Removed development file (this version does not install headers anyway)
rm %{buildroot}/%{_libdir}/lib%{name}.so
%post -n libtiled1 -p /sbin/ldconfig
%postun -n libtiled1 -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS NEWS README.md COPYING LICENSE.GPL
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%dir %{_datadir}/%{name}/
%dir %{_datadir}/%{name}/translations
%{_libdir}/%{name}
%{_mandir}/man1/%{name}.1%{ext_man}
%files -n libtiled1
%defattr(-,root,root)
%doc LICENSE.BSD
%{_libdir}/lib%{name}.so.*
%files -n tmxtools
%defattr(-,root,root)
%doc LICENSE.BSD
%{_bindir}/automappingconverter
%{_bindir}/tmxrasterizer
%{_bindir}/tmxviewer
%{_mandir}/man1/tmxviewer.1%{ext_man}
%{_mandir}/man1/tmxrasterizer.1%{ext_man}
%{_mandir}/man1/automappingconverter.1%{ext_man}
%changelog