jmol-14.27.2
OBS-URL: https://build.opensuse.org/package/show/science/jmol?expand=0&rev=12
This commit is contained in:
11
jmol.spec
11
jmol.spec
@@ -17,21 +17,19 @@
|
||||
|
||||
|
||||
Name: jmol
|
||||
Version: 14.6.1
|
||||
Version: 14.27.2
|
||||
Release: 0
|
||||
%define date 2016.07.11
|
||||
Summary: 3D Viewer for chemical structures
|
||||
License: LGPL-2.1
|
||||
Group: Productivity/Scientific/Chemistry
|
||||
Url: http://jmol.sf.net/
|
||||
|
||||
Source: http://downloads.sf.net/jmol/Jmol-%{version}_%date-binary.zip
|
||||
Source: http://downloads.sf.net/jmol/Jmol-%version-binary.tar.gz
|
||||
Source2: Jmol_icon13.png
|
||||
#Source2-Orig: http://wiki.jmol.org/index.php/File:Jmol_icon13.png
|
||||
Source3: %name.man
|
||||
Source4: %name.desktop
|
||||
Patch1: datadir.diff
|
||||
Patch2: fsf-adress.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: desktop-file-utils
|
||||
@@ -45,9 +43,8 @@ Jmol is a Java-based viewer for chemical structures in 3D with
|
||||
features for chemicals, crystals, materials and biomolecules.
|
||||
|
||||
%prep
|
||||
%setup -qn %name-%{version}_%date
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p0
|
||||
cp %{S:2} .
|
||||
|
||||
%build
|
||||
@@ -57,7 +54,7 @@ perl -i -pe 's{\@pkgdatadir\@}{%_datadir/%name}gs' jmol.sh
|
||||
cp %{S:3} .
|
||||
sed -i 's/INST_VERSION/%version/' jmol.man
|
||||
sed -i 's/INST_SUMMARY/%summary/' jmol.man
|
||||
gzip jmol.man
|
||||
gzip -9 jmol.man
|
||||
|
||||
%install
|
||||
b="%buildroot"
|
||||
|
Reference in New Issue
Block a user