The package rpms/YafaRay.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/YafaRay.git/commit/?id=d8f274d5f3....
Change:
+ExclusiveArch: %{ix86} x86_64
Thanks.
Full change:
============
commit 984acb762e7d91b9bf819511c2adc0461d1d7bbb
Merge: 45650c0 07aacde
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Thu Jun 15 19:52:18 2017 -0700
Upstream update
diff --cc .gitignore
index 62873c5,4f2afdd..0f0ab47
--- a/.gitignore
+++ b/.gitignore
@@@ -2,3 -2,5 +2,8 @@@
/Core-07e6dfe.tar.gz
/Core-60452c5.tar.gz
/Blender-Exporter-b521835.tar.gz
++<<<<<<< HEAD
++=======
+ /Core-3.2.0.tar.gz
+ /Blender-Exporter-3.2.0.tar.gz
++>>>>>>> master
diff --cc YafaRay.spec
index 10a3ea4,ebe3624..fcf0d83
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@@ -1,8 -1,8 +1,8 @@@
- %global commit0 60452c5586772bcf2eccc47ed5fa9b2930c685b8
- %global commit1 b521835148d1cd77bcad0f64a989ff47934b9ffc
- %global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
- %global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
- %global date 20170221
-#%%global commit0 60452c5586772bcf2eccc47ed5fa9b2930c685b8
++#%%global commit0 60452c5586772bcf2eccc47ed5fa9b2930c685b8
+ #%%global commit1 b521835148d1cd77bcad0f64a989ff47934b9ffc
+ #%%global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7})
+ #%%global shortcommit1 %%(c=%%{commit1}; echo ${c:0:7})
+ #%%global date 20170221
%global yname yafaray
%global alphatag beta
@@@ -19,8 -14,8 +14,9 @@@ License: LGPLv2
Summary: A free open-source ray-tracing render engine
Version: 3.2.0
URL:
http://www.yafaray.org/
- Release: 0.6%{?date:.%{date}git}%{?dist}
+ Release: 1%{?date:.%{date}git}%{?dist}
+
+
# Comment source release and use git snapshot instead as suggested by upstream
#
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
#Source0:
https://github.com/%%{name}/Core/archive/v%%{version}-%%{alphatag}/Core-%...
commit 07aacde21481c7de023abb5c0172442fc54e0803
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Thu Jun 15 16:31:42 2017 -0700
Upstream update
diff --git a/.gitignore b/.gitignore
index 62873c5..4f2afdd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@
/Core-07e6dfe.tar.gz
/Core-60452c5.tar.gz
/Blender-Exporter-b521835.tar.gz
+/Core-3.2.0.tar.gz
+/Blender-Exporter-3.2.0.tar.gz
diff --git a/YafaRay.spec b/YafaRay.spec
index 94f6c5a..ebe3624 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -1,25 +1,20 @@
-%global commit0 60452c5586772bcf2eccc47ed5fa9b2930c685b8
-%global commit1 b521835148d1cd77bcad0f64a989ff47934b9ffc
-%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
-%global date 20170221
+#%%global commit0 60452c5586772bcf2eccc47ed5fa9b2930c685b8
+#%%global commit1 b521835148d1cd77bcad0f64a989ff47934b9ffc
+#%%global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7})
+#%%global shortcommit1 %%(c=%%{commit1}; echo ${c:0:7})
+#%%global date 20170221
%global yname yafaray
%global alphatag beta
# [Fedora] Turn off the brp-python-bytecompile script
%global __os_install_post %(echo '%{__os_install_post}' | sed -e
's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
-#%%{!?python_sitearch:%global python_sitearch %%(%%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
-# we don't want to provide private python extension libs
-#%%{?filter_setup:%%filter_provides_in %%{python_sitearch}/.*\.so$ %%filter_setup}
-
Name: YafaRay
License: LGPLv2+
Summary: A free open-source ray-tracing render engine
Version: 3.2.0
URL:
http://www.yafaray.org/
-Release: 0.7%{?date:.%{date}git}%{?dist}
+Release: 1%{?date:.%{date}git}%{?dist}
# Comment source release and use git snapshot instead as suggested by upstream
#
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
@@ -83,14 +78,27 @@ Obsoletes: %{yname}-blender < 0.1.1-4
Provides: %{yname}-blender = %{version}-%{release}
%description blender
-YafRay uses a python-coded settings interface to set lighting and rendering
+YafaRay uses a python-coded settings interface to set lighting and rendering
parameters. This settings interface is launched by an entry automatically
added to the Blender Render menu.
%prep
+%if 0%{?shortcommit0}
%autosetup -D -n Core-%{commit0}
%autosetup -D -T -a 1 -n Core-%{commit0}
+#Fix syntax for python 3.5+ declaration
+sed -i 's|metaclass=RNAMeta|metaclass.RNAMeta|'
Blender-Exporter-%{commit1}/ot/%{yname}_presets.py
+%else
+%autosetup -D -n Core-%{version}
+%autosetup -D -T -a 1 -n Core-%{version}
+
+#Fix syntax for python 3.5+ declaration
+sed -i 's|metaclass=RNAMeta|metaclass.RNAMeta|'
Blender-Exporter-%{version}/ot/%{yname}_presets.py
+
+%endif
+
+
sed -i -e 's|set(YAF_LIB_DIR lib)|set(YAF_LIB_DIR %{_lib})|g' CMakeLists.txt
sed -i -e 's|set(YAF_TARGET_TYPE ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
RUNTIME)|\
set(YAF_TARGET_TYPE ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/%{_lib}
RUNTIME)|g' CMakeLists.txt
@@ -104,24 +112,32 @@ find . -name "*.cc" -exec chmod 644 {} \;
%cmake \
-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true \
-DCMAKE_SKIP_RPATH:BOOL=true \
- -DDEBUG_BUILD=ON \
- -DWITH_QT=OFF \
- -DUSER_DBGFLAGS="%{optflags} -O3 -ffast-math" \
- .
+ -DDEBUG_BUILD=OFF \
+ -DWITH_QT=ON \
+ -DUSER_DBGFLAGS="%{optflags} -O3 -ffast-math"
+
%make_build VERBOSE=1
+
%install
%make_install VERBOSE=1
+
# Let RPM pick docs in the file section
rm -fr %{buildroot}%{_docdir}/%{yname}
# Install add-on on Blender directory
mkdir -p %{buildroot}%{blender_addons}/%{yname}
-#mkdir -p %%{buildroot}%%{_datadir}/blender/scripts/modules
-cp -pR Blender-Exporter-%{commit1}/{__init__.py,io,ot,presets,prop,ui} \
+
+%if 0%{?shortcommit0}
+cp -pR Blender-Exporter-%{commit1}/* \
%{buildroot}%{blender_addons}/%{yname}
-#cp -pr src/bindings/%%{yname}_v3_interface.py
%%{buildroot}%%{_datadir}/blender/scripts/
+%else
+cp -pR Blender-Exporter-%{version}/* \
+ %{buildroot}%{blender_addons}/%{yname}
+%endif
+
+
# AppData
install -p -m 644 -D %{SOURCE2}
%{buildroot}%{_datadir}/metainfo/%{yname}-blender.metainfo.xml
@@ -140,16 +156,18 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/metainfo/%{yname}
%files lib
%{_includedir}/%{yname}/
%{_libdir}/%{yname}-plugins
+#%%{_libdir}/*.py
%{_libdir}/*.so
%{?with_qt:%{_libdir}/libyafarayqt.so}
%files blender
-#%%{_datadir}/blender/scripts/%%{yname}_v3_interface.py
%{_datadir}/metainfo/%{yname}-blender.metainfo.xml
-%{blender_addons}/%{yname}
-
+%{blender_addons}/%{yname}/*
%changelog
+* Fri May 26 2017 Luya Tshimbalanga <luya_tfz(a)thefinalzone.net> - 3.2.0-1
+- Upstream update
+
* Fri Apr 28 2017 Simone Caronni <negativo17(a)gmail.com> - 3.2.0-0.7.20170221git
- Rebuild for OpenCV 3.2.0 update.
@@ -157,7 +175,6 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/metainfo/%{yname}
- Enable preset
- Change upstream url
-
* Wed Feb 22 2017 Luya Tshimbalanga <luya_tfz(a)thefinalzone.net> -
3.2.0-0.5.20170221git
- Latest git snapshot
diff --git a/sources b/sources
index f48b1b6..990e3c9 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (Core-60452c5.tar.gz) =
cac0bbe909a9013a7e7ef7fa7893461bf03539741fd3f3aa4a3abb95143295be6755eceb36491da435a67488f12f459fe079694e1d0494ff536536be428c9a6c
-SHA512 (Blender-Exporter-b521835.tar.gz) =
287baf82ed7a185b9bbc091e992c28e3ceb6f858ee3e5108b3f7452c62bbfcc5d19688ac46783a2cd56142321f7c7ce4cd6c91f215883552fa4b4aa60fb7862d
+SHA512 (Core-3.2.0.tar.gz) =
500616a8284bbe7d0cf9a39ca9c82e0ac90fcc80ec8118564ab10f4980fd29733fea96fc41e9cc28ccaa523dd9c9b3e6b6e5156d5ed7eff34e7a86e53678c8a2
+SHA512 (Blender-Exporter-3.2.0.tar.gz) =
deaf1063e074a661a1f227c59db2d88c6168830719e6bfb72351fff36df9b23aaef00edad887ca2e8aa15e4bf1ab20c74acf68b361cca555c5d297ec9514c8f6
commit 5a8942fe73aac1a07a0dfa52041cab420cd952e7
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Fri Apr 28 11:13:18 2017 +0200
Rebuild for OpenCV 3.2.0 update
diff --git a/YafaRay.spec b/YafaRay.spec
index a6dff6d..94f6c5a 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -19,7 +19,7 @@ License: LGPLv2+
Summary: A free open-source ray-tracing render engine
Version: 3.2.0
URL:
http://www.yafaray.org/
-Release: 0.6%{?date:.%{date}git}%{?dist}
+Release: 0.7%{?date:.%{date}git}%{?dist}
# Comment source release and use git snapshot instead as suggested by upstream
#
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
@@ -150,6 +150,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/metainfo/%{yname}
%changelog
+* Fri Apr 28 2017 Simone Caronni <negativo17(a)gmail.com> - 3.2.0-0.7.20170221git
+- Rebuild for OpenCV 3.2.0 update.
+
* Sat Feb 25 2017 Luya Tshimbalanga <luya_tfz(a)thefinalzone.net> -
3.2.0-0.6.20170221git
- Enable preset
- Change upstream url
commit d25a70a224b11f749595a64cb538170412e9bea6
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Tue Feb 28 00:13:23 2017 -0800
Enable preset
Change upstream url
diff --git a/sources b/sources
index f41f850..f48b1b6 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
SHA512 (Core-60452c5.tar.gz) =
cac0bbe909a9013a7e7ef7fa7893461bf03539741fd3f3aa4a3abb95143295be6755eceb36491da435a67488f12f459fe079694e1d0494ff536536be428c9a6c
+SHA512 (Blender-Exporter-b521835.tar.gz) =
287baf82ed7a185b9bbc091e992c28e3ceb6f858ee3e5108b3f7452c62bbfcc5d19688ac46783a2cd56142321f7c7ce4cd6c91f215883552fa4b4aa60fb7862d
commit 04367b1c90174c037db318aa980363c1ecc863e5
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Mon Feb 27 14:29:42 2017 -0800
Enable preset
Change upstream url
diff --git a/.gitignore b/.gitignore
index b2b55cb..62873c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
/Blender-Exporter-464135a.tar.gz
/Core-07e6dfe.tar.gz
+/Core-60452c5.tar.gz
+/Blender-Exporter-b521835.tar.gz
diff --git a/YafaRay.spec b/YafaRay.spec
index d746c80..a6dff6d 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -1,12 +1,15 @@
-%global commit0 07e6dfe3237c7316b433597a6e36fda6c81e2ad4
-%global commit1 464135af684ba94ac1e62b1346996ca44f1f68b1
+%global commit0 60452c5586772bcf2eccc47ed5fa9b2930c685b8
+%global commit1 b521835148d1cd77bcad0f64a989ff47934b9ffc
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
%global date 20170221
%global yname yafaray
%global alphatag beta
-%{!?python_sitearch:%%global python_sitearch %%(%%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+# [Fedora] Turn off the brp-python-bytecompile script
+%global __os_install_post %(echo '%{__os_install_post}' | sed -e
's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
+
+#%%{!?python_sitearch:%global python_sitearch %%(%%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
# we don't want to provide private python extension libs
#%%{?filter_setup:%%filter_provides_in %%{python_sitearch}/.*\.so$ %%filter_setup}
@@ -15,8 +18,8 @@ Name: YafaRay
License: LGPLv2+
Summary: A free open-source ray-tracing render engine
Version: 3.2.0
-URL:
http://www.yafray.org/
-Release: 0.5%{?date:.%{date}git}%{?dist}
+URL:
http://www.yafaray.org/
+Release: 0.6%{?date:.%{date}git}%{?dist}
# Comment source release and use git snapshot instead as suggested by upstream
#
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
@@ -56,6 +59,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
# Set exclusive arch
#
https://koji.fedoraproject.org/koji/taskinfo?taskID=17920427
ExclusiveArch: %{ix86} x86_64
+
%description
YafaRay is a free open-source ray-tracing render engine.
Ray-tracing is a rendering technique for generating realistic images by tracing
@@ -64,11 +68,11 @@ computer program that interacts with a host 3D application to provide
very
specific ray-tracing capabilities "on demand".
Blender 3D is the host application of YafaRay.
-%package devel
-Summary: Development files for %{name}
+%package lib
+Summary: Libraries for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
-%description devel
+%description lib
The %{name}-devel package contains libraries and header files for
applications that use %{name}.
@@ -98,11 +102,11 @@ find . -name "*.cc" -exec chmod 644 {} \;
%build
%cmake \
- -DBLENDER_ADDON:BOOL=false \
-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true \
-DCMAKE_SKIP_RPATH:BOOL=true \
-DDEBUG_BUILD=ON \
- -DUSER_DBGFLAGS="%{optflags}" \
+ -DWITH_QT=OFF \
+ -DUSER_DBGFLAGS="%{optflags} -O3 -ffast-math" \
.
%make_build VERBOSE=1
@@ -112,14 +116,12 @@ find . -name "*.cc" -exec chmod 644 {} \;
# Let RPM pick docs in the file section
rm -fr %{buildroot}%{_docdir}/%{yname}
+# Install add-on on Blender directory
mkdir -p %{buildroot}%{blender_addons}/%{yname}
-#mkdir -p %%{buildroot}%%{blender_presets}/%%{yname}
-cp -pr Blender-Exporter-%{commit1}/{__init__*,io,prop,ui} \
+#mkdir -p %%{buildroot}%%{_datadir}/blender/scripts/modules
+cp -pR Blender-Exporter-%{commit1}/{__init__.py,io,ot,presets,prop,ui} \
%{buildroot}%{blender_addons}/%{yname}
-#
-#cp -pr Blender-Exporter-%%{commit1}/presets \
-# %%{buildroot}%%{blender_presets}/%%{yname}
-
+#cp -pr src/bindings/%%{yname}_v3_interface.py
%%{buildroot}%%{_datadir}/blender/scripts/
# AppData
install -p -m 644 -D %{SOURCE2}
%{buildroot}%{_datadir}/metainfo/%{yname}-blender.metainfo.xml
@@ -135,17 +137,24 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/metainfo/%{yname}
%{_bindir}/%{yname}-xml
%{_datadir}/%{yname}/*
-%files devel
+%files lib
%{_includedir}/%{yname}/
%{_libdir}/%{yname}-plugins
%{_libdir}/*.so
%{?with_qt:%{_libdir}/libyafarayqt.so}
%files blender
+#%%{_datadir}/blender/scripts/%%{yname}_v3_interface.py
%{_datadir}/metainfo/%{yname}-blender.metainfo.xml
%{blender_addons}/%{yname}
+
%changelog
+* Sat Feb 25 2017 Luya Tshimbalanga <luya_tfz(a)thefinalzone.net> -
3.2.0-0.6.20170221git
+- Enable preset
+- Change upstream url
+
+
* Wed Feb 22 2017 Luya Tshimbalanga <luya_tfz(a)thefinalzone.net> -
3.2.0-0.5.20170221git
- Latest git snapshot
diff --git a/sources b/sources
index 02439a4..f41f850 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-SHA512 (Blender-Exporter-464135a.tar.gz) =
24b4b7a4e912533b32bc2341d97f734fd21625932a22e842df986a9a4182b391e81318316cb98d28e54ed44de86ec3941ec4eec5737b8eb126a30c8068b4bb83
-SHA512 (Core-07e6dfe.tar.gz) =
76802f7a1231c74c24a3e9563f32d3eff0cdf2e0e78d8c0fa6f7a6e8bc50f7153acdde33c20cb4b386b1e2b4ce7f34c78b9a5fc00de3a2601bf1d06e2298d4f6
+SHA512 (Core-60452c5.tar.gz) =
cac0bbe909a9013a7e7ef7fa7893461bf03539741fd3f3aa4a3abb95143295be6755eceb36491da435a67488f12f459fe079694e1d0494ff536536be428c9a6c
commit d8f274d5f3b6292c3badddb90afc4ad83ebeb2a7
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Wed Feb 22 09:35:54 2017 -0800
Latest git snapshot
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b2b55cb
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/Blender-Exporter-464135a.tar.gz
+/Core-07e6dfe.tar.gz
diff --git a/YafaRay.spec b/YafaRay.spec
new file mode 100644
index 0000000..d746c80
--- /dev/null
+++ b/YafaRay.spec
@@ -0,0 +1,219 @@
+%global commit0 07e6dfe3237c7316b433597a6e36fda6c81e2ad4
+%global commit1 464135af684ba94ac1e62b1346996ca44f1f68b1
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
+%global date 20170221
+%global yname yafaray
+%global alphatag beta
+
+%{!?python_sitearch:%%global python_sitearch %%(%%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+# we don't want to provide private python extension libs
+#%%{?filter_setup:%%filter_provides_in %%{python_sitearch}/.*\.so$ %%filter_setup}
+
+Name: YafaRay
+License: LGPLv2+
+Summary: A free open-source ray-tracing render engine
+Version: 3.2.0
+URL:
http://www.yafray.org/
+Release: 0.5%{?date:.%{date}git}%{?dist}
+
+# Comment source release and use git snapshot instead as suggested by upstream
+#
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
+#Source0:
https://github.com/%%{name}/Core/archive/v%%{version}-%%{alphatag}/Core-%...
+
+%{?shortcommit0:
+Source0:
https://github.com/%{name}/Core/archive/%{commit0}.tar.gz#/Core-%{shortco...
+%{!?shortcommit0:
+Source0:
https://github.com/%{name}/Core/archive/v%{version}.tar.gz#/Core-%{versio...
+
+%{?shortcommit1:
+Source1:
https://github.com/%{name}/Blender-Exporter/archive/%{commit1}.tar.gz#/Bl...
+%{!?shortcommit1:
+Source1:
https://github.com/%{name}/Blender-Exporter/archive/v%{version}.tar.gz#/B...
+
+Source2: yafaray-blender.metainfo.xml
+
+BuildRequires: blender-rpm-macros
+BuildRequires: boost-devel
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: git
+BuildRequires: freetype-devel
+BuildRequires: libappstream-glib
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: libtiff-devel
+BuildRequires: libxml2-devel
+BuildRequires: opencv-devel
+BuildRequires: OpenEXR-devel >= 1.2
+BuildRequires: python3-devel
+BuildRequires: qt-devel
+BuildRequires: swig
+BuildRequires: zlib-devel
+
+Requires: %{name}%{?_isa} = %{version}-%{release}
+# Set exclusive arch
+#
https://koji.fedoraproject.org/koji/taskinfo?taskID=17920427
+ExclusiveArch: %{ix86} x86_64
+%description
+YafaRay is a free open-source ray-tracing render engine.
+Ray-tracing is a rendering technique for generating realistic images by tracing
+the path of light through a 3D scene. A render engine consists of a "faceless"
+computer program that interacts with a host 3D application to provide very
+specific ray-tracing capabilities "on demand".
+Blender 3D is the host application of YafaRay.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+ applications that use %{name}.
+
+%package blender
+Summary: Blender integration scripts%{name} = %{version}-%{release}
+Requires: blender
+Obsoletes: %{yname}-blender < 0.1.1-4
+Provides: %{yname}-blender = %{version}-%{release}
+
+%description blender
+YafRay uses a python-coded settings interface to set lighting and rendering
+parameters. This settings interface is launched by an entry automatically
+added to the Blender Render menu.
+
+%prep
+%autosetup -D -n Core-%{commit0}
+%autosetup -D -T -a 1 -n Core-%{commit0}
+
+sed -i -e 's|set(YAF_LIB_DIR lib)|set(YAF_LIB_DIR %{_lib})|g' CMakeLists.txt
+sed -i -e 's|set(YAF_TARGET_TYPE ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
RUNTIME)|\
+ set(YAF_TARGET_TYPE ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/%{_lib}
RUNTIME)|g' CMakeLists.txt
+
+# Set proper permission per packaging guideline
+find . -name "*.h" -exec chmod 644 {} \;
+find . -name "*.c" -exec chmod 644 {} \;
+find . -name "*.cc" -exec chmod 644 {} \;
+
+%build
+%cmake \
+ -DBLENDER_ADDON:BOOL=false \
+ -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true \
+ -DCMAKE_SKIP_RPATH:BOOL=true \
+ -DDEBUG_BUILD=ON \
+ -DUSER_DBGFLAGS="%{optflags}" \
+ .
+%make_build VERBOSE=1
+
+%install
+%make_install VERBOSE=1
+
+# Let RPM pick docs in the file section
+rm -fr %{buildroot}%{_docdir}/%{yname}
+
+mkdir -p %{buildroot}%{blender_addons}/%{yname}
+#mkdir -p %%{buildroot}%%{blender_presets}/%%{yname}
+cp -pr Blender-Exporter-%{commit1}/{__init__*,io,prop,ui} \
+ %{buildroot}%{blender_addons}/%{yname}
+#
+#cp -pr Blender-Exporter-%%{commit1}/presets \
+# %%{buildroot}%%{blender_presets}/%%{yname}
+
+# AppData
+install -p -m 644 -D %{SOURCE2}
%{buildroot}%{_datadir}/metainfo/%{yname}-blender.metainfo.xml
+
+%check
+appstream-util validate-relax --nonet
%{buildroot}/%{_datadir}/metainfo/%{yname}-blender.metainfo.xml
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%license LICENSES
+%doc AUTHORS CHANGELOG README
+%{_bindir}/%{yname}-xml
+%{_datadir}/%{yname}/*
+
+%files devel
+%{_includedir}/%{yname}/
+%{_libdir}/%{yname}-plugins
+%{_libdir}/*.so
+%{?with_qt:%{_libdir}/libyafarayqt.so}
+
+%files blender
+%{_datadir}/metainfo/%{yname}-blender.metainfo.xml
+%{blender_addons}/%{yname}
+
+%changelog
+* Wed Feb 22 2017 Luya Tshimbalanga <luya_tfz(a)thefinalzone.net> -
3.2.0-0.5.20170221git
+- Latest git snapshot
+
+* Fri Feb 17 2017 Luya Tshimbalanga <luya_tfz(a)thefinalzone.net> -
3.2.0-0.4.20170217git
+- Latest git snapshot
+- Fix spelling to adhere US spelling guideine
+- Fix license
+- Fix mixed use of spaces and tab errors
+- Set source files non executables
+
+* Mon Feb 13 2017 Luya Tshimbalanga <luya_tfz(a)thefinalzone.net> -
3.2.0-0.3.20170212git
+- Add conditional statement for release line
+- Align description to 80 columns as possible
+- Disable rpath per Fedora packaging guideline
+- Let RPM pick docs in the file section
+- Add missing requirement libappstream-glib
+- Temporarily disable preset in yafaray-blender
+
+* Sun Feb 12 2017 Luya Tshimbalanga <luya_tfz(a)thefinalzone.net> -
3.2.0-0.2.20170212git
+- Latest git snapshot
+- Add libtiff dependency
+- Use versioning from Fedora packaging guideline
+- Define sources url
+
+* Wed Feb 08 2017 Luya Tshimbalanga <luya_tfz(a)thefinalzone.net> -
3.2.0-0.1.20170131git
+- Move appdata to its own file
+- Latest git snapshot
+- Use POSITION_INDEPENDENT_CODE to prevent compilation error
+- Fix library path
+
+* Thu Jan 12 2017 Luya Tshimbalanga <luya_tfz(a)thefinalzone.net> - 3.1.1-0.2.beta
+- Fixed changelog by including missing upstream update info
+- Fixed url for the sources
+- Added requirement for base package
+- Fix lib sharing, relic for legacy method
+- Further cleaned up spec
+
+* Thu Sep 22 2016 Luya Tshimbalanga <luya(a)fedoraproject.org> - 3.0.0-0.1.beta
+- Update to 3.1.1-beta
+
+* Sat Jul 16 2016 Luya Tshimbalanga <luya(a)fedoraproject.org> - 3.0.0-0.1.beta
+- Update to 3.0.0-beta
+- Cleaned up spec file
+- Dropped scons as dependency
+
+* Tue Mar 08 2016 Yaakov Selkowitz <yselkowi(a)redhat.com> - 0.1.1-14
+- Fix FTBFS with GCC 6 (#1307303)
+
+* Wed Feb 03 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.1-13
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Tue Jun 16 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-12
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Fri Aug 15 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-11
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Fri Jun 06 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-11
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Wed Nov 27 2013 Rex Dieter <rdieter(a)fedoraproject.org> - 0.1.1-10
+- rebuild (openexr)
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-9
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Sun Mar 10 2013 Rex Dieter <rdieter(a)fedoraproject.org> - 0.1.1-8
+- rebuild (OpenEXR)
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-7
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
new file mode 100644
index 0000000..02439a4
--- /dev/null
+++ b/sources
@@ -0,0 +1,2 @@
+SHA512 (Blender-Exporter-464135a.tar.gz) =
24b4b7a4e912533b32bc2341d97f734fd21625932a22e842df986a9a4182b391e81318316cb98d28e54ed44de86ec3941ec4eec5737b8eb126a30c8068b4bb83
+SHA512 (Core-07e6dfe.tar.gz) =
76802f7a1231c74c24a3e9563f32d3eff0cdf2e0e78d8c0fa6f7a6e8bc50f7153acdde33c20cb4b386b1e2b4ce7f34c78b9a5fc00de3a2601bf1d06e2298d4f6
diff --git a/yafaray-blender.metainfo.xml b/yafaray-blender.metainfo.xml
new file mode 100644
index 0000000..9051b85
--- /dev/null
+++ b/yafaray-blender.metainfo.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2016 Luya Tshimbalanga <luya(a)fedoraproject.org> -->
+<component type="addon">
+ <id>yafaray-blender</id>
+ <name>YafaRay</name>
+ <extends>blender.desktop</extends>
+ <summary>3D renderer plugin for Blender</summary>
+ <url type="homepage">http://www.yafaray.org</url>
+ <url
type="bugtracker">http://www.yafaray.org/development/bugtrac...
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-3.0+</project_license>
+ <
updatecontact>http://www.yafaray.org/community/forum</updatecontact...
+</component>
commit 951901bca2fe68d32f7cac5d31f0ec29b284b5c1
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Wed Feb 22 09:31:57 2017 -0800
ressurect Yafaray repository
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 3c0af1d..0000000
--- a/dead.package
+++ /dev/null
@@ -1,3 +0,0 @@
-2016-07-06: Retired orphaned package, because it was orphaned for
-more than six weeks.
-
commit 09e9b6b0e1638f6f9e10de7641b6f233aa132e21
Author: Till Maas <opensource(a)till.name>
Date: Wed Jul 6 22:08:11 2016 +0200
2016-07-06: Retired orphaned package, because it was orphaned for
more than six weeks.
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index ec10982..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/YafaRay-blender.0.1.1.zip
-/YafaRay.0.1.1.zip
diff --git a/README.Fedora b/README.Fedora
deleted file mode 100644
index 70f3043..0000000
--- a/README.Fedora
+++ /dev/null
@@ -1,3 +0,0 @@
-YafaRay may crash with some versions of gettext (bugzilla #650471).
-As a workaround, running "qtconfig-qt4" and changing
-the style from "GTK+" to "Plastique", fix the problem (at least in
KDE).
diff --git a/YafaRay-0.1.1-gcc6.patch b/YafaRay-0.1.1-gcc6.patch
deleted file mode 100644
index 0179e40..0000000
--- a/YafaRay-0.1.1-gcc6.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -urp a/src/textures/rgbe_texture.cc b/src/textures/rgbe_texture.cc
---- a/src/textures/rgbe_texture.cc 2008-08-27 15:12:20.000000000 -0500
-+++ b/src/textures/rgbe_texture.cc 2016-03-07 21:57:16.016998548 -0600
-@@ -111,10 +111,10 @@ gBuf_t<rgbe_t, 1>* loadHDR(const char* f
- {
- FILE *file = fopen(filename,"rb");
- int xmax, ymax;
-- if (file==NULL) return false;
-+ if (file==NULL) return NULL;
- if (!checkHDR(file, xmax, ymax)) {
- fclose(file);
-- return false;
-+ return NULL;
- }
- bool ok=true;
- gBuf_t<rgbe_t, 1> *image = new gBuf_t<rgbe_t, 1>(xmax, ymax);
-diff -urp a/src/yafraycore/font_frankbook.cc b/src/yafraycore/font_frankbook.cc
---- a/src/yafraycore/font_frankbook.cc 2007-10-03 05:29:28.000000000 -0500
-+++ b/src/yafraycore/font_frankbook.cc 2016-03-07 21:47:12.290267985 -0600
-@@ -1,7 +1,7 @@
- /* DataToC output of file <FranKleinBook_ttf> */
-
- int font_ttf_size= 84484;
--char font_ttf[]= {
-+unsigned char font_ttf[]= {
- 0, 1, 0, 0,
- 0, 11, 0,128, 0, 3, 0, 48, 79, 83, 47, 50, 19, 41,185, 28, 0, 0, 1, 56, 0, 0,
0, 78, 99,109, 97,112, 69,192,131,251,
- 0, 0, 5,128, 0, 0, 2, 6,103,108,121,102,183, 2,204,127, 0, 0, 9,136, 0, 0,
92,100,104,101, 97,100,218, 82,110, 92,
diff --git a/YafaRay.spec b/YafaRay.spec
deleted file mode 100644
index b9a331e..0000000
--- a/YafaRay.spec
+++ /dev/null
@@ -1,260 +0,0 @@
-%define date 20090512
-%define yname yafaray
-%bcond_without qt
-%bcond_with snap
-%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
-# we don't want to provide private python extension libs
-%{?filter_setup:%filter_provides_in %{python_sitearch}/.*\.so$ %filter_setup}
-
-Name: YafaRay
-License: LGPLv2.1
-Summary: A free open-source raytracing render engine
-Version: 0.1.1
-URL:
http://www.yafray.org/
-Group: Applications/Multimedia
-%if %{with snap}
-Release: 0.14.svn.%{date}%{?dist}
-Source0: %{yname}-%{date}.tar.gz
-Source1: python-%{date}.tar.gz
-Source2: README.Fedora
-Source3: yafaray-snapshot.sh
-%else
-Release: 14%{?dist}
-Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
-Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
-Source2: README.Fedora
-%endif
-Patch0: YafaRay-0.1.1-gcc6.patch
-
-BuildRequires: scons >= 0.97
-BuildRequires: freetype-devel
-BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
-BuildRequires: libxml2-devel
-BuildRequires: python-devel
-BuildRequires: swig
-%{?with_qt:BuildRequires: qt4-devel}
-BuildRequires: zlib-devel
-BuildRequires: OpenEXR-devel >= 1.2
-#Introduced in F-15, Can be dropped by F-17
-Obsoletes: yafray < 0.1.0
-Provides: yafray = %{version}-%{release}
-Obsoletes: %{yname} < 0.1.1-4
-Provides: %{yname} = %{version}-%{release}
-
-%description
-YafaRay is a free open-source raytracing render engine.
-Raytracing is a rendering technique for generating
-realistic images by tracing the path of light through a 3D scene.
-A render engine consists of a "faceless" computer program that interacts
-with a host 3D application to provide very specific raytracing capabilities
-"on demand". Blender 3D is the host application of YafaRay.
-
-%package blender
-Summary: Blender integration scripts
-Group: Applications/Multimedia
-Requires: %{name} = %{version}-%{release}
-Requires: blender
-Obsoletes: %{yname}-blender < 0.1.1-4
-Provides: %{yname}-blender = %{version}-%{release}
-
-%description blender
-YafRay uses a python-coded settings interface to set
-lighting and rendering parameters. This settings interface
-is launched by an entry automatically added to the Blender Render menu.
-
-%prep
-%if %{with snap}
-%setup -q -n %{yname}-%{date}
-%setup -q -D -T -a 1 -n %{yname}-%{date}
-%else
-%setup -q -n %{yname}
-%setup -q -D -T -a 1 -n %{yname}
-%endif
-%patch0 -p1 -b .gcc6
-
-sed -i -e"s,/lib',/%{_lib}',g" config/linux2-config.py
-sed -i -e"s,/lib/,/%{_lib}/,g" config/linux2-config.py
-
-%if %{with qt}
-sed -i -e"s,WITH_YF_QT='false',WITH_YF_QT='true',g"
config/linux2-config.py
-%endif
-
-cat << EOF >> config/linux2-config.py
-YF_QTDIR = '%{_libdir}/qt4'
-# unversioned SO is correct by itself when the said shared object is
-# meant to be dlopen at runtime, instead of being linked at build time.
-#YF_SHLINKFLAGS = "-Wl,-soname,libyafaraycore.so.1"
-EOF
-sed -i -e"s|REL_CCFLAGS = '-O3 -ffast-math'|REL_CCFLAGS = '-ffast-math
-fPIC %{optflags}'|g" config/linux2-config.py
-# fixes %%{buildroot} in libyafaraycore.so
-sed -i -e"s,\$YF_LIBOUT,%{_libdir},g" tools/writeconfig.py
-sed -i -e"s,\$YF_PLUGINPATH,%{_libdir}/%{yname},g" tools/writeconfig.py
-install -pm644 %{SOURCE2} ./
-
-%build
-scons build
-scons swig
-
-%install
-scons PREFIX=%{buildroot}%{_prefix} install
-
-mkdir -p %{buildroot}%{_datadir}/blender/scripts
-mkdir -p %{buildroot}%{python_sitearch}
-
-%if %{with snap}
-pushd %{_builddir}/%{yname}-%{date}
-cp -p bindings/python/yaf*.py \
- %{buildroot}%{_datadir}/blender/scripts
-cp -p bindings/python/_yaf*.so \
- %{buildroot}%{python_sitearch}
-cp -p python-%{date}/yaf*.py \
- %{buildroot}%{_datadir}/blender/scripts
-cp -p %{SOURCE3} .
-%else
-pushd %{_builddir}/%{yname}
-cp -p bindings/python/yaf*.py \
- %{buildroot}%{_datadir}/blender/scripts
-cp -p bindings/python/_yaf*.so \
- %{buildroot}%{python_sitearch}
-cp -p %{yname}-blender/yaf*.py \
- %{buildroot}%{_datadir}/blender/scripts
-%endif
-popd
-
-%files
-%defattr(-, root, root)
-%doc CODING LICENSE INSTALL
-%{_bindir}/%{yname}-xml
-%{_libdir}/%{yname}/*.so
-%{_libdir}/libyafaraycore.so
-
-%files blender
-%defattr(-, root, root)
-%if %{with snap}
-%doc yafaray-snapshot.sh
-%endif
-%doc README.Fedora
-%{_datadir}/blender/scripts/*
-%{?with_qt:%{_libdir}/libyafarayqt.so}
-%{_libdir}/libyafarayplugin.so
-%{python_sitearch}/_yaf*.so
-
-
-%changelog
-* Tue Mar 08 2016 Yaakov Selkowitz <yselkowi(a)redhat.com> - 0.1.1-14
-- Fix FTBFS with GCC 6 (#1307303)
-
-* Wed Feb 03 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.1-13
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Tue Jun 16 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-12
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Fri Aug 15 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-11
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Fri Jun 06 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-11
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Wed Nov 27 2013 Rex Dieter <rdieter(a)fedoraproject.org> - 0.1.1-10
-- rebuild (openexr)
-
-* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-9
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Sun Mar 10 2013 Rex Dieter <rdieter(a)fedoraproject.org> - 0.1.1-8
-- rebuild (OpenEXR)
-
-* Wed Feb 13 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Wed Jul 18 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Sun Jul 8 2012 Peter Robinson <pbrobinson(a)fedoraproject.org> - 0.1.1-6
-- Build with PIC (fix FTBFS on ARM)
-
-* Fri Apr 27 2012 Peter Robinson <pbrobinson(a)fedoraproject.org> - 0.1.1-5
-- Fix endif statement
-
-* Tue Feb 28 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-4
-- Rebuilt for c++ ABI breakage
-
-* Thu Jan 12 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Mon Feb 07 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Tue Jan 25 2011 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.1-4
-- Fixed Obsoletes clause for yafaray.
-
-* Fri Jan 21 2011 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.1-3
-- Changed package name to YafaRay.
-- Providing README.Fedora
-
-* Thu Nov 04 2010 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.1-2
-- Conditionally building with qt support.
-- Fixed URL and license.
-
-* Sat Aug 29 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.1-1
-- Updated 0.1.1
-
-* Sat May 23 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0.315-1
-- Updated 0.1.0.315
-
-* Tue May 12 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-1
-- Built official 0.1.0 (305) version.
-
-* Tue May 12 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-0.1.svn.20090512
-- Built revision 315.
-
-* Sat Apr 11 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-0.1.svn.20090411
-- Built revision 300.
-
-* Mon Jan 26 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-0.1.svn.20090126
-- Built revision 299.
-
-* Tue Nov 11 2008 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-0.1.svn.20081031
-- Installing _yaf*.so in %%{python_sitearch}
-- Using %%{snv}.%%{date} for release.
-- Using %%{optflags}.
-
-* Thu Oct 23 2008 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-5
-- Built revision 287.
-- Replaced BR libxml-devel for libxml2-devel.
-- Using %%{buildroot} in the comment in the %%prep section.
-- Included yafaray-snapshot.sh
-
-* Sun Oct 19 2008 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-4
-- Created blender integration package.
-- svn co
https://ssl.little-isp.de/svn/lynx/yafaray/blender/python
-
-* Wed Oct 15 2008 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-3
-- Built revision 286.
-- Adapted spec file.
-- svn co
https://ssl.little-isp.de/svn/lynx/yafaray/mainline/ yafaray
-
-* Sun Feb 04 2007 Paulo Roma <roma(a)lcg.ufrj.br> 0.0.9-2
-- Rebuilt for Fedora 6
-- Updated to 0.0.9
-
-* Wed Jan 25 2006 - mls(a)suse.de
-- converted neededforbuild to BuildRequires
-
-* Mon Sep 19 2005 - pnemec(a)suse.cz
-- fixed wrong return value in tiangletools.cc
-
-* Tue Jul 26 2005 - sbrabec(a)suse.cz
-- Updated to version 0.0.8.
-
-* Mon May 16 2005 - pmladek(a)suse.cz
-- fixed to build with gcc4 on 64-bit architectures
-
-* Thu Aug 26 2004 - kukuk(a)suse.de
-- Fix building on lib64 archs
-
-* Wed Aug 25 2004 - sbrabec(a)suse.cz
-- New SuSE package, version 0.0.7.
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..3c0af1d
--- /dev/null
+++ b/dead.package
@@ -0,0 +1,3 @@
+2016-07-06: Retired orphaned package, because it was orphaned for
+more than six weeks.
+
diff --git a/sources b/sources
deleted file mode 100644
index c5da08f..0000000
--- a/sources
+++ /dev/null
@@ -1,2 +0,0 @@
-d7e7f86b9e90e7f960707ebaea1843ab YafaRay-blender.0.1.1.zip
-d1722dec25299f6f3fcc1d7c661a4e90 YafaRay.0.1.1.zip
commit 4e34b9abbc98ba178a1c37e71c19df05cf62a069
Author: Yaakov Selkowitz <yselkowi(a)redhat.com>
Date: Mon Mar 7 22:07:36 2016 -0600
Fix FTBFS with GCC 6 (#1307303)
diff --git a/YafaRay-0.1.1-gcc6.patch b/YafaRay-0.1.1-gcc6.patch
new file mode 100644
index 0000000..0179e40
--- /dev/null
+++ b/YafaRay-0.1.1-gcc6.patch
@@ -0,0 +1,28 @@
+diff -urp a/src/textures/rgbe_texture.cc b/src/textures/rgbe_texture.cc
+--- a/src/textures/rgbe_texture.cc 2008-08-27 15:12:20.000000000 -0500
++++ b/src/textures/rgbe_texture.cc 2016-03-07 21:57:16.016998548 -0600
+@@ -111,10 +111,10 @@ gBuf_t<rgbe_t, 1>* loadHDR(const char* f
+ {
+ FILE *file = fopen(filename,"rb");
+ int xmax, ymax;
+- if (file==NULL) return false;
++ if (file==NULL) return NULL;
+ if (!checkHDR(file, xmax, ymax)) {
+ fclose(file);
+- return false;
++ return NULL;
+ }
+ bool ok=true;
+ gBuf_t<rgbe_t, 1> *image = new gBuf_t<rgbe_t, 1>(xmax, ymax);
+diff -urp a/src/yafraycore/font_frankbook.cc b/src/yafraycore/font_frankbook.cc
+--- a/src/yafraycore/font_frankbook.cc 2007-10-03 05:29:28.000000000 -0500
++++ b/src/yafraycore/font_frankbook.cc 2016-03-07 21:47:12.290267985 -0600
+@@ -1,7 +1,7 @@
+ /* DataToC output of file <FranKleinBook_ttf> */
+
+ int font_ttf_size= 84484;
+-char font_ttf[]= {
++unsigned char font_ttf[]= {
+ 0, 1, 0, 0,
+ 0, 11, 0,128, 0, 3, 0, 48, 79, 83, 47, 50, 19, 41,185, 28, 0, 0, 1, 56, 0, 0,
0, 78, 99,109, 97,112, 69,192,131,251,
+ 0, 0, 5,128, 0, 0, 2, 6,103,108,121,102,183, 2,204,127, 0, 0, 9,136, 0, 0,
92,100,104,101, 97,100,218, 82,110, 92,
diff --git a/YafaRay.spec b/YafaRay.spec
index 8902b33..b9a331e 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,17 +14,18 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.13.svn.%{date}%{?dist}
+Release: 0.14.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
Source3: yafaray-snapshot.sh
%else
-Release: 13%{?dist}
+Release: 14%{?dist}
Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
Source2: README.Fedora
%endif
+Patch0: YafaRay-0.1.1-gcc6.patch
BuildRequires: scons >= 0.97
BuildRequires: freetype-devel
@@ -71,6 +72,7 @@ is launched by an entry automatically added to the Blender Render menu.
%setup -q -n %{yname}
%setup -q -D -T -a 1 -n %{yname}
%endif
+%patch0 -p1 -b .gcc6
sed -i -e"s,/lib',/%{_lib}',g" config/linux2-config.py
sed -i -e"s,/lib/,/%{_lib}/,g" config/linux2-config.py
@@ -141,6 +143,9 @@ popd
%changelog
+* Tue Mar 08 2016 Yaakov Selkowitz <yselkowi(a)redhat.com> - 0.1.1-14
+- Fix FTBFS with GCC 6 (#1307303)
+
* Wed Feb 03 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.1-13
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
commit 2502a7e18e2ee114b559bb438e44bafeb8b999db
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Wed Feb 3 15:53:56 2016 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
diff --git a/YafaRay.spec b/YafaRay.spec
index d51d043..8902b33 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,13 +14,13 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.12.svn.%{date}%{?dist}
+Release: 0.13.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
Source3: yafaray-snapshot.sh
%else
-Release: 12%{?dist}
+Release: 13%{?dist}
Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
Source2: README.Fedora
@@ -141,6 +141,9 @@ popd
%changelog
+* Wed Feb 03 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.1-13
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-12
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
commit 22390c20cbfa5bbc019e04e164e4ec965011c544
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Tue Jun 16 23:30:15 2015 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/YafaRay.spec b/YafaRay.spec
index 3a575cd..d51d043 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,13 +14,13 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.11.svn.%{date}%{?dist}
+Release: 0.12.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
Source3: yafaray-snapshot.sh
%else
-Release: 11%{?dist}
+Release: 12%{?dist}
Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
Source2: README.Fedora
@@ -141,6 +141,9 @@ popd
%changelog
+* Tue Jun 16 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-12
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-11
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
commit a6e79f4aa0e67e145c8c6fd047a542a7fa766d0b
Author: Peter Robinson <pbrobinson(a)fedoraproject.org>
Date: Fri Aug 15 19:48:44 2014 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/YafaRay.spec b/YafaRay.spec
index e79872f..3a575cd 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,7 +14,7 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.10.svn.%{date}%{?dist}
+Release: 0.11.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
@@ -141,6 +141,9 @@ popd
%changelog
+* Fri Aug 15 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-11
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-11
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
commit 408f8e9a06b6ee1904388e702256113404b4cfd8
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Fri Jun 6 18:54:05 2014 -0500
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/YafaRay.spec b/YafaRay.spec
index 83f49c7..e79872f 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,13 +14,13 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.9.svn.%{date}%{?dist}
+Release: 0.10.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
Source3: yafaray-snapshot.sh
%else
-Release: 10%{?dist}
+Release: 11%{?dist}
Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
Source2: README.Fedora
@@ -141,6 +141,9 @@ popd
%changelog
+* Fri Jun 06 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-11
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
* Wed Nov 27 2013 Rex Dieter <rdieter(a)fedoraproject.org> - 0.1.1-10
- rebuild (openexr)
commit 315c1dbf4593a24fc26d2c981c0274282d94e4e1
Author: Rex Dieter <rdieter(a)math.unl.edu>
Date: Wed Nov 27 10:51:10 2013 -0600
rebuild (openexr)
diff --git a/YafaRay.spec b/YafaRay.spec
index 135f3aa..83f49c7 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,13 +14,13 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.8.svn.%{date}%{?dist}
+Release: 0.9.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
Source3: yafaray-snapshot.sh
%else
-Release: 9%{?dist}
+Release: 10%{?dist}
Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
Source2: README.Fedora
@@ -141,6 +141,9 @@ popd
%changelog
+* Wed Nov 27 2013 Rex Dieter <rdieter(a)fedoraproject.org> - 0.1.1-10
+- rebuild (openexr)
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-9
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
commit 512abc72772ec0880e522eea954f8b40dbe95cab
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Fri Aug 2 19:03:28 2013 -0500
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/YafaRay.spec b/YafaRay.spec
index d3e9f4f..135f3aa 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,13 +14,13 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.7.svn.%{date}%{?dist}
+Release: 0.8.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
Source3: yafaray-snapshot.sh
%else
-Release: 8%{?dist}
+Release: 9%{?dist}
Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
Source2: README.Fedora
@@ -141,6 +141,9 @@ popd
%changelog
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-9
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
* Sun Mar 10 2013 Rex Dieter <rdieter(a)fedoraproject.org> - 0.1.1-8
- rebuild (OpenEXR)
commit 7c019a6a80beca020ff622b8636f35f58aefa625
Author: Rex Dieter <rdieter(a)math.unl.edu>
Date: Sun Mar 10 16:32:20 2013 -0500
rebuild (OpenEXR)
diff --git a/YafaRay.spec b/YafaRay.spec
index 796a4ee..d3e9f4f 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,13 +14,13 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.6.svn.%{date}%{?dist}
+Release: 0.7.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
Source3: yafaray-snapshot.sh
%else
-Release: 7%{?dist}
+Release: 8%{?dist}
Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
Source2: README.Fedora
@@ -141,6 +141,9 @@ popd
%changelog
+* Sun Mar 10 2013 Rex Dieter <rdieter(a)fedoraproject.org> - 0.1.1-8
+- rebuild (OpenEXR)
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-7
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
commit 98c4027ab1b4a9483e68d32bd6c33fe8b53d5a19
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Wed Feb 13 10:11:01 2013 -0600
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/YafaRay.spec b/YafaRay.spec
index 062f665..796a4ee 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,13 +14,13 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.5.svn.%{date}%{?dist}
+Release: 0.6.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
Source3: yafaray-snapshot.sh
%else
-Release: 6%{?dist}
+Release: 7%{?dist}
Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
Source2: README.Fedora
@@ -141,6 +141,9 @@ popd
%changelog
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-7
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-6
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
commit 99a3fe9b7c638e3afe271731b1c9797975c4c75f
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Wed Jul 18 10:24:24 2012 -0500
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/YafaRay.spec b/YafaRay.spec
index 1b0d92e..062f665 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,7 +14,7 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.4.svn.%{date}%{?dist}
+Release: 0.5.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
@@ -141,6 +141,9 @@ popd
%changelog
+* Wed Jul 18 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-6
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
* Sun Jul 8 2012 Peter Robinson <pbrobinson(a)fedoraproject.org> - 0.1.1-6
- Build with PIC (fix FTBFS on ARM)
commit 541d5f4b82739b8030698910eaf1cd567454f275
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Sun Jul 8 17:58:42 2012 +0100
Build with PIC (fix FTBFS on ARM)
diff --git a/YafaRay.spec b/YafaRay.spec
index 0bb4d52..1b0d92e 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -20,7 +20,7 @@ Source1: python-%{date}.tar.gz
Source2: README.Fedora
Source3: yafaray-snapshot.sh
%else
-Release: 5%{?dist}
+Release: 6%{?dist}
Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
Source2: README.Fedora
@@ -71,22 +71,25 @@ is launched by an entry automatically added to the Blender Render
menu.
%setup -q -n %{yname}
%setup -q -D -T -a 1 -n %{yname}
%endif
+
sed -i -e"s,/lib',/%{_lib}',g" config/linux2-config.py
sed -i -e"s,/lib/,/%{_lib}/,g" config/linux2-config.py
+
%if %{with qt}
sed -i -e"s,WITH_YF_QT='false',WITH_YF_QT='true',g"
config/linux2-config.py
%endif
+
cat << EOF >> config/linux2-config.py
YF_QTDIR = '%{_libdir}/qt4'
# unversioned SO is correct by itself when the said shared object is
# meant to be dlopen at runtime, instead of being linked at build time.
#YF_SHLINKFLAGS = "-Wl,-soname,libyafaraycore.so.1"
EOF
-sed -i -e"s|REL_CCFLAGS = '-O3 -ffast-math'|REL_CCFLAGS = '-ffast-math
%{optflags}'|g" config/linux2-config.py
+sed -i -e"s|REL_CCFLAGS = '-O3 -ffast-math'|REL_CCFLAGS = '-ffast-math
-fPIC %{optflags}'|g" config/linux2-config.py
# fixes %%{buildroot} in libyafaraycore.so
sed -i -e"s,\$YF_LIBOUT,%{_libdir},g" tools/writeconfig.py
sed -i -e"s,\$YF_PLUGINPATH,%{_libdir}/%{yname},g" tools/writeconfig.py
-%{__install} -pm644 %{SOURCE2} ./
+install -pm644 %{SOURCE2} ./
%build
scons build
@@ -138,6 +141,9 @@ popd
%changelog
+* Sun Jul 8 2012 Peter Robinson <pbrobinson(a)fedoraproject.org> - 0.1.1-6
+- Build with PIC (fix FTBFS on ARM)
+
* Fri Apr 27 2012 Peter Robinson <pbrobinson(a)fedoraproject.org> - 0.1.1-5
- Fix endif statement
commit 27962a472cb46eb54677d83942b350c2c928d15a
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Fri Apr 27 11:48:06 2012 +0100
fix endif statement, update spec
diff --git a/YafaRay.spec b/YafaRay.spec
index bb644b2..0bb4d52 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -20,12 +20,12 @@ Source1: python-%{date}.tar.gz
Source2: README.Fedora
Source3: yafaray-snapshot.sh
%else
-Release: 4%{?dist}
+Release: 5%{?dist}
Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
Source2: README.Fedora
-%endiff
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%endif
+
BuildRequires: scons >= 0.97
BuildRequires: freetype-devel
BuildRequires: libjpeg-devel
@@ -93,7 +93,6 @@ scons build
scons swig
%install
-rm -rf %{buildroot}
scons PREFIX=%{buildroot}%{_prefix} install
mkdir -p %{buildroot}%{_datadir}/blender/scripts
@@ -119,9 +118,6 @@ cp -p %{yname}-blender/yaf*.py \
%endif
popd
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-, root, root)
%doc CODING LICENSE INSTALL
@@ -142,6 +138,9 @@ rm -rf %{buildroot}
%changelog
+* Fri Apr 27 2012 Peter Robinson <pbrobinson(a)fedoraproject.org> - 0.1.1-5
+- Fix endif statement
+
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-4
- Rebuilt for c++ ABI breakage
commit 37f7ff3329dad9233fd53bbae148dae6f765fd48
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Tue Feb 28 11:38:21 2012 -0600
- Rebuilt for c++ ABI breakage
diff --git a/YafaRay.spec b/YafaRay.spec
index b6afeda..bb644b2 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,7 +14,7 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.3.svn.%{date}%{?dist}
+Release: 0.4.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
@@ -142,6 +142,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Feb 28 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-4
+- Rebuilt for c++ ABI breakage
+
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
commit fac7e76cad102f5be3dbac88faf734b82c00bc50
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Thu Jan 12 14:55:15 2012 -0600
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/YafaRay.spec b/YafaRay.spec
index f4465f6..b6afeda 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,7 +14,7 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.2.svn.%{date}%{?dist}
+Release: 0.3.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
@@ -142,6 +142,9 @@ rm -rf %{buildroot}
%changelog
+* Thu Jan 12 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
commit 5e16567d77af47d408af69ba42e7c03fed3ee2a9
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Mon Feb 7 17:50:10 2011 -0600
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/YafaRay.spec b/YafaRay.spec
index e684d81..f4465f6 100644
--- a/YafaRay.spec
+++ b/YafaRay.spec
@@ -14,7 +14,7 @@ Version: 0.1.1
URL:
http://www.yafray.org/
Group: Applications/Multimedia
%if %{with snap}
-Release: 0.1.svn.%{date}%{?dist}
+Release: 0.2.svn.%{date}%{?dist}
Source0: %{yname}-%{date}.tar.gz
Source1: python-%{date}.tar.gz
Source2: README.Fedora
@@ -142,6 +142,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.1.1-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
* Tue Jan 25 2011 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.1-4
- Fixed Obsoletes clause for yafaray.
commit 36db54d6e2f05b672cd90737d1a70fc94f51f4f0
Author: Paulo Roma Cavalcanti <promac(a)gmail.com>
Date: Thu Jan 27 14:21:33 2011 -0200
Initial release.
diff --git a/.gitignore b/.gitignore
index e69de29..ec10982 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/YafaRay-blender.0.1.1.zip
+/YafaRay.0.1.1.zip
diff --git a/README.Fedora b/README.Fedora
new file mode 100644
index 0000000..70f3043
--- /dev/null
+++ b/README.Fedora
@@ -0,0 +1,3 @@
+YafaRay may crash with some versions of gettext (bugzilla #650471).
+As a workaround, running "qtconfig-qt4" and changing
+the style from "GTK+" to "Plastique", fix the problem (at least in
KDE).
diff --git a/YafaRay.spec b/YafaRay.spec
new file mode 100644
index 0000000..e684d81
--- /dev/null
+++ b/YafaRay.spec
@@ -0,0 +1,214 @@
+%define date 20090512
+%define yname yafaray
+%bcond_without qt
+%bcond_with snap
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+# we don't want to provide private python extension libs
+%{?filter_setup:%filter_provides_in %{python_sitearch}/.*\.so$ %filter_setup}
+
+Name: YafaRay
+License: LGPLv2.1
+Summary: A free open-source raytracing render engine
+Version: 0.1.1
+URL:
http://www.yafray.org/
+Group: Applications/Multimedia
+%if %{with snap}
+Release: 0.1.svn.%{date}%{?dist}
+Source0: %{yname}-%{date}.tar.gz
+Source1: python-%{date}.tar.gz
+Source2: README.Fedora
+Source3: yafaray-snapshot.sh
+%else
+Release: 4%{?dist}
+Source0:
http://static.yafaray.org/sources/%{name}.%{version}.zip
+Source1:
http://static.yafaray.org/sources/%{name}-blender.%{version}.zip
+Source2: README.Fedora
+%endiff
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: scons >= 0.97
+BuildRequires: freetype-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: libxml2-devel
+BuildRequires: python-devel
+BuildRequires: swig
+%{?with_qt:BuildRequires: qt4-devel}
+BuildRequires: zlib-devel
+BuildRequires: OpenEXR-devel >= 1.2
+#Introduced in F-15, Can be dropped by F-17
+Obsoletes: yafray < 0.1.0
+Provides: yafray = %{version}-%{release}
+Obsoletes: %{yname} < 0.1.1-4
+Provides: %{yname} = %{version}-%{release}
+
+%description
+YafaRay is a free open-source raytracing render engine.
+Raytracing is a rendering technique for generating
+realistic images by tracing the path of light through a 3D scene.
+A render engine consists of a "faceless" computer program that interacts
+with a host 3D application to provide very specific raytracing capabilities
+"on demand". Blender 3D is the host application of YafaRay.
+
+%package blender
+Summary: Blender integration scripts
+Group: Applications/Multimedia
+Requires: %{name} = %{version}-%{release}
+Requires: blender
+Obsoletes: %{yname}-blender < 0.1.1-4
+Provides: %{yname}-blender = %{version}-%{release}
+
+%description blender
+YafRay uses a python-coded settings interface to set
+lighting and rendering parameters. This settings interface
+is launched by an entry automatically added to the Blender Render menu.
+
+%prep
+%if %{with snap}
+%setup -q -n %{yname}-%{date}
+%setup -q -D -T -a 1 -n %{yname}-%{date}
+%else
+%setup -q -n %{yname}
+%setup -q -D -T -a 1 -n %{yname}
+%endif
+sed -i -e"s,/lib',/%{_lib}',g" config/linux2-config.py
+sed -i -e"s,/lib/,/%{_lib}/,g" config/linux2-config.py
+%if %{with qt}
+sed -i -e"s,WITH_YF_QT='false',WITH_YF_QT='true',g"
config/linux2-config.py
+%endif
+cat << EOF >> config/linux2-config.py
+YF_QTDIR = '%{_libdir}/qt4'
+# unversioned SO is correct by itself when the said shared object is
+# meant to be dlopen at runtime, instead of being linked at build time.
+#YF_SHLINKFLAGS = "-Wl,-soname,libyafaraycore.so.1"
+EOF
+sed -i -e"s|REL_CCFLAGS = '-O3 -ffast-math'|REL_CCFLAGS = '-ffast-math
%{optflags}'|g" config/linux2-config.py
+# fixes %%{buildroot} in libyafaraycore.so
+sed -i -e"s,\$YF_LIBOUT,%{_libdir},g" tools/writeconfig.py
+sed -i -e"s,\$YF_PLUGINPATH,%{_libdir}/%{yname},g" tools/writeconfig.py
+%{__install} -pm644 %{SOURCE2} ./
+
+%build
+scons build
+scons swig
+
+%install
+rm -rf %{buildroot}
+scons PREFIX=%{buildroot}%{_prefix} install
+
+mkdir -p %{buildroot}%{_datadir}/blender/scripts
+mkdir -p %{buildroot}%{python_sitearch}
+
+%if %{with snap}
+pushd %{_builddir}/%{yname}-%{date}
+cp -p bindings/python/yaf*.py \
+ %{buildroot}%{_datadir}/blender/scripts
+cp -p bindings/python/_yaf*.so \
+ %{buildroot}%{python_sitearch}
+cp -p python-%{date}/yaf*.py \
+ %{buildroot}%{_datadir}/blender/scripts
+cp -p %{SOURCE3} .
+%else
+pushd %{_builddir}/%{yname}
+cp -p bindings/python/yaf*.py \
+ %{buildroot}%{_datadir}/blender/scripts
+cp -p bindings/python/_yaf*.so \
+ %{buildroot}%{python_sitearch}
+cp -p %{yname}-blender/yaf*.py \
+ %{buildroot}%{_datadir}/blender/scripts
+%endif
+popd
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root)
+%doc CODING LICENSE INSTALL
+%{_bindir}/%{yname}-xml
+%{_libdir}/%{yname}/*.so
+%{_libdir}/libyafaraycore.so
+
+%files blender
+%defattr(-, root, root)
+%if %{with snap}
+%doc yafaray-snapshot.sh
+%endif
+%doc README.Fedora
+%{_datadir}/blender/scripts/*
+%{?with_qt:%{_libdir}/libyafarayqt.so}
+%{_libdir}/libyafarayplugin.so
+%{python_sitearch}/_yaf*.so
+
+
+%changelog
+* Tue Jan 25 2011 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.1-4
+- Fixed Obsoletes clause for yafaray.
+
+* Fri Jan 21 2011 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.1-3
+- Changed package name to YafaRay.
+- Providing README.Fedora
+
+* Thu Nov 04 2010 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.1-2
+- Conditionally building with qt support.
+- Fixed URL and license.
+
+* Sat Aug 29 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.1-1
+- Updated 0.1.1
+
+* Sat May 23 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0.315-1
+- Updated 0.1.0.315
+
+* Tue May 12 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-1
+- Built official 0.1.0 (305) version.
+
+* Tue May 12 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-0.1.svn.20090512
+- Built revision 315.
+
+* Sat Apr 11 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-0.1.svn.20090411
+- Built revision 300.
+
+* Mon Jan 26 2009 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-0.1.svn.20090126
+- Built revision 299.
+
+* Tue Nov 11 2008 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-0.1.svn.20081031
+- Installing _yaf*.so in %%{python_sitearch}
+- Using %%{snv}.%%{date} for release.
+- Using %%{optflags}.
+
+* Thu Oct 23 2008 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-5
+- Built revision 287.
+- Replaced BR libxml-devel for libxml2-devel.
+- Using %%{buildroot} in the comment in the %%prep section.
+- Included yafaray-snapshot.sh
+
+* Sun Oct 19 2008 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-4
+- Created blender integration package.
+- svn co
https://ssl.little-isp.de/svn/lynx/yafaray/blender/python
+
+* Wed Oct 15 2008 Paulo Roma <roma(a)lcg.ufrj.br> 0.1.0-3
+- Built revision 286.
+- Adapted spec file.
+- svn co
https://ssl.little-isp.de/svn/lynx/yafaray/mainline/ yafaray
+
+* Sun Feb 04 2007 Paulo Roma <roma(a)lcg.ufrj.br> 0.0.9-2
+- Rebuilt for Fedora 6
+- Updated to 0.0.9
+
+* Wed Jan 25 2006 - mls(a)suse.de
+- converted neededforbuild to BuildRequires
+
+* Mon Sep 19 2005 - pnemec(a)suse.cz
+- fixed wrong return value in tiangletools.cc
+
+* Tue Jul 26 2005 - sbrabec(a)suse.cz
+- Updated to version 0.0.8.
+
+* Mon May 16 2005 - pmladek(a)suse.cz
+- fixed to build with gcc4 on 64-bit architectures
+
+* Thu Aug 26 2004 - kukuk(a)suse.de
+- Fix building on lib64 archs
+
+* Wed Aug 25 2004 - sbrabec(a)suse.cz
+- New SuSE package, version 0.0.7.
diff --git a/sources b/sources
index e69de29..c5da08f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+d7e7f86b9e90e7f960707ebaea1843ab YafaRay-blender.0.1.1.zip
+d1722dec25299f6f3fcc1d7c661a4e90 YafaRay.0.1.1.zip