rpms/vaspview/F-9 vaspview.desktop, NONE, 1.1 vaspview.png, NONE, 1.1 vaspview.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Fri Jun 13 09:46:25 UTC 2008


Author: rathann

Update of /cvs/pkgs/rpms/vaspview/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv596

Modified Files:
	.cvsignore sources 
Added Files:
	vaspview.desktop vaspview.png vaspview.spec 
Log Message:
initial import into F-9 branch


--- NEW FILE vaspview.desktop ---
[Desktop Entry]
Name=vaspview
Comment=VASP Data Viewer
Exec=vaspview
Icon=vaspview
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Education;Chemistry;DataVisualization;



--- NEW FILE vaspview.spec ---
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 <rpm at greysector.net> 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 <rpm at greysector.net> 1.05-1
- initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/vaspview/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Jun 2008 21:30:01 -0000	1.1
+++ .cvsignore	13 Jun 2008 09:45:38 -0000	1.2
@@ -0,0 +1 @@
+vaspview-1.05.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/vaspview/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Jun 2008 21:30:01 -0000	1.1
+++ sources	13 Jun 2008 09:45:38 -0000	1.2
@@ -0,0 +1 @@
+c04d25e15e187a7241bccd62ed9a7b0f  vaspview-1.05.tar.gz




More information about the fedora-extras-commits mailing list