SHA256
1
0
forked from pool/semantik

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,6 +1,6 @@
# 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/.*")
# 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,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

View File

@ -10,21 +10,17 @@
Name: semantik
Summary: A mindmapping-like tool
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
Vendor: openSUSE-Education
Vendor: openSUSE-Education
Release: 1
Version: 0.6.6
BuildRequires: xorg-x11-devel libxml2-devel kdebase4-devel libkde4-devel ImageMagick-devel libqt4-x11
%define prefix /opt/kde3/
%define qtdir /usr/%_lib/qt4
%define qtincludes %prefix/include/Qt
%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
Patch1: semantik-0.6.6-desktop.patch
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
@ -37,6 +33,10 @@ 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
@ -44,23 +44,25 @@ Author:
%prep
%setup -q
%patch1 -p1
%patch1 -p1
%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
. /etc/opt/kde3/common_options
./waf install --destdir="%buildroot"
install -m644 -D src/images/semantik-32.png %buildroot%_datadir/pixmaps/%name.png
./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
@ -76,7 +78,6 @@ rm -rf %buildroot
%doc README LICENSE*
%{_libdir}/libnablah.so
%_bindir/semantik
%_datadir/pixmaps/%name.png
%_datadir/kde4/apps/semantik
%_datadir/icons/oxygen/*/actions/semantik*.png
%_datadir/applications/kde4/semantik.desktop