Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
8fc1765e4a dist-git conversion 2010-07-29 15:10:14 +00:00
Bill Nottingham
8fa8d7d9b1 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:15:56 +00:00
athimm
a30d175c9e Build for non-devel 2007-06-03 22:58:53 +00:00
053a12b3e8 Initialize branch FC-6 for vtkdata 2007-06-03 18:35:34 +00:00
4 changed files with 54 additions and 21 deletions

View file

View file

@ -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)

View file

@ -0,0 +1 @@
4752aa5a363eae72abf3cb5c1f0fe4d9 vtkdata-5.0.3.tar.gz

53
vtkdata.spec Normal file
View file

@ -0,0 +1,53 @@
Summary: Example data file for VTK
Name: vtkdata
Version: 5.0.3
Release: 6%{?dist}
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
* Sun Apr 15 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.3-6
- Update to 5.0.3.
* Mon Sep 11 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.2-5
- Update to 5.0.2.
* Wed Jul 19 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-4
- Fix some permissions.
* Thu Jul 13 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.1-3
- Update to 5.0.1.
* Thu Jun 1 2006 Axel Thimm <Axel.Thimm@ATrpms.net>
- Initial build.