rpms/gabedit/F-10 .cvsignore, 1.4, 1.5 gabedit.spec, 1.3, 1.4 sources, 1.4, 1.5 gabedit-gl2ps.patch, 1.1, NONE gabedit-gtkgl.patch, 1.2, NONE gabedit.desktop, 1.1, NONE

Dominik Mierzejewski rathann at fedoraproject.org
Fri Aug 21 21:10:28 UTC 2009


Author: rathann

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

Modified Files:
	.cvsignore gabedit.spec sources 
Removed Files:
	gabedit-gl2ps.patch gabedit-gtkgl.patch gabedit.desktop 
Log Message:
* Fri Aug 21 2009 Dominik Mierzejewski <rpm at greysector.net> 2.2.4-1
- updated to latest version (2.2.4)
- shortened the description field
- desktop file has been upstreamed
- dropped obsolete patches
- use posttrans for faster installation



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gabedit/F-10/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- .cvsignore	25 Sep 2008 21:25:13 -0000	1.4
+++ .cvsignore	21 Aug 2009 21:10:27 -0000	1.5
@@ -1 +1 @@
-Gabedit218Src.tar.gz
+GabeditSrc224.tar.gz


Index: gabedit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gabedit/F-10/gabedit.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- gabedit.spec	25 Sep 2008 21:25:13 -0000	1.3
+++ gabedit.spec	21 Aug 2009 21:10:28 -0000	1.4
@@ -1,15 +1,11 @@
-%define version	2.1.8
-%define tarver	218
+%define version	2.2.4
+%define tarver	224
 
 Name:		gabedit
 Summary:	GUI for computational chemistry
 Version:	%{version}
 Release:	1%{?dist}
-Source0:	http://downloads.sourceforge.net/sourceforge/gabedit/Gabedit%{tarver}Src.tar.gz
-#Source0:	http://downloads.sourceforge.net/sourceforge/gabedit/GabeditSrc%{tarver}.tar.gz
-Source1:	%{name}.desktop
-Patch0:		%{name}-gl2ps.patch
-Patch1:		%{name}-gtkgl.patch
+Source0:	http://downloads.sourceforge.net/sourceforge/gabedit/GabeditSrc%{tarver}.tar.gz
 Patch2:		%{name}-csh.patch
 URL:		http://gabedit.sourceforge.net/home.html
 License:	MIT
@@ -23,64 +19,23 @@ BuildRequires:	libGLU-devel
 BuildRequires:	libjpeg-devel
 
 %description
