Accepting request 1002402 from devel:languages:tcl

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1002402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jimtcl?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-09-10 18:17:28 +00:00 committed by Git OBS Bridge
commit 945d8894cf
5 changed files with 30 additions and 53 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9369b63a7e27bd8dd7b5e488e070f3ad1131d834f097c8f913a864ca3dcff1de
size 2228485

3
jimtcl-0.81.tar.gz Normal file
View File

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

View File

@ -1,37 +0,0 @@
Index: Makefile.in
===================================================================
--- Makefile.in.orig
+++ Makefile.in
@@ -72,8 +72,9 @@ docs: Tcl.html
@if JIM_DOCS
install-docs: docs
- $(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
@@ -85,7 +86,6 @@ $(JIMSH): $(LIBJIM) jimsh.o initjimsh.o
install: all @TCL_EXTS@ install-exec install-docs
$(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)
- for i in README.extensions @C_EXT_SHOBJS@ @TCL_EXTS@; do rm -f $(DESTDIR)@libdir@/jim/$$i; done
+ for i in @C_EXT_SHOBJS@ @TCL_EXTS@; do rm -f $(DESTDIR)@libdir@/jim/$$i; done
rm -f $(DESTDIR)@includedir@/jim*.h
- rm -f $(DESTDIR)@datadir@/doc/jim/Tcl.html
+ rm -f $(DESTDIR)@datadir@/doc/jimtcl/README.extensions
+ rm -f $(DESTDIR)@datadir@/doc/jimtcl/Tcl.html
@else
install install-exec: all
uninstall:

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 18 10:15:19 UTC 2022 - Matwey Kornilov <matwey.kornilov@gmail.com>
- Update to version 0.81
Drop jimtcl-fix_doc_paths.patch
-------------------------------------------------------------------
Sun Mar 30 10:11:45 UTC 2014 - matwey.kornilov@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package jimtcl
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,21 +12,22 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define libjim_name libjim0_75
%define libjim_name libjim0_81
Name: jimtcl
Version: 0.75
Version: 0.81
Release: 0
Summary: A small embeddable Tcl interpreter
License: BSD-2-Clause
Group: Development/Languages/Tcl
Url: http://jim.tcl.tk
Source: jimtcl-%{version}.tar.gz
Patch0: jimtcl-fix_doc_paths.patch
URL: http://jim.tcl.tk
Source: https://github.com/msteveb/jimtcl/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: asciidoc
BuildRequires: hostname
%description
Jim is an opensource small-footprint implementation of the Tcl programming
@ -38,8 +39,8 @@ UTF-8 support.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/Tcl
Requires: %{name} = %{version}
Requires: %{libjim_name} = %{version}
Requires: %{name} = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
@ -54,7 +55,7 @@ Jim is an opensource small-footprint implementation of the Tcl programming langu
%prep
%setup -q -n %{name}-%{version}
%patch0
iconv --from=ISO-8859-1 --to=UTF-8 AUTHORS > AUTHORS.new ; mv AUTHORS.new AUTHORS
iconv --from=ISO-8859-1 --to=UTF-8 LICENSE > LICENSE.new ; mv LICENSE.new LICENSE
@ -73,7 +74,7 @@ make test
%install
%make_install
rm -rf %{buildroot}%{_datadir}/doc/%{name}
rm -rf %{buildroot}%{_prefix}/docs
pushd %{buildroot}%{_libdir}/
ln -s libjim.so.* libjim.so
popd
@ -84,19 +85,26 @@ popd
%files
%defattr(-,root,root,-)
%doc LICENSE AUTHORS README Tcl.html
%license LICENSE
%doc AUTHORS README
%{_bindir}/jimsh
%{_bindir}/jimdb
%files -n %{libjim_name}
%defattr(-,root,root,-)
%doc LICENSE
%license LICENSE
%{_libdir}/libjim.so.*
%dir %{_libdir}/jim
%{_libdir}/jim/README.extensions
%{_libdir}/jim/tcltest.tcl
%files devel
%defattr(-,root,root,-)
%doc DEVELOPING README.extensions README.metakit README.namespaces README.oo README.utf-8 STYLE
%license LICENSE
%doc DEVELOPING README.metakit README.namespaces README.oo README.utf-8 STYLE Tcl.html
%{_includedir}/*
%{_bindir}/build-jim-ext
%{_libdir}/libjim.so
%{_libdir}/pkgconfig/jimtcl.pc
%changelog