diff --git a/_service b/_service
new file mode 100644
index 0000000..e975dae
--- /dev/null
+++ b/_service
@@ -0,0 +1,7 @@
+
+
+ waf.io
+ https
+ /semantik-1.2.1.tar.bz2
+
+
diff --git a/semantik-1.0.1.tar.bz2 b/semantik-1.0.1.tar.bz2
deleted file mode 100644
index 623c9cf..0000000
--- a/semantik-1.0.1.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:91e97799262611a2a6ed2930b19fd902626ff0c64e02cb2f46f481e9d09a7429
-size 469375
diff --git a/semantik-1.2.1.tar.bz2 b/semantik-1.2.1.tar.bz2
new file mode 100644
index 0000000..540c674
--- /dev/null
+++ b/semantik-1.2.1.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:33901309d2127ba45e8e9c345729e9565eea7a45952b7bfdf22ef3838dfb0e84
+size 617115
diff --git a/semantik-filetree-qtdbus.patch b/semantik-filetree-qtdbus.patch
deleted file mode 100644
index 5530046..0000000
--- a/semantik-filetree-qtdbus.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: semantik-1.0.1/wscript
-===================================================================
---- semantik-1.0.1.orig/wscript
-+++ semantik-1.0.1/wscript
-@@ -63,7 +63,7 @@ src/fig/semantik_d_win.h
- src/fig/filetree.h
- src/fig/diagram_document.h
- ''',
-- use = 'KDECORE QT5CORE QT5WIDGETS QT5GUI QT5XML QT5PRINTSUPPORT QT5SVG semlib',
-+ use = 'KDECORE QT5CORE QT5WIDGETS QT5GUI QT5XML QT5PRINTSUPPORT QT5SVG QT5DBUS semlib',
- target = 'src/semantik-d',
- includes = '. src src/fig src/base')
-
diff --git a/semantik.changes b/semantik.changes
index 289567d..4bbd8f6 100644
--- a/semantik.changes
+++ b/semantik.changes
@@ -1,3 +1,71 @@
+-------------------------------------------------------------------
+Wed Feb 6 03:57:31 UTC 2019 - Marguerite Su
+
+- set _service to disabled, it's a factory package
+
+-------------------------------------------------------------------
+Sun Jan 6 23:55:56 UTC 2019 - lars@linux-schulserver.de
+
+- update to 1.2.1:
+ * Fix duplicate reference values
+ * Fix double prompts for overwriting files
+ * Fix map variables visibility when opening maps
+ * Fix document generator dialog's tab navigation
+ * Fix boundary objects' text alignment (diagrams)
+ * Fix pipe objects' resizing (diagrams)
+ * Fix component objects' margin sizes
+ * Enable newlines on most diagram objects #89
+ * Add global settings for commands to execute after a template is called
+ From Semantik 1.2.0:
+ * Add support for references (Kdissert) #91
+ * Add support for newlines in table attachments #89
+ * Configure arrow colors on the main map
+ * Add a new Entity shape for data modeling (diagrams)
+ * Fix missing crossing lines when printing or exporting diagrams
+ From Semantik 1.1.0:
+ * Improve the looks of diagram crossing lines
+ From Semantik 1.0.9:
+ * Display picture and diagram thumbnails on the main map
+ * Add a touchpad mode for laptop users
+ From Semantik 1.0.8:
+ * Add new formatting actions to the Rich Text editor: text color,
+ hyperlink, list, clear formatting
+ * Position diagram boundary captions to top or bottom
+ * Improve the odt template styles
+ From Semantik 1.0.7:
+ * Export rich text in html/s5 document generators
+ * Add new styles for the odt template
+ * Add text alignment options to diagram elements
+ From Semantik 1.0.6:
+ * Improve the document export from the command-line
+ * Fix some annoying with the base directory changing to /tmp
+ * Persist font settings in documents
+ * Update the French translation data
+ * Export png files in html and latex documents
+ * Remove the Beamer files: most LaTeX distributions provide them nowadays
+ From Semantik 1.0.5:
+ * Highlight code snippets in beamer presentations/pdflatex using Minted
+ * Fix drawing artifacts when switching diagrams
+ * Fix the inactive custom color buttons in semantik #88
+ * Add a color toolbar to semantik-d
+ * Improve the default colors for readability
+ From Semantik 1.0.4:
+ * Improve PDF diagram export
+ * Fix Qt Dbus compilation errors on some systems
+ From Semantik 1.0.3:
+ * Updated import filters to Python3 syntax #83
+ * Fix image imports #84
+ * Improve zigzag lines routing for sequence elements
+ From Semantik 1.0.2:
+ * Fix truncated saved documents in combination with accentuated characters
+ * Deply highcolor icons to force the application icon
+ * Deselect currently selected diagram elements after adding a new one
+ * Add spell checking to the text widget
+ * Improve paragraph handling for generated OpenOffice.org text documents
+- added python3-Pygments BuildRequires
+- use _service now
+- removed semantik-filetree-qtdbus.patch
+
-------------------------------------------------------------------
Wed May 9 03:27:32 UTC 2018 - bwiedemann@suse.com
diff --git a/semantik.spec b/semantik.spec
index e708a17..9a140a2 100644
--- a/semantik.spec
+++ b/semantik.spec
@@ -1,7 +1,7 @@
#
# spec file for package semantik
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,21 +12,19 @@
# 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: semantik
-Version: 1.0.1
+Version: 1.2.1
Release: 0
Summary: A mindmapping-like tool
-License: GPL-3.0 and GPL-2.0
+License: GPL-3.0-only AND GPL-2.0-only
Group: Productivity/Office/Other
-Url: http://ita1024.github.io/semantik/
+Url: https://waf.io/semantik.html
Source0: https://waf.io/%{name}-%{version}.tar.bz2
Source1: %{name}.1
-#PATCH-FIX-UPSTREAM marguerite@opensuse.org fix QDBusAbstractInterface not found error
-Patch: semantik-filetree-qtdbus.patch
BuildRequires: ImageMagick
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -38,6 +36,7 @@ BuildRequires: libqt5-linguist
BuildRequires: libqt5-qtdeclarative-devel
BuildRequires: libqt5-qtsvg-devel
BuildRequires: libqt5-qtwebengine-devel
+BuildRequires: python3-Pygments
BuildRequires: python3-devel
BuildRequires: update-desktop-files
@@ -55,23 +54,22 @@ to create general-purpose documents through the use of mindmaps.
%prep
%setup -q
-%patch -p1
#wrong-icon-size
convert -strip src/data/hi48-app-semantik-d.png -resize 48x48 src/data/hi48-app-semantik-d.png
#env-script-interpreter
for i in src/filters/*.py src/sembind.py waf; do
- sed -i '1s:.*:#!/usr/bin/python:' $i;
+ sed -i '1s:.*:#!/usr/bin/python3:' $i;
done
%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
-# export LDFLAGS="-Wl,-Bsymbolic-functions $LDFLAGS"
./waf configure \
- --prefix=%{_prefix}
+ --prefix=%{_prefix} \
+ --python=%{_bindir}/python3
./waf build %{?_smp_mflags}
@@ -104,8 +102,8 @@ install -D -m644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
%{_libdir}/lib*.so*
%{_datadir}/applications/semantik*.desktop
%{_datadir}/pixmaps/*.svg
-%{_datadir}/icons/oxygen/*/apps/semantik*.png
-%{_datadir}/icons/oxygen/scalable/apps/semantik*.svg
+%{_datadir}/icons/hicolor/*/apps/semantik*.png
+%{_datadir}/icons/hicolor/*/apps/semantik*.svg
%{_datadir}/mime/packages/%{name}.xml
%{_mandir}/man1/%{name}.1*
%{_datadir}/semantik