Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8fc1765e4a | ||
|
|
8fa8d7d9b1 | ||
|
|
a30d175c9e | ||
| 053a12b3e8 |
4 changed files with 54 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
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 @@
|
|||
4752aa5a363eae72abf3cb5c1f0fe4d9 vtkdata-5.0.3.tar.gz
|
||||
53
vtkdata.spec
Normal file
53
vtkdata.spec
Normal 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.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue