diff --git a/jimtcl-0.75.tar.gz b/jimtcl-0.75.tar.gz new file mode 100644 index 0000000..657cee0 --- /dev/null +++ b/jimtcl-0.75.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9369b63a7e27bd8dd7b5e488e070f3ad1131d834f097c8f913a864ca3dcff1de +size 2228485 diff --git a/jimtcl-add_soname.patch b/jimtcl-add_soname.patch index af0919b..454aaf1 100644 --- a/jimtcl-add_soname.patch +++ b/jimtcl-add_soname.patch @@ -2,16 +2,16 @@ Index: Makefile.in =================================================================== --- Makefile.in.orig +++ Makefile.in -@@ -33,7 +33,7 @@ VPATH := @srcdir@ +@@ -36,7 +36,7 @@ VPATH := @srcdir@ @if JIM_STATICLIB LIBJIM := libjim.a @else --LIBJIM := libjim.@LIBSOEXT@ -+LIBJIM := libjim.@LIBSOEXT@.0.73 +-LIBJIM := libjim@LIBSOEXT@ ++LIBJIM := libjim@LIBSOEXT@.0.75 SH_LIBJIM := $(LIBJIM) CC += $(SH_CFLAGS) CXX += $(SH_CFLAGS) -@@ -126,7 +126,7 @@ $(LIBJIM): $(OBJS) +@@ -133,7 +133,7 @@ $(LIBJIM): $(OBJS) $(RANLIB) $@ @else $(LIBJIM): $(OBJS) diff --git a/jimtcl-fix_doc_paths.patch b/jimtcl-fix_doc_paths.patch index d045bcb..d738314 100644 --- a/jimtcl-fix_doc_paths.patch +++ b/jimtcl-fix_doc_paths.patch @@ -2,27 +2,27 @@ Index: Makefile.in =================================================================== --- Makefile.in.orig +++ Makefile.in -@@ -63,8 +63,9 @@ docs: Tcl.html +@@ -72,8 +72,9 @@ docs: Tcl.html @if JIM_DOCS install-docs: docs -- mkdir -p $(DESTDIR)$(prefix)/doc/jim -- cp Tcl.html $(DESTDIR)$(prefix)/doc/jim -+ mkdir -p $(DESTDIR)@datadir@/doc/jimtcl -+ cp @srcdir@/README.extensions @C_EXT_SHOBJS@ @TCL_EXTS@ $(DESTDIR)@datadir@/doc/jimtcl -+ cp Tcl.html $(DESTDIR)@datadir@/doc/jimtcl +- $(INSTALL_DATA_DIR) $(DESTDIR)$(prefix)/doc/jim +- $(INSTALL_DATA) Tcl.html $(DESTDIR)$(prefix)/doc/jim ++ $(INSTALL_DATA_DIR) $(DESTDIR)@datadir@/doc/jimtcl ++ $(INSTALL_DATA) Tcl.html $(DESTDIR)@datadir@/doc/jimtcl ++ $(INSTALL_DATA) @srcdir@/README.extensions @C_EXT_SHOBJS@ @TCL_EXTS@ $(DESTDIR)@datadir@/doc/jimtcl @else install-docs: @endif -@@ -76,7 +77,6 @@ $(JIMSH): $(LIBJIM) jimsh.o initjimsh.o +@@ -85,7 +86,6 @@ $(JIMSH): $(LIBJIM) jimsh.o initjimsh.o install: all @TCL_EXTS@ install-exec install-docs - mkdir -p $(DESTDIR)@libdir@/jim - cp $(LIBJIM) $(DESTDIR)@libdir@ -- cp @srcdir@/README.extensions @C_EXT_SHOBJS@ $(DESTDIR)@libdir@/jim - for i in @TCL_EXTS@; do cp @srcdir@/$$i $(DESTDIR)@libdir@/jim; done - mkdir -p $(DESTDIR)@includedir@ - cp @srcdir@/jim.h @srcdir@/jim-eventloop.h @srcdir@/jim-signal.h \ -@@ -93,9 +93,10 @@ uninstall: + $(INSTALL_DATA_DIR) $(DESTDIR)@libdir@/jim + $(INSTALL_DATA) $(LIBJIM) $(DESTDIR)@libdir@ +- $(INSTALL_DATA) @srcdir@/README.extensions @C_EXT_SHOBJS@ $(DESTDIR)@libdir@/jim + for i in @TCL_EXTS@; do $(INSTALL_DATA) @srcdir@/$$i $(DESTDIR)@libdir@/jim; done + $(INSTALL_DATA_DIR) $(DESTDIR)@includedir@ + $(INSTALL_DATA) @srcdir@/jim.h @srcdir@/jim-eventloop.h @srcdir@/jim-signal.h \ +@@ -102,9 +102,10 @@ uninstall: rm -f $(DESTDIR)@bindir@/$(JIMSH) rm -f $(DESTDIR)@bindir@/build-jim-ext rm -f $(DESTDIR)@libdir@/$(LIBJIM) diff --git a/jimtcl.changes b/jimtcl.changes index e685947..6d6c9e2 100644 --- a/jimtcl.changes +++ b/jimtcl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 13 15:52:23 UTC 2014 - matwey.kornilov@gmail.com + +- update to 0.75 +- fix license and add copyright to spec + ------------------------------------------------------------------- Fri Jul 12 16:33:05 UTC 2013 - prusnak@opensuse.org diff --git a/jimtcl.spec b/jimtcl.spec index feecfc9..33b9d4b 100644 --- a/jimtcl.spec +++ b/jimtcl.spec @@ -1,16 +1,30 @@ # +# spec file for package jimtcl +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: jimtcl -Version: 0.73 +Version: 0.75 Release: 0 -License: BSD Summary: A small embeddable Tcl interpreter -Url: http://jim.tcl.tk +License: BSD-2-Clause Group: Development/Languages/Tcl +Url: http://jim.tcl.tk # wget https://github.com/msteveb/jimtcl/archive/master.tar.gz -O jimtcl.tar.gz -Source: jimtcl.tar.gz +Source: jimtcl-%{version}.tar.gz Patch0: jimtcl-fix_doc_paths.patch Patch1: jimtcl-add_soname.patch BuildRequires: asciidoc @@ -32,7 +46,7 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep -%setup -q -n %{name}-master +%setup -q -n %{name}-%{version} %patch0 %patch1 iconv --from=ISO-8859-1 --to=UTF-8 AUTHORS > AUTHORS.new ; mv AUTHORS.new AUTHORS diff --git a/jimtcl.tar.gz b/jimtcl.tar.gz deleted file mode 100644 index 8c28218..0000000 --- a/jimtcl.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6a91bcfd71a2194c84e7b37d2ba83f2fa60990b158d96d8e1460d0ccd1f10680 -size 2210254