Adds rpm specs to migration repo
This commit is contained in:
1 parent
acee7b8766
commit
7f035543e2
145 files changed
+13982
No files matched your search
+82
@@ -0,0 +1,82 @@
|
||||
#
|
||||
# spec file for package OpenSceneGraph (Version 3.1.7)
|
||||
# $Revision$
|
||||
# $Date$
|
||||
# $Id$
|
||||
#
|
||||
|
||||
%define real_name ScoreGeometry
|
||||
|
||||
Name: ScoreGeometry
|
||||
Provides: %{name}
|
||||
BuildRequires: cmake
|
||||
License: commercial
|
||||
Group: System/Libraries
|
||||
Summary: Supports vector computation in 2-D and 3-D space
|
||||
Version: 2.4.3
|
||||
Release: 1
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Patch1: %{name}-%{version}.patch
|
||||
AutoReqProv: no
|
||||
|
||||
%debug_package
|
||||
|
||||
%description
|
||||
The main purpose of the Score Geometry library is to provide basic
|
||||
geometric functionality. Currently the package supports
|
||||
vector computation in 2-D and 3-D space,
|
||||
coordinate system transformations, creation and handling of
|
||||
geometric primitives.
|
||||
|
||||
%package devel
|
||||
#BuildRequires: -
|
||||
Requires: %{name}
|
||||
Provides: %{name}-devel
|
||||
License: commercial
|
||||
Group: Development/Libraries
|
||||
Summary: Supports vector computation in 2-D and 3-D space
|
||||
|
||||
%description devel
|
||||
You need this package, if you want to compile programs with Geometry
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-v%{version}
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
builddir=%{_builddir}/%{buildsubdir}-build
|
||||
rm -rf ${builddir}
|
||||
mkdir -p ${builddir}
|
||||
cd ${builddir}
|
||||
cmake -Wno-dev \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DINSTALL_PATH_LIB=lib64 \
|
||||
%{_builddir}/%{buildsubdir}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
builddir=%{_builddir}/%{buildsubdir}-build
|
||||
cd ${builddir}
|
||||
make DESTDIR=%{buildroot} install %{_smp_mflags}
|
||||
|
||||
%clean
|
||||
%{__rm} -rf '%{buildroot}'
|
||||
%{__rm} -rf '%{_builddir}/%{buildsubdir}'
|
||||
%{__rm} -rf '%{_builddir}/%{buildsubdir}-build'
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,755)
|
||||
%{_prefix}/lib64/
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,755)
|
||||
%{_prefix}/include/
|
||||
%{_prefix}/doc/
|
||||
%{_prefix}/cmake
|
||||
|
||||
%changelog
|
||||
* Wed Aug 22 2018 Christian Ehrlicher
|
||||
- update to 2.4.3
|
||||
* Sun Jan 23 2011 Christian Ehrlicher
|
||||
- initial version
|
||||
Reference in new issue
Block a user