Copy from home:HighwayStar:sandbox/semantik via accept of submit request 9425

Request was accepted with message:
reviewed ok.

OBS-URL: https://build.opensuse.org/package/show/Education/semantik?expand=0&rev=2
This commit is contained in:
andrea florio 2009-04-27 13:48:02 +00:00 committed by Git OBS Bridge
parent 0601e150f3
commit 992aa1bee5
9 changed files with 50 additions and 61 deletions

View File

@ -1,13 +0,0 @@
Index: wscript
===================================================================
--- wscript.orig
+++ wscript
@@ -83,7 +83,7 @@
install_files('SEMANTIK_DIR', 'flags', 'src/flags/*.svg')
install_files('TEMPLATE_DIR', '', rt+'*.py')
- Common.do_install(os.path.abspath('waf'), bld.env_of_name('default')['TEMPLATE_DIR']+'waf')
+# Common.do_install(os.path.abspath('waf'), bld.env_of_name('default')['TEMPLATE_DIR']+'waf')
install_files('TEMPLATE_DIR', 'pdflatex', rt+'pdflatex/*')
for x in 'html odt odp java'.split():
install_files('TEMPLATE_DIR', x, rt+'%s/*' % x)

View File

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

View File

@ -1,12 +0,0 @@
Index: semantik-0.6.6/src/data/semantik.desktop
===================================================================
--- semantik-0.6.6.orig/src/data/semantik.desktop
+++ semantik-0.6.6/src/data/semantik.desktop
@@ -4,6 +4,7 @@ Name=Semantik
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:638ac28ddb2f273d203ac054b4dad19d62723391651f1dcc1519922ab39c25a1
size 394245

View File

@ -0,0 +1,11 @@
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;

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

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 27 22:06:11 IRKST 2009 - highwaystar.ru@gmail.com
- update to 0.7.2
- removed some unnecasary hacks from spec
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 19 14:31:50 CET 2008 - lars@linux-schulserver.de Wed Mar 19 14:31:50 CET 2008 - lars@linux-schulserver.de

View File

@ -10,21 +10,17 @@
Name: semantik Name: semantik
Summary: A mindmapping-like tool Summary: A mindmapping-like tool
Group: Productivity/Office/Other Group: Productivity/Office/Other
Url: http://freehackers.org/~tnagy/kdissert.html Url: http://www.freehackers.org/~tnagy/semantik.html
License: QPLv1 - THE Q PUBLIC LICENSE v. 1.0 License: QPLv1 - THE Q PUBLIC LICENSE v. 1.0
Vendor: openSUSE-Education Vendor: openSUSE-Education
Release: 1 Release: 1
Version: 0.6.6 Version: 0.7.2
BuildRequires: xorg-x11-devel libxml2-devel kdebase4-devel libkde4-devel ImageMagick-devel libqt4-x11 BuildRequires: libxml2-devel kdebase4-devel libkde4-devel ImageMagick-devel bundle-lang-common-en bundle-lang-kde-en
%define prefix /opt/kde3/ BuildRequires: fdupes update-desktop-files python-devel libqt4-devel libQtWebKit-devel ocaml gcc-c++
%define qtdir /usr/%_lib/qt4 %kde4_runtime_requires
%define qtincludes %prefix/include/Qt Source0: http://www.freehackers.org/~tnagy/%name-%version.tar.bz2
%define qt4libs %_libdir
BuildRequires: python-devel libqt4-devel ocaml gcc-c++ update-desktop-files
BuildRequires: kdelibs3-devel fdupes
Source0: %name-%version.tar.bz2
Source1: %name-rpmlintrc Source1: %name-rpmlintrc
Patch1: semantik-0.6.6-desktop.patch Patch1: semantik-0.7.2-desktop.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -37,6 +33,10 @@ presentations, dissertations, thesis, reports.
While targetted mostly at students, Kdissert can also help teachers, While targetted mostly at students, Kdissert can also help teachers,
decision maker, engineers and businessmen. 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: Author:
------- -------
Thomas Nagy Thomas Nagy
@ -47,20 +47,22 @@ Author:
%patch1 -p1 %patch1 -p1
%build %build
. /etc/opt/kde3/common_options
./waf configure --prefix=%prefix \
--qtdir=%qtdir \
--qtincludes=%qtincludes \
--qtlibs=%qt4libs
./waf build %(echo %_smp_mflags|sed -e 's/j/j /')
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 %install
. /etc/opt/kde3/common_options ./waf install --destdir=%{buildroot}
./waf install --destdir="%buildroot"
install -m644 -D src/images/semantik-32.png %buildroot%_datadir/pixmaps/%name.png
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
%find_lang %name %find_lang %name
%fdupes -s %buildroot %fdupes -s %buildroot
@ -76,7 +78,6 @@ rm -rf %buildroot
%doc README LICENSE* %doc README LICENSE*
%{_libdir}/libnablah.so %{_libdir}/libnablah.so
%_bindir/semantik %_bindir/semantik
%_datadir/pixmaps/%name.png
%_datadir/kde4/apps/semantik %_datadir/kde4/apps/semantik
%_datadir/icons/oxygen/*/actions/semantik*.png %_datadir/icons/oxygen/*/actions/semantik*.png
%_datadir/applications/kde4/semantik.desktop %_datadir/applications/kde4/semantik.desktop