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