Compare commits

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

4 commits

Author SHA1 Message Date
Fedora Release Engineering
f22becf897 dist-git conversion 2010-07-29 15:07:44 +00:00
Bill Nottingham
7ab9e9f87c Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:15:24 +00:00
Sandro Mathys
d56c3e38aa - initial import 2009-10-22 12:32:04 +00:00
78f4103428 Initialize branch F-12 for volpack 2009-10-06 17:30:23 +00:00
5 changed files with 102 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
volpack-1.0c7.tgz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: volpack
# $Id$
NAME := volpack
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 @@
119ec828ecad8dbf7afc4e71f4c4eb69 volpack-1.0c7.tgz

100
volpack.spec Normal file
View file

@ -0,0 +1,100 @@
Name: volpack
Version: 1.0c7
Release: 3%{?dist}
Summary: Portable library for fast volume rendering
Group: System Environment/Libraries
License: BSD
URL: http://amide.sourceforge.net
Source0: http://downloads.sourceforge.net/amide/%{name}/%{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: m4
%description
VolPack is a portable library of fast volume rendering algorithms that
produce high-quality images.
%package devel
Summary: Shared libraries and header files for development using volpack
Group: Development/Libraries
Requires: volpack = %{version}-%{release}
%description devel
The volpack-devel package contains the header files and shared libraries
necessary for developing programs using the volpack volume rendering
library.
%package doc
Summary: Documentation and examples for help using volpack
Group: Documentation
Requires: volpack = %{version}-%{release}
%description doc
The volpack-doc package contains docs and examples helpful for developing
programs using the volpack volume rendering library.
%prep
%setup -q
%build
%configure --disable-dependency-tracking --disable-static
# no %{?_smp_mflags} because parallel builds will fail very often
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
# remove doc and example files we don't want to package
rm -f doc/vp_userguide..pdf doc/Makefile*
pushd examples
make clean
rm -f Makefile.*
chmod 644 test.csh
popd
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README
%{_mandir}/man3/*.3*
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%files doc
%defattr(-,root,root,-)
%doc doc/ examples/
%changelog
* Sun Oct 04 2009 Sandro Mathys <red at fedoraproject.org> - 1.0c7-3
- Disabled parallel building due to problems
* Sat Oct 03 2009 Sandro Mathys <red at fedoraproject.org> - 1.0c7-2
- Fixed some bits and added a doc subpackage
* Sat Oct 03 2009 Sandro Mathys <red at fedoraproject.org> - 1.0c7-1
- initial build