[Bug 1677989] Review Request: vcglib Visualization and Computer Graphics Library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1677989



--- Comment #28 from Petr Menšík <pemensik@xxxxxxxxxx> ---
(In reply to J. Scheurich from comment #27)
> 
> Updated specfile

Please!

in %build section remove lines:
mkdir -p %{buildroot}%{_includedir}/%{name}/wrap
cp -r vcg img %{buildroot}%{_includedir}/%{name}

mkdir -p %{buildroot}%{_includedir}/%{name}/wrap
# wrap contains code in cpp files that should be compiled into a shared library
cp -a wrap/*.h
wrap/{gcache,gl,glw,igl,io_edgemesh,io_tetramesh,io_trimesh,math,minpack,mt,opensg,system}
\
   %{buildroot}%{_includedir}/%{name}/wrap


in %build section change this:
rm %{buildroot}%{_includedir}/%{name}/wrap/system/getopt.h

for i in vcg img ; do
   find %{buildroot}%{_includedir}/%{name} -name '*.cpp' | xargs -r rm
done
just to:
find vcg img -name '*.cpp' | xargs -r rm


Add into beginning of %install section:
mkdir -p %{buildroot}%{_includedir}/%{name}/wrap
cp -r vcg img %{buildroot}%{_includedir}/%{name}

cp -a wrap/*.h
wrap/{gcache,gl,glw,igl,io_edgemesh,io_tetramesh,io_trimesh,math,minpack,mt,opensg,system}
\
   %{buildroot}%{_includedir}/%{name}/wrap
rm %{buildroot}%{_includedir}/%{name}/wrap/system/getopt.*

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux