[semantik] - semantik-0.8.2

brummbq brummbq at fedoraproject.org
Tue Oct 9 18:11:53 UTC 2012


commit 02d2837b5f28ce4be56531bb3d300cbda919597c
Author: Gregor Tätzner <gregor at freenet.de>
Date:   Tue Oct 9 20:11:28 2012 +0200

    - semantik-0.8.2

 .gitignore                      |    1 +
 semantik-0.7.3-fixdesktop.patch |   18 -------------
 semantik-0.7.3-ocaml.patch      |   12 ---------
 semantik-0.7.3-optflags.patch   |   12 ---------
 semantik.spec                   |   52 ++++++++++++++++----------------------
 sources                         |    2 +-
 6 files changed, 24 insertions(+), 73 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 51fcb97..ca58537 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /semantik-0.7.3.tar.bz2
+/semantik-0.8.2.tar.bz2
diff --git a/semantik.spec b/semantik.spec
index be7b079..f0e9b2f 100644
--- a/semantik.spec
+++ b/semantik.spec
@@ -1,28 +1,22 @@
-Name:    semantik 
+Name:    semantik
 Summary: Mind-mapping tool
-Version: 0.7.3
-Release: 4%{?dist}
+Version: 0.8.2
+Release: 1%{?dist}
 
-License: GPLv3 
-URL:     http://code.google.com/p/semantik/ 
+License: GPLv3
+URL:     http://code.google.com/p/semantik/
 Source0: http://semantik.googlecode.com/files/semantik-%{version}.tar.bz2
 
 # where ocaml is availble
 ExclusiveArch: alpha %{ix86} ia64 x86_64 ppc ppc64 sparc sparcv9
 
-Patch1: semantik-0.7.3-optflags.patch
-## upstreamable patches
-# fix linking for f15+ newer ocaml
-Patch50: semantik-0.7.3-ocaml.patch
-# the default desktop file is broken
-Patch51: semantik-0.7.3-fixdesktop.patch
-
 BuildRequires: desktop-file-utils
 BuildRequires: gettext
 BuildRequires: kdelibs4-devel
 BuildRequires: ocaml
 BuildRequires: PyKDE4
-BuildRequires: python-devel 
+BuildRequires: python-devel
+BuildRequires: waf
 
 Requires: PyKDE4
 
@@ -31,34 +25,28 @@ Semantik (previously Kdissert) is a mind mapping tool to help students
 to produce complicated documents very quickly and efficiently :
 presentations, dissertations, thesis, reports. While targeted mostly at
 students, Kdissert can also help teachers, decision maker, engineers and
-businessmen. 
+businessmen.
 
 
-%prep 
+%prep
 %setup -q
 
-%patch1 -p1 -b .optflags
-%patch51 -p1 -b .fixdesktop
-sed -i -e "s|RPM_OPT_FLAGS|%{optflags}|" wscript
-%if 0%{?fedora} > 14
-%patch50 -p1 -b .ocaml
-%endif
-
 
 %build
-./waf configure \
-  --prefix=`kde4-config --prefix` \
-  --want-rpath=0
+export CXXFLAGS="%{optflags}"
 
-# HACK!  
-sed -i -e "s|^LIBPATH_KDECORE = .*|LIBPATH_KDECORE = \'%{_libdir}/kde4/devel\'|" \
-  build/c4che/default.cache.py
+waf configure \
+  --prefix=`kde4-config --prefix`
 
-./waf build %{?_smp_mflags} --verbose
+# HACK!
+sed -i -e "s|^LIBPATH_KDECORE = .*|LIBPATH_KDECORE = [\'%{_libdir}/kde4/devel\']|" \
+  build/c4che/_cache.py
+
+waf build %{?_smp_mflags} --verbose
 
 
 %install
-./waf install --destdir=%{buildroot}
+waf install --destdir=%{buildroot}
 
 #fix rpmlint complaints
 chmod a+rx %{buildroot}%{_libdir}/libnablah.so
@@ -102,6 +90,10 @@ gtk-update-icon-cache %{_kde4_iconsdir}/oxygen &> /dev/null || :
 %{_kde4_iconsdir}/oxygen/*/*/*
 
 %changelog
+* Tue Oct 09 2012 Gregor Tätzner <brummbq at fedoraproject.org> - 0.8.2-1
+- semantik-0.8.2
+- dropped all patches
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 64d205a..717a9e0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0eb6f38b56390815e33e11505eb85ee2  semantik-0.7.3.tar.bz2
+4ff9ee02b4728a812463b7e3972419af  semantik-0.8.2.tar.bz2


More information about the scm-commits mailing list