From 1a1a6179c695bbc1a1873c7fe549d02ad1329600 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 4 Jun 2008 21:30:14 +0000 Subject: [PATCH 1/4] Initialize branch F-9 for vaspview --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..1c26f78 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-9 From d83830aa78bfbb0ceaf9176618b19b5557f23bec Mon Sep 17 00:00:00 2001 From: Dominik Mierzejewski Date: Fri, 13 Jun 2008 09:45:38 +0000 Subject: [PATCH 2/4] initial import into F-9 branch --- .cvsignore | 1 + sources | 1 + vaspview.desktop | 10 ++++++ vaspview.png | Bin 0 -> 3354 bytes vaspview.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 95 insertions(+) create mode 100644 vaspview.desktop create mode 100644 vaspview.png create mode 100644 vaspview.spec diff --git a/.cvsignore b/.cvsignore index e69de29..45a6bb1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +vaspview-1.05.tar.gz diff --git a/sources b/sources index e69de29..228cc75 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c04d25e15e187a7241bccd62ed9a7b0f vaspview-1.05.tar.gz diff --git a/vaspview.desktop b/vaspview.desktop new file mode 100644 index 0000000..993ee3a --- /dev/null +++ b/vaspview.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=vaspview +Comment=VASP Data Viewer +Exec=vaspview +Icon=vaspview +Terminal=false +Type=Application +StartupNotify=true +Categories=GNOME;GTK;Education;Chemistry;DataVisualization; + diff --git a/vaspview.png b/vaspview.png new file mode 100644 index 0000000000000000000000000000000000000000..10884b192f35877caa631c06980de0b1ec5ac044 GIT binary patch literal 3354 zcmV+#4dwEQP)Px#32;bRa{vGf6951U69E94oEQKA00(qQO+^RT1RM<{LtVu*cR9M5s zSZP>PN4oy1&eC)@P17`6141LKVho5N2ICG!LzK8=jN`qNpqV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(PbAP8{^Ljz2%gFlbV2tB$mK7gnfS@zR7G?afFeMbR%e;@kYcjJ<^X1 z)yucOoXT0~Ipbq28MbqDmAv+^2=U=FRwyJv@JGZ%fzgEqAIq8fEXKI(%fDr%rpp=%zJ1SY9^2cB z9JcR7pG2aa!!sivT@n)?6W}Mq*zHFffy?3qwxdfd-o=Wdh!AqJh<8ecH7gt6`yg15 z`T&(pjTDWlGofqf6D4hR5lF0fun`@+#OH@uTN_Ph%JWR;^m~110K~n4gi6@uPcAn>Ov1xc1_U zFK*eg<-YIv^A@ZF0GtqKhdEhs4HSCu%9!x+Ev$}6{^ z{bJ~%MT>6#hWk_X`d{$t*Om`P@x0|Wg+g%`v%|$ k*RStajK+^2e>pF07*qoM6N<$f~YlH9RL6T literal 0 HcmV?d00001 diff --git a/vaspview.spec b/vaspview.spec new file mode 100644 index 0000000..2d87be3 --- /dev/null +++ b/vaspview.spec @@ -0,0 +1,83 @@ +Name: vaspview +Summary: VASP Data Viewer +Version: 1.05 +Release: 2%{?dist} +# http://vaspview.sourceforge.net/%{name}-%{version}-source.tar.gz +# Source below is the same as the original sans the two Win32 binaries in Win32/Release/ +Source0: %{name}-%{version}.tar.gz +Source1: %{name}.desktop +Source2: %{name}.png +URL: http://vaspview.sourceforge.net/ +License: GPLv2+ +Group: Applications/Engineering +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) +BuildRequires: desktop-file-utils +BuildRequires: glut-devel +BuildRequires: libXi-devel +BuildRequires: libXmu-devel +BuildRequires: libXext-devel + +%description +This is a scientific visualization package for examining output files +generated by the Vienna Ab-initio Simulation Package, a package for +performing ab-initio quantum-mechanical molecular dynamics using +pseudopotentials and a plane wave basis set. The project was initiated +when a chemical engineering professor requested assitance in visualizing +output files produced by the above package. It displays iso-surfaces and +slices of a three-dimensional data set, along with the atoms that make +up the molecule the calculations were performed for, and allows symbolic +bonds to be inserted between them. + +%prep +%setup -q -n %{name} + +%build +pushd src +%{__make} %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" +popd + +%install +rm -rf %{buildroot} + +install -d %{buildroot}/%{_bindir} +install -pm755 bin/%{name} %{buildroot}/%{_bindir} + +install -d %{buildroot}%{_datadir}/applications +desktop-file-install \ + --dir=%{buildroot}%{_datadir}/applications \ + %{SOURCE1} + +install -d %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps +install -pm644 %{SOURCE2} %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps/%{name}.png + +%clean +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 + +%postun +touch --no-create %{_datadir}/icons/hicolor +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + +%files +%defattr(-,root,root) +%doc license.txt readme.txt +%{_bindir}/%{name} +%{_datadir}/applications/*.desktop +%{_datadir}/icons/hicolor/*/apps/*.png + +%changelog +* Sat May 31 2008 Dominik Mierzejewski 1.05-2 +- add dist tag +- drop vendor from desktop file name +- make smp flags optional +- removed the two Win32 binaries from source tarball + +* Mon Apr 28 2008 Dominik Mierzejewski 1.05-1 +- initial package From fa2fef8cbf89427d7b29f8da1d87d30f3f2750f7 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:11:55 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 925975a..ff75109 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := vaspview SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 0973147ad243f81313861c7dcc2c6383ca2e69fc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 14:54:09 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index ff75109..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: vaspview -# $Id$ -NAME := vaspview -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 1c26f78..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-9