Accepting request 898069 from home:jengelh:pic
- Drop --with-pic (no effect with --disable-static) OBS-URL: https://build.opensuse.org/request/show/898069 OBS-URL: https://build.opensuse.org/package/show/graphics/lib3ds?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 7 12:04:27 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Drop --with-pic (no effect with --disable-static)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 8 16:37:22 UTC 2019 - olaf@aepfle.de
|
||||
|
||||
|
||||
+9
-15
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lib3ds
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -21,15 +21,14 @@ Name: lib3ds
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: Import and Export of Autodesk 3DS Files
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://lib3ds.sourceforge.net
|
||||
URL: http://lib3ds.sourceforge.net
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Patch0: lib3ds-pkgconfig.patch
|
||||
Patch1: lib3ds-mesh.c.patch
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Lib3ds is a free alternative to Autodesk's 3DS File Toolkit for
|
||||
@@ -58,35 +57,30 @@ handling 3DS files. Its main goal is to simplify the creation of 3DS
|
||||
import and export filters.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
autoreconf -fvi
|
||||
export CFLAGS="%{optflags}"
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--with-pic
|
||||
make %{?_smp_mflags}
|
||||
--disable-static
|
||||
%make_build
|
||||
|
||||
%install
|
||||
rm -rf examples/.deps
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
%make_install
|
||||
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
|
||||
install -m644 lib3ds.pc %{buildroot}%{_libdir}/pkgconfig/
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%check
|
||||
make check %{?_smp_mflags}
|
||||
%make_build check
|
||||
|
||||
%files -n %{libname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/lib3ds-1.so.3*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS README COPYING ChangeLog examples
|
||||
%dir %{_includedir}/lib3ds
|
||||
%{_bindir}/3dsdump
|
||||
|
||||
Reference in New Issue
Block a user