Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6160ff3ec3 | ||
|
|
2d5fbeba10 | ||
|
|
36c2a1886c | ||
|
|
ba85fef4c4 | ||
| f20e49af92 |
5 changed files with 58 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
vtkdata-5.0.4.tar.gz
|
||||||
21
Makefile
21
Makefile
|
|
@ -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)
|
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
95dced81c2c16687dc4e571a3d82092c vtkdata-5.0.4.tar.gz
|
||||||
56
vtkdata.spec
Normal file
56
vtkdata.spec
Normal file
|
|
@ -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 <Axel.Thimm@ATrpms.net> - 5.0.4-7
|
||||||
|
- Update to 5.0.4.
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Reference in a new issue