-Gabedit is a Graphical User Interface to Gamess-US, Gaussian, Molcas, Molpro
-and MPQC computational chemistry packages. Gabedit includes graphical
-facilities for generating keywords and options, molecule specifications and
-their input sections for even the most advanced calculation types. Gabedit
-includes an advanced Molecule Builder. You can use it to rapidly sketch in
-molecules and examine them in three dimensions. You can build molecules by
-atom, ring, group, amino acid and nucleoside. You can also read geometry from
-a file. Most major molecular file formats are supported.
-
-Gabedit includes a Gamess-US, Gaussian, Molcas, Molpro and MPQC Calculation
-Setup window which allows you to set up Gamess-US, Gaussian, Molcas, Molpro
-and MPQC jobs in a simple and straightforward manner.
-
-Gabedit can graphically display a variety of Gamess-US, Gaussian, Molcas,
-Molpro, MPQC and (partially) ADF calculation results, including the following:
-- Molecular orbitals
-- Surfaces from the electron density, electrostatic potential, NMR shielding
-  density, and other properties.
-- Surfaces may be displayed in solid, translucent and wire mesh modes. They
-  are can be colorcoded by a separate property.
-- Contours (colorcoded), Planes colorcoded, Dipole. XYZ axes and the principal
-  axes of the molecule.
-- Animation of the normal modes corresponding to vibrational frequencies.
-- Animation of the rotation of geometry, surfaces, contours, planes colorcoded,
-  xyz and the principal axes of the molecule.
-- Animation of contours, Animation of planes colorcoded.
-
-Gabedit can display IR and Raman computed spectra.
-
-Gabedit can generate a povray file for geometry (including hydrogen's bond),
-surfaces (including colorcoded surfaces), contours, planes colorcoded.
-
-Gabedit can save picture in BMP, JPEG, PNG, PPM and PS format.
-
-Gabedit can generate automatically a series of pictures for animation
-(vibration, geometry convergence, rotation, contours, planes colorcoded).
+Gabedit is a Graphical User Interface to Gamess-US, Gaussian, Molcas,
+Molpro and MPQC computational chemistry packages. Gabedit includes
+graphical facilities for generating keywords and options, molecule
+specifications and their input sections for even the most advanced
+calculation types. Gabedit includes an advanced Molecule Builder. You
+can use it to rapidly sketch in molecules and examine them in three
+dimensions. You can build molecules by atom, ring, group, amino acid and
+nucleoside. You can also read geometry from a file. Most major molecular
+file formats are supported.
 
 %prep
-%setup -q -n Gabedit%{tarver}Src
-%patch0 -p1 -b .gl2ps
-%patch1 -p1 -b .gtkgl
+%setup -q -n GabeditSrc%{tarver}
 %patch2 -p1
-# remove bundled pre-built binaries
-%{__rm} utils/MolecularMechanics/{createTPLfile,createmmfile}
 # remove Win32-specific files
 %{__rm} -r utils/InnosSetupScriptWin32
-%{__rm} utils/Others/Gabedit206.iss
 echo "external_gtkglarea=1" >> CONFIG
 echo "external_gl2ps=1" >> CONFIG
-# replace deprecated stuff dropped in 2.14
-# it's either this or a 0.5MB patch
-sed -i \
- -e 's/GtkSignalFunc/GCallback/g' \
- -e 's/GTK_SIGNAL_FUNC/G_CALLBACK/g' \
- -e 's/GTK_CHECK_CAST/G_TYPE_CHECK_INSTANCE_CAST/g' \
- -e 's/GTK_CHECK_TYPE/G_TYPE_CHECK_INSTANCE_TYPE/g' \
- -e 's/GtkDestroyNotify/GDestroyNotify/g' \
- `find -name "*.c" -o -name "*.h"`
 
 %build
 %{__make} %{?_smp_mflags} COMMONCFLAGS="$RPM_OPT_FLAGS"
@@ -94,7 +49,7 @@ install -pm755 %{name} %{buildroot}/%{_b
 install -d %{buildroot}%{_datadir}/applications
 desktop-file-install --vendor=fedora \
 	--dir=%{buildroot}%{_datadir}/applications \
-	%{SOURCE1}
+	utils/Others/gabedit.desktop
 
 for size in 16 32 48 ; do
 	install -d %{buildroot}/%{_datadir}/icons/hicolor/${size}x${size}/apps
@@ -105,15 +60,15 @@ done
 rm -rf %{buildroot}
 
 %post
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 %postun
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ $1 -eq 0 ] ; then
+  touch --no-create %{_datadir}/icons/hicolor
+  gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 fi
 
 %files
@@ -124,6 +79,13 @@ fi
 %{_datadir}/icons/hicolor/*/apps/*.png
 
 %changelog
+* Fri Aug 21 2009 Dominik Mierzejewski <rpm at greysector.net> 2.2.4-1
+- updated to latest version (2.2.4)
+- shortened the description field
+- desktop file has been upstreamed
+- dropped obsolete patches
+- use posttrans for faster installation
+
 * Thu Sep 25 2008 Dominik Mierzejewski <rpm at greysector.net> 2.1.8-1
 - updated to latest stable version (2.1.8)
 - fixed build with gtk2-2.14


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gabedit/F-10/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- sources	25 Sep 2008 21:25:13 -0000	1.4
+++ sources	21 Aug 2009 21:10:28 -0000	1.5
@@ -1 +1 @@
-d7cd7ff686773d608ce2bdc517eba2d4  Gabedit218Src.tar.gz
+1015a284693bf9391dfcd5a52891d9db  GabeditSrc224.tar.gz


--- gabedit-gl2ps.patch DELETED ---


--- gabedit-gtkgl.patch DELETED ---


--- gabedit.desktop DELETED ---




More information about the scm-commits mailing list