Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:repabuild
osgEphemeris
osgEphemeris.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File osgEphemeris.spec of Package osgEphemeris
Name: osgEphemeris Version: 110916 Release: 1 Summary: Skydome for OpenSceneGraph Group: Development/Libraries/C and C++ License: GPL URL: http://andesengineering.com/Projects/OsgEphemeris/ Source0: %{name}-110916.tar.bz2 # PATCH-FIX-UPSTREAM osgEphemeris-110916-osg34.patch -- handle new callback Patch0: osgEphemeris-110916-osg34.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if 0%{?fedora_version} BuildRequires: OpenSceneGraph-devel gcc-c++ mesa-libGL-devel %define osgplugindir %(rpm -q --qf '%{_libdir}/osgPlugins-%%{v}' OpenSceneGraph-devel) %else BuildRequires: libOpenSceneGraph-devel BuildRequires: OpenSceneGraph-plugins %define osgplugindir %(rpm -q --qf '%{_libdir}/osgPlugins-%%{v}' libOpenSceneGraph-devel) %endif BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: Mesa-libGL-devel %description osgEphemeris provides the virtual environment for the sky, sun, moon, planets and stars to be used with visualization applications using OpenSceneGraph. When using osgEphemeris, the user provides the software with Latitude, Longitude, Date and Time, and the software will provide a ground (or near-ground) view of the sky with the sun, moon, planets, and stars all positioned with reasonable accuracy. %package devel Summary: Development headers for %{name} Group: Development/Libraries/C and C++ %description devel header and development files for osgEphemeris %prep %setup -n osgEphemeris %if 0%(pkg-config --atleast-version=3.4.0 openscenegraph && echo 1) %patch0 -p1 %endif %build # DWMAKE=`pwd`/../DWMake make cmake mkdir build cd build CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" \ cmake -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_SKIP_RPATH:BOOL=ON \ %ifarch x86_64 -D LIB_SUFFIX=64 \ %endif -D BUILD_SHARED_LIBS:BOOL=ON .. make %{?_smp_mflags} %install cd build make install DESTDIR=%{buildroot} # correct location plugin install -d %{buildroot}%{osgplugindir} mv %{buildroot}%{_libdir}/osgdb_osgephemerismodel.so \ %{buildroot}%{osgplugindir} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc doc COPYING %{_libdir}/libosgEphemeris.so %{osgplugindir}/osgdb_osgephemerismodel.so %{_bindir}/osgEphemerisViewer %files devel %defattr(-,root,root,-) %{_includedir}/osgEphemeris %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor