forked from pool/libfguid
Accepting request 898703 from security:forensics
OBS-URL: https://build.opensuse.org/request/show/898703 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfguid?expand=0&rev=11
This commit is contained in:
commit
425891ca76
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/libfguid</param>
|
||||||
|
<param name="revision">c8bed42795056d108d9ae67848246ad2d71f01d7</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
libfguid-20210415.tar.xz
Normal file
3
libfguid-20210415.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:86c710cc1e77419bbb477e6ce27b5d3ed1592a0dfc175c80d1211e503baa2ff1
|
||||||
|
size 58684
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cd4618d030330dab2bb70dcd1ca2c66cda067705da43d9bc2b48654f7d019191
|
|
||||||
size 500741
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 12 22:21:09 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to snapshot 20210415 (c8bed427)
|
||||||
|
* No changelog was provided
|
||||||
|
- Add system-libs.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 15 19:51:42 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
Mon Apr 15 19:51:42 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libfguid
|
# spec file for package libfguid
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 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
|
||||||
@ -18,18 +18,19 @@
|
|||||||
|
|
||||||
Name: libfguid
|
Name: libfguid
|
||||||
%define lname libfguid1
|
%define lname libfguid1
|
||||||
%define timestamp 20180724
|
Version: 20210415
|
||||||
Version: 0~%timestamp
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A library for GUID/UUID data types
|
Summary: A library for GUID/UUID data types
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: https://github.com/libyal/libfguid/wiki
|
URL: https://github.com/libyal/libfguid
|
||||||
Source: https://github.com/libyal/libfguid/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: pkgconfig(libcerror) >= 20130609
|
BuildRequires: pkgconfig(libcerror) >= 20201121
|
||||||
BuildRequires: pkgconfig(libcstring) >= 20120425
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library for GUID/UUID data types. Part of the libyal family of libraries.
|
A library for GUID/UUID data types. Part of the libyal family of libraries.
|
||||||
@ -53,11 +54,12 @@ This subpackage contains libraries and header files for developing
|
|||||||
applications that want to make use of libfguid.
|
applications that want to make use of libfguid.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn libfguid-%timestamp
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-wide-character-type
|
if [ ! -e configure ]; then ./autogen.sh; fi
|
||||||
make %{?_smp_mflags}
|
%configure --disable-static
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -67,13 +69,10 @@ rm -f "%{buildroot}/%{_libdir}"/*.la
|
|||||||
%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 ChangeLog
|
|
||||||
%license COPYING
|
|
||||||
%{_libdir}/libfguid.so.1*
|
%{_libdir}/libfguid.so.1*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/libfguid*
|
%{_includedir}/libfguid*
|
||||||
%{_libdir}/libfguid.so
|
%{_libdir}/libfguid.so
|
||||||
%{_libdir}/pkgconfig/libfguid.pc
|
%{_libdir}/pkgconfig/libfguid.pc
|
||||||
|
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: libfguid/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- libfguid.orig/Makefile.am
|
||||||
|
+++ libfguid/Makefile.am
|
||||||
|
@@ -3,7 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
|
||||||
|
SUBDIRS = \
|
||||||
|
include \
|
||||||
|
common \
|
||||||
|
- libcerror \
|
||||||
|
libfguid \
|
||||||
|
po \
|
||||||
|
manuals \
|
||||||
|
@@ -53,7 +52,6 @@ lib: library
|
||||||
|
|
||||||
|
library:
|
||||||
|
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
- (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
(cd $(srcdir)/libfguid && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
|
||||||
|
|
||||||
|
Index: libfguid/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- libfguid.orig/configure.ac
|
||||||
|
+++ libfguid/configure.ac
|
||||||
|
@@ -91,7 +91,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([libfguid/Makefile])
|
||||||
|
AC_CONFIG_FILES([po/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([po/Makevars])
|
Loading…
Reference in New Issue
Block a user