2008-09-25 16:36:05 +02:00
|
|
|
#
|
|
|
|
# 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
|
2009-04-27 15:48:02 +02:00
|
|
|
Url: http://www.freehackers.org/~tnagy/semantik.html
|
2008-09-25 16:36:05 +02:00
|
|
|
License: QPLv1 - THE Q PUBLIC LICENSE v. 1.0
|
2009-04-27 15:48:02 +02:00
|
|
|
Vendor: openSUSE-Education
|
2008-09-25 16:36:05 +02:00
|
|
|
Release: 1
|
2009-04-27 15:48:02 +02:00
|
|
|
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
|
2008-09-25 16:36:05 +02:00
|
|
|
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.
|
|
|
|
|
2009-04-27 15:48:02 +02:00
|
|
|
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.
|
|
|
|
|
2008-09-25 16:36:05 +02:00
|
|
|
Author:
|
|
|
|
-------
|
|
|
|
Thomas Nagy
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-04-27 15:48:02 +02:00
|
|
|
%patch1 -p1
|
2008-09-25 16:36:05 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
2009-04-27 15:48:02 +02:00
|
|
|
|
|
|
|
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
|
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 {} \;
|
|
|
|
%suse_update_desktop_file -i %name Office ProjectManagement
|
2009-04-27 15:48:02 +02:00
|
|
|
%kde_post_install
|
2008-09-25 16:36:05 +02:00
|
|
|
%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
|