diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 0000000..c46db30 --- /dev/null +++ b/.cvsignore @@ -0,0 +1 @@ +vtkdata-5.4.2.tar.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8259819 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# 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 $$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/dead.package b/dead.package deleted file mode 100644 index 553c193..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Merged with main vtk package diff --git a/sources b/sources new file mode 100644 index 0000000..81cc7d2 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +3b05eadd4446bbf3f863e744b7bee14a vtkdata-5.4.2.tar.gz diff --git a/vtkdata.spec b/vtkdata.spec new file mode 100644 index 0000000..ce6bfa5 --- /dev/null +++ b/vtkdata.spec @@ -0,0 +1,76 @@ +Summary: Example data file for VTK +Name: vtkdata +Version: 5.4.2 +Release: 13%{?dist} +# This is a variant BSD license, a cross between BSD and ZLIB. +# For all intents, it has the same rights and restrictions as BSD. +# http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant +# This file tree has no indication of license, but upstream confirms it +# is the same as the vtk code. +License: BSD +Group: Development/Libraries +URL: http://www.vtk.org/ +Source0: http://www.vtk.org/files/release/5.2/%{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 +* Sun Jul 26 2009 Fedora Release Engineering - 5.4.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Jun 6 2009 Axel Thimm - 5.4.2-11 +- Update to 5.4.2. + +* Wed Mar 11 2009 Orion Poplawski - 5.2.1-10 +- Update to 5.2.1 + +* Sun Oct 5 2008 Axel Thimm - 5.2.0-9 +- Update to 5.2.0. + +* Wed May 21 2008 Tom "spot" Callaway - 5.0.4-8 +- fix license tag + +* 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. +