forked from pool/libfole
Accepting request 898705 from security:forensics
OBS-URL: https://build.opensuse.org/request/show/898705 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfole?expand=0&rev=3
This commit is contained in:
commit
0da9a4f579
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/libyal/libfole</param>
|
||||||
|
<param name="revision">bd3f3608503dcbaacfb555d48c7f3b81c0e5aaa5</param>
|
||||||
|
<!-- see configure.ac -->
|
||||||
|
<param name="versionformat">20210415</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
3
libfole-20210415.tar.xz
Normal file
3
libfole-20210415.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:720caf458f105154661398cd1b44cb56d01255d5c1ba1678cb5e3b1834847c7a
|
||||||
|
size 62480
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:885d557c70423263dbf9ee27a3e160b005735f1e50bf3de67088c039ffc978b4
|
|
||||||
size 493376
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 13 11:41:22 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to snapshot 20210415 (bd3f3608)
|
||||||
|
* No changelog was provided
|
||||||
|
- Add system-libs.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 1 22:42:43 UTC 2017 - Greg.Freemyer@gmail.com
|
Sun Oct 1 22:42:43 UTC 2017 - Greg.Freemyer@gmail.com
|
||||||
|
|
||||||
|
37
libfole.spec
37
libfole.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libfole
|
# spec file for package libfole
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,25 +12,25 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libfole
|
Name: libfole
|
||||||
%define lname libfole1
|
%define lname libfole1
|
||||||
%define timestamp 20170502
|
Version: 20210415
|
||||||
Version: 0~%{timestamp}
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for Object Linking and Embedding (OLE) data types
|
Summary: Library for Object Linking and Embedding (OLE) data types
|
||||||
License: LGPL-3.0+
|
License: LGPL-3.0-or-later
|
||||||
Group: Productivity/File utilities
|
Group: Productivity/File utilities
|
||||||
Url: https://github.com/libyal/libfole/wiki
|
URL: https://github.com/libyal/libfole
|
||||||
Source: https://github.com/libyal/libfole/releases/download/%timestamp/%{name}-alpha-%{timestamp}.tar.gz
|
Source: %name-%version.tar.xz
|
||||||
|
Patch1: system-libs.patch
|
||||||
|
BuildRequires: c_compiler
|
||||||
|
BuildRequires: gettext-tools >= 0.18.1
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: python-devel
|
BuildRequires: pkgconfig(libcerror) >= 20201121
|
||||||
BuildRequires: pkgconfig(libcerror) >= 20150101
|
|
||||||
BuildRequires: pkgconfig(libcstring) >= 20150101
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libfole is a library for Object Linking and Embedding (OLE) data types.
|
libfole is a library for Object Linking and Embedding (OLE) data types.
|
||||||
@ -58,28 +58,25 @@ This subpackage contains libraries and header files for developing
|
|||||||
applications that want to make use of libfole.
|
applications that want to make use of libfole.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libfole-%{timestamp}
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-wide-character-type --enable-python
|
if [ ! -e configure ]; then ./autogen.sh; fi
|
||||||
make %{?_smp_mflags}
|
%configure --disable-static
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{lname}
|
%files -n %{lname}
|
||||||
%defattr(-,root,root)
|
%license COPYING*
|
||||||
%doc AUTHORS COPYING ChangeLog
|
|
||||||
%{_libdir}/libfole.so.*
|
%{_libdir}/libfole.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS COPYING README ChangeLog
|
|
||||||
%{_includedir}/libfole.h
|
%{_includedir}/libfole.h
|
||||||
%{_includedir}/libfole/
|
%{_includedir}/libfole/
|
||||||
%{_libdir}/libfole.so
|
%{_libdir}/libfole.so
|
||||||
|
43
system-libs.patch
Normal file
43
system-libs.patch
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2021-05-12 17:36:02.536572543 +0200
|
||||||
|
|
||||||
|
Some dirs are not present in snapshots directly generated from git
|
||||||
|
(nor are they marked as a submodule). Patch it out, since we have
|
||||||
|
them as system libs.
|
||||||
|
---
|
||||||
|
Makefile.am | 2 --
|
||||||
|
configure.ac | 1 -
|
||||||
|
2 files changed, 3 deletions(-)
|
||||||
|
|
||||||
|
Index: libfole/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- libfole.orig/Makefile.am
|
||||||
|
+++ libfole/Makefile.am
|
||||||
|
@@ -3,7 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
|
||||||
|
SUBDIRS = \
|
||||||
|
include \
|
||||||
|
common \
|
||||||
|
- libcerror \
|
||||||
|
libfole \
|
||||||
|
po \
|
||||||
|
manuals \
|
||||||
|
@@ -53,7 +52,6 @@ lib: library
|
||||||
|
|
||||||
|
library:
|
||||||
|
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
(cd $(srcdir)/libfole && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
|
||||||
|
Index: libfole/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- libfole.orig/configure.ac
|
||||||
|
+++ libfole/configure.ac
|
||||||
|
@@ -97,7 +97,6 @@ dnl Generate Makefiles
|
||||||
|
AC_CONFIG_FILES([Makefile])
|
||||||
|
AC_CONFIG_FILES([include/Makefile])
|
||||||
|
AC_CONFIG_FILES([common/Makefile])
|
||||||
|
-AC_CONFIG_FILES([libcerror/Makefile])
|
||||||
|
AC_CONFIG_FILES([libfole/Makefile])
|
||||||
|
AC_CONFIG_FILES([po/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([po/Makevars])
|
Loading…
x
Reference in New Issue
Block a user