- 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:
BIN
Jmol-14.27.2-binary.tar.gz
(Stored with Git LFS)
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
BIN
jmol-14.27.2.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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
|
||||
|
||||
|
@@ -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
8
sanitize_binpkg.sh
Normal 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"
|
Reference in New Issue
Block a user