rpms/jmol/F-10 Jmol_icon_128.png, NONE, 1.1 import.log, NONE, 1.1 jmol.desktop, NONE, 1.1 jmol.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jussi Lehtola jussilehtola at fedoraproject.org
Thu Oct 23 21:04:12 UTC 2008


Author: jussilehtola

Update of /cvs/pkgs/rpms/jmol/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30871/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	Jmol_icon_128.png import.log jmol.desktop jmol.spec 
Log Message:
- First release.



--- NEW FILE import.log ---
jmol-11_6-3_10137svn_fc9:F-10:jmol-11.6-3.10137svn.fc9.src.rpm:1224795750


--- NEW FILE jmol.desktop ---
[Desktop Entry] 
Encoding=UTF-8
Name=Jmol
GenericName=Jmol: an open-source Java viewer for chemical structures in 3D
Comment=Jmol is a free, open source molecule viewer for students, educators, and researchers in chemistry and biochemistry.
Exec=jmol
Icon=jmol
Terminal=false
Type=Application
Categories=Education;



--- NEW FILE jmol.spec ---
%define svnrel 10137

Name:		jmol
Version:	11.6
Release:	3.%{svnrel}svn%{?dist}
Summary:	An open-source Java viewer for chemical structures in 3D
Group:		Applications/Engineering
License:	LGPLv2+
URL:		http://jmol.sourceforge.net
BuildArch:	noarch
#Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}-full.tar.gz
# The source package has been created from SVN sources:
# svn export -r %{svnrel} https://jmol.svn.sourceforge.net/svnroot/jmol/branches/v11_6/Jmol
Source0:	%{name}-%{version}.%{svnrel}.tar.bz2
Source1:	jmol.desktop
# Image available at "http://wiki.jmol.org:81/index.php/Image:Jmol_icon_128.png" 
Source2:	Jmol_icon_128.png
#Source2:	"http://wiki.jmol.org:81/index.php/Image:Jmol_icon_128.png"
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	ant
BuildRequires:	desktop-file-utils
BuildRequires:	jpackage-utils

Requires:	java >= 1:1.6.0
Requires:	jpackage-utils

%description
Jmol is a free, open source molecule viewer for students, educators, 
and researchers in chemistry and biochemistry.


%package javadoc
Summary:	Javadocs for %{name}
Group:		Documentation
Requires:	%{name} = %{version}-%{release}
Requires:	jpackage-utils

%description javadoc
This package contains the API documentation for %{name}.


%package doc
Summary:	Documentation for %{name}
Group:		Documentation
Requires:	jpackage-utils
Requires:	%{name} = %{version}-%{release}

%description doc
The documentation for %{name}.


%prep
%setup -q -n Jmol
find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \;

%build
ant doc main

%install
rm -rf %{buildroot}

install -D -p -m 755 jmol %{buildroot}%{_bindir}/%{name}

install -D -p -m 444 build/Jmol.jar %{buildroot}%{_datadir}/%{name}/Jmol.jar
install -D -p -m 444 build/JmolApplet.jar %{buildroot}%{_datadir}/%{name}/JmolApplet.jar

install -D -p -m 444 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png

# Convert documentation to UTF-8
for txtfile in README.txt COPYRIGHT.txt LICENSE.txt; do
	iconv -f ASCII -t UTF-8 $txtfile >$txtfile.new && mv $txtfile{.new,}
done

# Install desktop file
desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
 %{SOURCE1}

# Javadoc files
mkdir -p %{buildroot}%{_javadocdir}/%{name}
cp -rp build/javadoc/* %{buildroot}%{_javadocdir}/%{name}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc build/doc/* README.txt COPYRIGHT.txt LICENSE.txt
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop

%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}

%files doc
%defattr(-,root,root,-)
%doc build/doc/*

%changelog
* Thu Oct 23 2008 Jussi Lehtola - 11.6-3.10137svn
- Update to svn revision 10137.

* Tue Oct 14 2008 Jussi Lehtola - 11.6-2.10081svn
- Review fixes.

* Mon Oct 13 2008 Jussi Lehtola - 11.6-1.10081svn
- First release.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/jmol/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Oct 2008 20:15:56 -0000	1.1
+++ .cvsignore	23 Oct 2008 21:03:42 -0000	1.2
@@ -0,0 +1 @@
+jmol-11.6.10137.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/jmol/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Oct 2008 20:15:56 -0000	1.1
+++ sources	23 Oct 2008 21:03:42 -0000	1.2
@@ -0,0 +1 @@
+2fc3f6204f611fcba3415139551d35d4  jmol-11.6.10137.tar.bz2




More information about the fedora-extras-commits mailing list