forked from pool/assimp
Accepting request 157613 from home:worldcitizen:branches:games
please add assimp to games OBS-URL: https://build.opensuse.org/request/show/157613 OBS-URL: https://build.opensuse.org/package/show/games/assimp?expand=0&rev=1
This commit is contained in:
commit
67f9001d4f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
assimp--3.0.1270-source-only.zip
Normal file
3
assimp--3.0.1270-source-only.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ac29beb596db97df57451a5503afaf2d8b4366522842a6914da89644927a1423
|
||||
size 4042147
|
15
assimp.changes
Normal file
15
assimp.changes
Normal file
@ -0,0 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 21:12:07 UTC 2013 - joop.boonen@opensuse.org
|
||||
|
||||
- Improved the spec file, changed the names and cleaned the spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 30 00:00:00 CEST 2012 - sergey.shambir.auto@gmail.c
|
||||
|
||||
- some improvements form *.spec at home:hcostelha repository
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 29 00:00:00 CEST 2012 - sergey.shambir.auto@gmail.c
|
||||
|
||||
- initial package of version 3.0
|
||||
|
106
assimp.spec
Normal file
106
assimp.spec
Normal file
@ -0,0 +1,106 @@
|
||||
#
|
||||
# spec file for package lib
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define soname 3
|
||||
Name: assimp
|
||||
Version: 3.0.1270
|
||||
Release: 0
|
||||
Summary: Library to load and process 3D scenes from various data formats
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://assimp.sourceforge.net/
|
||||
Source0: http://sourceforge.net/projects/assimp/files/assimp-3.0/assimp--%{version}-source-only.zip
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: cmake
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: unzip
|
||||
BuildRequires: zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Assimp is a library to load and process geometric scenes from various data formats. It is tailored at typical game scenarios by supporting a node hierarchy, static or skinned meshes, materials, bone animations and potential texture data. The library is not designed for speed, it is primarily useful for importing assets from various sources once and storing it in a engine-specific format for easy and fast every-day-loading.
|
||||
|
||||
%package -n lib%{name}%{soname}
|
||||
Summary: Headers, docs and command-line utility for %{name}
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n lib%{name}%{soname}
|
||||
Assimp is a library to load and process geometric scenes from various data formats. It is tailored at typical game scenarios by supporting a node hierarchy, static or skinned meshes, materials, bone animations and potential texture data. The library is not designed for speed, it is primarily useful for importing assets from various sources once and storing it in a engine-specific format for easy and fast every-day-loading.
|
||||
|
||||
%package devel
|
||||
Summary: Headers, docs and command-line utility for %{name}
|
||||
Group: Development/Libraries/C and C++
|
||||
BuildRequires: pkgconfig
|
||||
Requires: lib%{name}%{soname} = %{version}
|
||||
Requires: glibc-devel
|
||||
Requires: libstdc++-devel
|
||||
|
||||
%description devel
|
||||
Assimp is a library to load and process geometric scenes from various data formats. It is tailored at typical game scenarios by supporting a node hierarchy, static or skinned meshes, materials, bone animations and potential texture data. The library is not designed for speed, it is primarily useful for importing assets from various sources once and storing it in a engine-specific format for easy and fast every-day-loading.
|
||||
|
||||
%prep
|
||||
%setup -q -n assimp--%{version}-source-only
|
||||
dos2unix LICENSE
|
||||
dos2unix CREDITS
|
||||
dos2unix CHANGES
|
||||
dos2unix README
|
||||
|
||||
%build
|
||||
cmake . \
|
||||
-DCMAKE_BUILD_TYPE="Release" \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DLIB_INSTALL_DIR=%{_libdir}
|
||||
export CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf examples/.deps
|
||||
make DESTDIR=%{buildroot} install
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -n lib%{name}%{soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n lib%{name}%{soname} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}%{soname}
|
||||
%defattr(-,root,root)
|
||||
%doc CREDITS README LICENSE
|
||||
%{_libdir}/libassimp.so.3*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%docdir samples/
|
||||
%doc CREDITS README LICENSE CHANGES Documentation.chm CommandLine.chm
|
||||
%dir %{_includedir}/assimp
|
||||
%dir %{_includedir}/assimp/Compiler
|
||||
%dir %{_libdir}/cmake/assimp-3.0
|
||||
%{_includedir}/assimp/Compiler/*.h
|
||||
%{_includedir}/assimp/*.h
|
||||
%{_includedir}/assimp/*.inl
|
||||
%{_includedir}/assimp/*.hpp
|
||||
%{_bindir}/assimp
|
||||
%{_libdir}/libassimp.so
|
||||
%{_libdir}/cmake/assimp-3.0/assimp-config.cmake
|
||||
%{_libdir}/cmake/assimp-3.0/assimp-config-version.cmake
|
||||
%{_libdir}/pkgconfig/assimp.pc
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user