2008-09-25 16:36:05 +02:00
|
|
|
#
|
|
|
|
# spec file for package semantik
|
|
|
|
#
|
2013-08-12 17:54:52 +02:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-11-06 18:35:10 +01:00
|
|
|
#
|
|
|
|
# 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/
|
2008-09-25 16:36:05 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: semantik
|
2013-08-12 17:54:52 +02:00
|
|
|
Version: 0.8.4
|
2012-11-06 18:35:10 +01:00
|
|
|
Release: 0
|
2008-09-25 16:36:05 +02:00
|
|
|
Summary: A mindmapping-like tool
|
2013-08-12 17:54:52 +02:00
|
|
|
License: GPL-3.0 and GPL-2.0
|
2012-11-06 18:35:10 +01:00
|
|
|
Group: Productivity/Office/Other
|
2013-08-12 17:54:52 +02:00
|
|
|
Url: http://www.freehackers.org/~tnagy/semantik.html
|
2012-11-06 18:35:10 +01:00
|
|
|
Source0: http://semantik.googlecode.com/files/%{name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libQtWebKit-devel
|
|
|
|
BuildRequires: libkde4-devel
|
|
|
|
BuildRequires: libqt4-devel
|
|
|
|
BuildRequires: ocaml
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(ImageMagick)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2008-09-25 16:36:05 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-11-06 18:35:10 +01:00
|
|
|
%kde4_runtime_requires
|
2008-09-25 16:36:05 +02:00
|
|
|
|
|
|
|
%description
|
2012-11-06 18:35:10 +01:00
|
|
|
Semantik (previously Kdissert) is a mindmapping-like tool to help students
|
|
|
|
to produce complicated documents very quickly and efficiently :
|
|
|
|
presentations, dissertations, thesis, reports.
|
2008-09-25 16:36:05 +02:00
|
|
|
|
2012-11-06 18:35:10 +01:00
|
|
|
While targetted mostly at students, Semantik can also help teachers,
|
|
|
|
decision maker, engineers and businessmen.
|
2008-09-25 16:36:05 +02:00
|
|
|
|
2012-11-06 18:35:10 +01:00
|
|
|
Though this application shares some similarities with general-purpose
|
|
|
|
mindmapping tools like Freemind or Vym, the very first goal of Semantik is
|
2009-04-27 15:48:02 +02:00
|
|
|
to create general-purpose documents through the use of mindmaps.
|
|
|
|
|
2008-09-25 16:36:05 +02:00
|
|
|
%prep
|
2012-11-06 18:35:10 +01:00
|
|
|
%setup -q
|
2008-09-25 16:36:05 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
2012-11-06 18:35:10 +01:00
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
export CXXFLAGS="%{optflags}"
|
|
|
|
# export LDFLAGS="-Wl,-Bsymbolic-functions $LDFLAGS"
|
2009-04-27 15:48:02 +02:00
|
|
|
|
2012-11-06 18:35:10 +01:00
|
|
|
./waf configure \
|
|
|
|
--prefix=%{_prefix}
|
2009-04-27 15:48:02 +02:00
|
|
|
|
2012-11-06 18:35:10 +01:00
|
|
|
./waf build %{?_smp_mflags}
|
2008-09-25 16:36:05 +02:00
|
|
|
|
|
|
|
%install
|
2009-04-27 15:48:02 +02:00
|
|
|
./waf install --destdir=%{buildroot}
|
2008-09-25 16:36:05 +02:00
|
|
|
find . -name "*desktop*" -exec rm -v {} \;
|
2012-11-06 18:35:10 +01:00
|
|
|
%suse_update_desktop_file -i %{name} Office ProjectManagement
|
2009-04-27 15:48:02 +02:00
|
|
|
%kde_post_install
|
2012-11-06 18:35:10 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
%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
|
2008-09-25 16:36:05 +02:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2012-11-06 18:35:10 +01:00
|
|
|
%files -f %{name}.lang
|
2008-09-25 16:36:05 +02:00
|
|
|
%defattr(-,root,root)
|
2012-11-06 18:35:10 +01:00
|
|
|
%doc ChangeLog README
|
2008-09-25 16:36:05 +02:00
|
|
|
%{_libdir}/libnablah.so
|
2012-11-06 18:35:10 +01:00
|
|
|
%{_bindir}/semantik
|
|
|
|
%{_datadir}/kde4/apps/semantik
|
|
|
|
%{_datadir}/applications/kde4/semantik.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/semantik*.png
|
2012-12-02 17:41:55 +01:00
|
|
|
%{_datadir}/icons/oxygen/*/actions/semantik*.png
|
2008-09-25 16:36:05 +02:00
|
|
|
|
|
|
|
%changelog
|