Accepting request 139626 from home:Dmitry_R:WIP

OBS-URL: https://build.opensuse.org/request/show/139626
OBS-URL: https://build.opensuse.org/package/show/Education/semantik?expand=0&rev=3
This commit is contained in:
Lars Vogdt 2012-11-06 17:35:10 +00:00 committed by Git OBS Bridge
parent 992aa1bee5
commit 3aeb0693b4
6 changed files with 83 additions and 70 deletions

View File

@ -1,11 +0,0 @@
diff -ruN semantik-0.7.2.orig/src/data/semantik.desktop semantik-0.7.2.patched/src/data/semantik.desktop
--- semantik-0.7.2.orig/src/data/semantik.desktop 2009-04-26 22:50:03.000000000 +0900
+++ semantik-0.7.2.patched/src/data/semantik.desktop 2009-04-27 11:20:02.000000000 +0900
@@ -4,6 +4,7 @@
GenericName=Mind mapping software
GenericName[tr]=Zihin haritalama uygulaması
Type=Application
+Exec=semantik
Terminal=false
Icon=semantik
MimeType=application/x-semantik;

View File

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

3
semantik-0.8.3.tar.bz2 Normal file
View File

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

View File

@ -1,6 +0,0 @@
# these files don't need executable bits
addFilter("W: non-executable-script /usr/share/kde4/apps/semantik/.*")
# follow upstream (even if this is not a good excuse ;-)
addFilter(" W: no-soname /usr/lib.*/libnablah.so")
# semantik is a KDE app - and KDE can handle this
addFilter("W: wrong-icon-size /usr/share/icons/.*")

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Mon Oct 22 22:20:48 UTC 2012 - tnagy1024@gmail.com
- Update to version 0.8.3
* New dialog for exporting the map as a picture with a specific size
* More consistent gui elements (dialog buttons, menus)
* New UML shapes
* Straight arrows on the diagrams
* Fixed several crashes
* Fixe various LaTeX templates
* New actor and usecase elements
-------------------------------------------------------------------
Sat Sep 8 11:26:11 UTC 2012 - dmitry@roshchin.org
- Update to version 0.8.1
* Made the gui mode-less
* Enabled diagram, image and table export in the beamer template
* Fixed the Java applet generator
* undo/redo actions
* select subtrees
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 27 22:06:11 IRKST 2009 - highwaystar.ru@gmail.com Mon Apr 27 22:06:11 IRKST 2009 - highwaystar.ru@gmail.com
- update to 0.7.2 - update to 0.7.2

View File

@ -1,87 +1,95 @@
# #
# spec file for package semantik # spec file for package semantik
# #
# This file and all modifications and additions to the pristine # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# package are under the same license as the package itself. #
# 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/
# #
# norootforbuild
Name: semantik Name: semantik
Version: 0.8.3
Release: 0
License: GPL-3.0
Summary: A mindmapping-like tool Summary: A mindmapping-like tool
Group: Productivity/Office/Other
Url: http://www.freehackers.org/~tnagy/semantik.html Url: http://www.freehackers.org/~tnagy/semantik.html
License: QPLv1 - THE Q PUBLIC LICENSE v. 1.0 Group: Productivity/Office/Other
Vendor: openSUSE-Education Source0: http://semantik.googlecode.com/files/%{name}-%{version}.tar.bz2
Release: 1 BuildRequires: fdupes
Version: 0.7.2 BuildRequires: gcc-c++
BuildRequires: libxml2-devel kdebase4-devel libkde4-devel ImageMagick-devel bundle-lang-common-en bundle-lang-kde-en BuildRequires: libQtWebKit-devel
BuildRequires: fdupes update-desktop-files python-devel libqt4-devel libQtWebKit-devel ocaml gcc-c++ BuildRequires: libkde4-devel
%kde4_runtime_requires BuildRequires: libqt4-devel
Source0: http://www.freehackers.org/~tnagy/%name-%version.tar.bz2 BuildRequires: ocaml
Source1: %name-rpmlintrc BuildRequires: python-devel
Patch1: semantik-0.7.2-desktop.patch BuildRequires: update-desktop-files
BuildRequires: pkgconfig(ImageMagick)
BuildRequires: pkgconfig(libxml-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description %description
Semantik (previously Kdissert) is a mindmapping-like tool to help students Semantik (previously Kdissert) is a mindmapping-like tool to help students
to produce complicated documents very quickly and efficiently : to produce complicated documents very quickly and efficiently :
presentations, dissertations, thesis, reports. presentations, dissertations, thesis, reports.
While targetted mostly at students, Kdissert can also help teachers, While targetted mostly at students, Semantik can also help teachers,
decision maker, engineers and businessmen. decision maker, engineers and businessmen.
Though this application shares some similarities with general-purpose Though this application shares some similarities with general-purpose
mindmapping tools like Freemind or Vym, the very first goal of Semantik is mindmapping tools like Freemind or Vym, the very first goal of Semantik is
to create general-purpose documents through the use of mindmaps. to create general-purpose documents through the use of mindmaps.
Author:
-------
Thomas Nagy
%prep %prep
%setup -q %setup -q
%patch1 -p1
%build %build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
# export LDFLAGS="-Wl,-Bsymbolic-functions $LDFLAGS"
export CFLAGS=$RPM_OPT_FLAGS ./waf configure \
export CXXFLAGS=$RPM_OPT_FLAGS --prefix=%{_prefix}
export LDFLAGS="-Wl,-Bsymbolic-functions $LDFLAGS"
./waf configure --prefix=%{_prefix} \ ./waf build %{?_smp_mflags}
--want-rpath=0
./waf build
%install %install
./waf install --destdir=%{buildroot} ./waf install --destdir=%{buildroot}
find . -name "*desktop*" -exec rm -v {} \; find . -name "*desktop*" -exec rm -v {} \;
%suse_update_desktop_file -i %name Office ProjectManagement %suse_update_desktop_file -i %{name} Office ProjectManagement
%kde_post_install %kde_post_install
%find_lang %name %find_lang %{name}
%fdupes -s %buildroot %fdupes -s %{buildroot}
# fix non-executable-script
chmod a+rx %{buildroot}%{_kde4_appsdir}/semantik/templates/pdflatex/wscript
chmod a+rx %{buildroot}%{_kde4_appsdir}/semantik/templates/beamer/wscript
chmod a+rx %{buildroot}%{_kde4_appsdir}/semantik/templates/waf
chmod a+rx %{buildroot}%{_kde4_appsdir}/semantik/filters/*.py
chmod a+rx %{buildroot}%{_kde4_appsdir}/semantik/sembind.py
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%clean %files -f %{name}.lang
rm -rf %buildroot
%files -f %name.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc README LICENSE* %doc ChangeLog README
%{_libdir}/libnablah.so %{_libdir}/libnablah.so
%_bindir/semantik %{_bindir}/semantik
%_datadir/kde4/apps/semantik %{_datadir}/kde4/apps/semantik
%_datadir/icons/oxygen/*/actions/semantik*.png %{_datadir}/applications/kde4/semantik.desktop
%_datadir/applications/kde4/semantik.desktop %{_datadir}/icons/hicolor/*/apps/semantik*.png
%_datadir/icons/hicolor/*/apps/semantik*.png
%changelog %changelog