Accepting request 455988 from home:Mailaender:branches:devel:languages:lua

new upstream release

OBS-URL: https://build.opensuse.org/request/show/455988
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/zerobranestudio?expand=0&rev=5
This commit is contained in:
Marguerite Su 2017-02-12 06:54:49 +00:00 committed by Git OBS Bridge
parent b9fe945d10
commit 6488ee2fae
5 changed files with 16 additions and 70 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24f899a7013ddf959f14d6a43277377947350967661b18813389e3fbb2ab3731
size 22476103

3
1.50.tar.gz Normal file
View File

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

View File

@ -1,57 +0,0 @@
From 7c2a24161969593dba579f96532f845de927e211 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
Date: Sun, 18 Sep 2016 17:11:37 +0200
Subject: [PATCH] Add an appdata.xml file.
---
build/CMakeLists.txt | 3 +++
zbstudio/res/zbstudio.appdata.xml | 26 ++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 100644 zbstudio/res/zbstudio.appdata.xml
diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt
index 43b1644..6827153 100644
--- a/build/CMakeLists.txt
+++ b/build/CMakeLists.txt
@@ -136,6 +136,9 @@ else()
install(DIRECTORY ${TOPDIR}/zbstudio/res/icons/ DESTINATION share/icons/hicolor)
install(FILES ${TOPDIR}/zbstudio/res/zbstudio.desktop DESTINATION share/applications)
+ # install Linux software gallery metadata
+ install(FILES ${TOPDIR}/zbstudio/res/zbstudio.appdata.xml DESTINATION share/appdata)
+
# install miscellaneous documentation files
install(FILES ${TOPDIR}/CHANGELOG.md ${TOPDIR}/LICENSE ${TOPDIR}/README.md DESTINATION share/doc/zbstudio)
diff --git a/zbstudio/res/zbstudio.appdata.xml b/zbstudio/res/zbstudio.appdata.xml
new file mode 100644
index 0000000..5f10f26
--- /dev/null
+++ b/zbstudio/res/zbstudio.appdata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">zbstudio.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>MIT</project_license>
+ <name>ZeroBrane Studio</name>
+ <summary>Lightweight Lua-based IDE for Lua</summary>
+ <description>
+ <p>
+ ZeroBrane Studio is a lightweight Lua IDE with code completion, syntax
+ highlighting, live coding, code analyzer, and debugging support for
+ Lua 5.1, Lua 5.2, Lua 5.3, LuaJIT, and other Lua engines.
+ </p>
+ <p>
+ It is simple and instantly usable for beginners yet feature-rich and
+ extensible for experienced developers. It has a small footprint and is
+ completely customizable with Lua while still including a full IDE feature
+ set including a remote debugger.
+ </p>
+ </description>
+ <url type="homepage">https://studio.zerobrane.com</url>
+ <screenshots>
+ <screenshot type="default">https://studio.zerobrane.com/images/scratchpad-linux-mint.png</screenshot>
+ </screenshots>
+ <update_contact>paul@kulchenko.com</update_contact>
+</application>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 10 11:30:39 UTC 2017 - mailaender@opensuse.org
- update to version 1.50
- remove appdata.patch (included upstream)
-------------------------------------------------------------------
Sun Sep 18 14:47:37 UTC 2016 - mailaender@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package ZeroBraneStudio
# spec file for package zerobranestudio
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -17,7 +17,7 @@
Name: zerobranestudio
Version: 1.40
Version: 1.50
Release: 0
Summary: Lightweight Lua IDE
License: MIT
@ -26,24 +26,22 @@ Url: http://studio.zerobrane.com/
Source: https://github.com/pkulchenko/ZeroBraneStudio/archive/%{version}.tar.gz
# PATCH-FIX-OPENSUSE use system Lua
Patch0: zbstudio.patch
# PATCH-FEATURE-UPSTREAM https://github.com/pkulchenko/ZeroBraneStudio/pull/698
Patch1: appdata.patch
BuildRequires: cmake >= 2.8
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: fdupes
BuildRequires: wxlua-devel
BuildRequires: lua51
BuildRequires: lua51-luasocket
BuildRequires: wxlua-devel
Requires: libwxlua
Requires: lua51
Requires: lua51-luasocket
Requires: lua51-BitOp
Requires: lua51-luasocket
Recommends: lua52
Recommends: luajit
Provides: zerobrane-studio
Provides: zbstudio
Provides: zerobrane-studio
BuildArch: noarch
%description
@ -56,7 +54,6 @@ others). It originated from the Estrela Editor.
%prep
%setup -q -n ZeroBraneStudio-%{version}
%patch0 -p1
%patch1 -p1
# remove pre-built binaries
rm -rf bin zbstudio/ZeroBraneStudio.app zbstudio.exe