rpms/yafray/F-8 yafray.spec,1.3,1.4

Chauvet (kwizart) fedora-extras-commits at redhat.com
Sat Nov 24 22:32:35 UTC 2007


Author: kwizart

Update of /cvs/pkgs/rpms/yafray/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23437

Modified Files:
	yafray.spec 
Log Message:
- Fix: yafray libs are dlopened



Index: yafray.spec
===================================================================
RCS file: /cvs/pkgs/rpms/yafray/F-8/yafray.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- yafray.spec	15 Oct 2007 14:22:35 -0000	1.3
+++ yafray.spec	24 Nov 2007 22:32:02 -0000	1.4
@@ -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 @@
 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 @@
 %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
 




More information about the fedora-extras-commits mailing list