Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
6ed7ea841f dist-git conversion 2010-07-29 16:18:34 +00:00
Bill Nottingham
35dbeac70a Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:12:08 +00:00
e3186d2485 - Fix: yafray libs are dlopened 2007-11-24 22:32:02 +00:00
Toshio くらとみ
e8ab65efa2 Initialize branch F-8 for yafray 2007-10-20 20:28:32 +00:00
3 changed files with 9 additions and 44 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: yafray
# $Id$
NAME := yafray
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

@ -1,37 +1,29 @@
Name: yafray
Version: 0.0.9
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Yet Another Free RAYtracer
Group: Applications/Multimedia
License: LGPLv2+
URL: http://www.yafray.org
Source: http://www.yafray.org/sec/2/downloads/yafray-%{version}.tar.gz
Patch0: yafray-0.0.9-soname.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel
BuildRequires: libjpeg-devel
BuildRequires: OpenEXR-devel >= 1.6.0
BuildRequires: OpenEXR-devel
BuildRequires: scons
Obsoletes: yafray-devel
%description
Yafray is yet another free raytracer, still in development. Some
features like caustics, filters, depth of field, etc. are implemented.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n %{name}
%patch0 -p1 -b .soname
#sed -i "s|/usr/local|%{_prefix}|" linux-settings.py
sed -i "s|flags='|flags='$RPM_OPT_FLAGS |" linux-settings.py
sed -i "s|/lib|/%{_lib}|" linux-settings.py
@ -53,11 +45,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/yafray/.sconsign
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
install -pm 0644 $RPM_BUILD_ROOT%{_prefix}/etc/gram.yafray $RPM_BUILD_ROOT%{_sysconfdir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/etc
for i in libyafraycore libyafrayplugin ;do
mv $RPM_BUILD_ROOT%{_libdir}/$i.so $RPM_BUILD_ROOT%{_libdir}/$i.so.%{version}
ln -fs $i.so.%{version} $RPM_BUILD_ROOT%{_libdir}/$i.so.0
ln -fs $i.so.%{version} $RPM_BUILD_ROOT%{_libdir}/$i.so
done
%clean
@ -74,17 +61,16 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc ChangeLog AUTHORS LICENSE README
%{_bindir}/yafray
%{_libdir}/lib*.so.*
%{_libdir}/lib*.so
%{_libdir}/yafray/
%config(noreplace) %{_sysconfdir}/gram.yafray
%files devel
%defattr(-,root,root,-)
%doc ChangeLog AUTHORS LICENSE README
%{_libdir}/lib*.so
%changelog
* Mon Oct 15 2007 kwizart < kwizart at gmail.com > - 0.0.9-5
- Fix: yafray libs are dlopened
* Mon Oct 15 2007 kwizart < kwizart at gmail.com > - 0.0.9-4
- Rebuild