Accepting request 393361 from home:susnux:branches:games:tools
Update to new version OBS-URL: https://build.opensuse.org/request/show/393361 OBS-URL: https://build.opensuse.org/package/show/games:tools/tiled?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
f8683a30d3
commit
80ab0a4da7
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8078b266cc4902451e14b1efb6c8eba69f610e5056fcb74d1d30b5b236253200
|
||||
size 2372813
|
3
tiled-0.16.0.tar.gz
Normal file
3
tiled-0.16.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c02df78021c07c5574a8b52fcb61a02649db039724f13ecacdd18840df7490ee
|
||||
size 4485752
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 2 21:48:15 UTC 2016 - rpm@fthiessen.de
|
||||
|
||||
- Update to version 0.16.0
|
||||
- Minor spec cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 17 09:33:56 UTC 2015 - roman@priesol.net
|
||||
|
||||
|
41
tiled.spec
41
tiled.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tiled
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,21 +15,25 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: tiled
|
||||
Version: 0.12.3
|
||||
Version: 0.16.0
|
||||
Release: 0
|
||||
Summary: Tiled Map Editor
|
||||
Group: Productivity/Graphics/Other
|
||||
Summary: A tilemap editor
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Graphics/Other
|
||||
Url: http://www.mapeditor.org
|
||||
Source: https://github.com/bjorn/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: qt-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libQt5OpenGL-devel
|
||||
BuildRequires: libqt5-linguist
|
||||
BuildRequires: libqt5-qtbase-devel
|
||||
BuildRequires: zlib-devel
|
||||
Recommends: tmxtools
|
||||
Provides: tiled-qt
|
||||
Requires: libtiled1
|
||||
Suggests: tmxtools
|
||||
|
||||
%description
|
||||
Tiled is a general purpose tile map editor. It's built to be easy to use,
|
||||
@@ -39,8 +43,8 @@ in C++, using the Qt application framework.
|
||||
|
||||
%package -n tmxtools
|
||||
Summary: Commandline Tools for Tiled MapEditor
|
||||
Group: Productivity/Graphics/Other
|
||||
License: BSD-2-Clause
|
||||
Group: Productivity/Graphics/Other
|
||||
|
||||
%description -n tmxtools
|
||||
This package contains tmxviewer, a simple application to view Tiled maps
|
||||
@@ -48,23 +52,19 @@ 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
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n libtiled1
|
||||
This package contains libtiled a library for the Tiled map editor.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%setup -q
|
||||
# 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
|
||||
qmake-qt5 -r PREFIX=%{_prefix} LIBDIR=%{_libdir} RPATH=no
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@@ -74,14 +74,14 @@ 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
|
||||
rm %{buildroot}%{_libdir}/lib%{name}.so
|
||||
|
||||
# Remove duplicates
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
|
||||
%post -n libtiled1 -p /sbin/ldconfig
|
||||
%postun -n libtiled1 -p /sbin/ldconfig
|
||||
@@ -90,6 +90,7 @@ rm %{buildroot}/%{_libdir}/lib%{name}.so
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS NEWS README.md COPYING LICENSE.GPL
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/terraingenerator
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/*/mimetypes/application-x-%{name}.*
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
||||
|
Reference in New Issue
Block a user