- 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:
Jan Engelhardt 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

View File

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

3
jmol-14.27.2.tar.xz Normal file
View File

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

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"