- Drop bundled jsmol and jspecview from package.

OBS-URL: https://build.opensuse.org/package/show/science/jmol?expand=0&rev=13
This commit is contained in:
2018-01-19 23:26:44 +00:00
committed by Git OBS Bridge
parent 1c7ddbd932
commit 2268251c01
5 changed files with 20 additions and 5 deletions

BIN
Jmol-14.27.2-binary.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
jmol-14.27.2.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 19 23:24:04 UTC 2018 - jengelh@inai.de
- Drop bundled jsmol and jspecview from package.
-------------------------------------------------------------------
Mon Dec 25 23:52:45 UTC 2017 - jengelh@inai.de

View File

@@ -24,17 +24,19 @@ License: LGPL-2.1
Group: Productivity/Scientific/Chemistry
Url: http://jmol.sf.net/
Source: http://downloads.sf.net/jmol/Jmol-%version-binary.tar.gz
#Source: http://downloads.sf.net/jmol/Jmol-%version-binary.tar.gz
Source: jmol-%version.tar.xz
Source2: Jmol_icon13.png
#Source2-Orig: http://wiki.jmol.org/index.php/File:Jmol_icon13.png
Source3: %name.man
Source4: %name.desktop
Source9: sanitize_binpkg.sh
Patch1: datadir.diff
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: desktop-file-utils
BuildRequires: dos2unix
BuildRequires: unzip
BuildRequires: xz
BuildRequires: update-desktop-files
Requires: java

8
sanitize_binpkg.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
v=14.27.2
rm -rf "jmol-$v"
tar -xf "Jmol-$v-binary.tar.gz"
# kill bundled software
rm "jmol-$v/jsmol.zip" "jmol-$v/JSpecView.jar"
tar -cf "jmol-$v.tar.xz" "jmol-$v"