diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..def8a8e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +vtkdata-5.0.4.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index b7d4a84..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: vtkdata -# $Id$ -NAME := vtkdata -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 -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/sources b/sources index e69de29..be0a5b6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +95dced81c2c16687dc4e571a3d82092c vtkdata-5.0.4.tar.gz diff --git a/vtkdata.spec b/vtkdata.spec new file mode 100644 index 0000000..d318898 --- /dev/null +++ b/vtkdata.spec @@ -0,0 +1,56 @@ +Summary: Example data file for VTK +Name: vtkdata +Version: 5.0.4 +Release: 7 +License: BSD-like +Group: Development/Libraries +URL: http://www.vtk.org/ +Source0: http://www.vtk.org/files/release/5.0/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildArch: noarch + +%description +Example data file for VTK + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{_datadir} +cd %{buildroot}%{_datadir} +tar -zpxf %{SOURCE0} +mv VTKData %{name}-%{version} + +# (Verbosely) fix 0555 permissions +find . -type f -perm 0555 | xargs -r echo chmod 0755 | sh -x +# Remove execute bits from not-scripts +for file in `find . -type f -perm 0755`; do + head -1 $file | grep '^#!' > /dev/null && continue + chmod 0644 $file +done + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{_datadir}/* + +%changelog +* Sat Feb 23 2008 Axel Thimm - 5.0.4-7 +- Update to 5.0.4. + +* Sun Apr 15 2007 Axel Thimm - 5.0.3-6 +- Update to 5.0.3. + +* Mon Sep 11 2006 Axel Thimm - 5.0.2-5 +- Update to 5.0.2. + +* Wed Jul 19 2006 Axel Thimm - 5.0.1-4 +- Fix some permissions. + +* Thu Jul 13 2006 Axel Thimm - 5.0.1-3 +- Update to 5.0.1. + +* Thu Jun 1 2006 Axel Thimm +- Initial build. +