2024-01-06 00:19:33 +01:00
|
|
|
%define majver %(echo %version | cut -d_ -f1)
|
2024-01-06 00:19:29 +01:00
|
|
|
Name: jmol
|
2024-01-06 00:19:33 +01:00
|
|
|
Version: 14.2.9_2014.11.23
|
|
|
|
Release: 1mamba
|
2024-01-06 00:19:29 +01:00
|
|
|
Summary: Jmol is a Java based application and an applet for displaying 3D chemical information.
|
|
|
|
Group: Graphical Desktop/Applications/Educational
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://jmol.sourceforge.net/download/
|
2024-01-06 00:19:33 +01:00
|
|
|
Source: http://downloads.sourceforge.net/project/jmol/Jmol/Version%2014.2/Version%20%{majver}/Jmol-%{version}-full.tar.gz
|
2024-01-06 00:19:29 +01:00
|
|
|
Source1: jmol.png
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Jmol is a Java based application and an applet for displaying 3D chemical information.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
2024-01-06 00:19:33 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/jmol
|
|
|
|
cp -a * %{buildroot}%{_datadir}/jmol/
|
2024-01-06 00:19:29 +01:00
|
|
|
|
2024-01-06 00:19:33 +01:00
|
|
|
rm -rf %{buildroot}%{_datadir}/jmol/{jmol.zip,src,manifest}
|
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/jmol.png
|
|
|
|
install -D -m0755 jmol %{buildroot}%{_bindir}/jmol
|
2024-01-06 00:19:29 +01:00
|
|
|
|
|
|
|
# Create the system menu entry
|
2024-01-06 00:19:33 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/applications
|
2024-01-06 00:19:29 +01:00
|
|
|
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
|
|
|
|
[Desktop Entry]
|
|
|
|
Name=%{name}
|
2024-01-06 00:19:33 +01:00
|
|
|
GenericName=An applet for displaying 3D chemical information.
|
|
|
|
GenericName[it]=Applet per mostrare formule chimiche in 3d
|
2024-01-06 00:19:29 +01:00
|
|
|
Comment=jmol is a Java based application and an applet for displaying 3D chemical information.
|
|
|
|
Comment[de]=3D-Betrachter für Molekül- und Kristall-Strukturen
|
2024-01-06 00:19:33 +01:00
|
|
|
Exec=%{_bindir}/jmol
|
|
|
|
Icon=%{_datadir}/pixmaps/jmol.png
|
2024-01-06 00:19:29 +01:00
|
|
|
Terminal=0
|
|
|
|
Type=Application
|
|
|
|
X-KDE-StartupNotify=false
|
|
|
|
Categories=Education;Science;
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 00:19:33 +01:00
|
|
|
%{_bindir}/jmol
|
2024-01-06 00:19:29 +01:00
|
|
|
%{_datadir}/applications/jmol.desktop
|
|
|
|
%{_datadir}/pixmaps/jmol.png
|
2024-01-06 00:19:33 +01:00
|
|
|
%dir %{_datadir}/jmol
|
|
|
|
%{_datadir}/jmol/*
|
|
|
|
%doc LICENSE.txt COPYRIGHT.txt
|
2024-01-06 00:19:29 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:19:33 +01:00
|
|
|
* Sun Dec 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 14.2.9_2014.11.23-1mamba
|
|
|
|
- update to 14.2.9_2014.11.23
|
|
|
|
|
2024-01-06 00:19:29 +01:00
|
|
|
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 11.4.4-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sun Jun 15 2008 gil <puntogil@libero.it> 11.4.4-1mamba
|
|
|
|
- update to 11.4.4
|
|
|
|
|
|
|
|
* Fri Jul 22 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> full-1qilnx
|
|
|
|
- package created by autospec
|