Accepting request 898055 from home:jengelh:forensics
- Update to snapshot 20210411 (b0c579ef) OBS-URL: https://build.opensuse.org/request/show/898055 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libcpath?expand=0&rev=8
This commit is contained in:
parent
441b773e78
commit
0c15607064
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/libcpath</param>
|
||||
<param name="revision">b0c579ef46cc170792bc358be092ded838070a21</param>
|
||||
<!-- see configure.ac -->
|
||||
<param name="versionformat">20210411</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
libcpath-20210411.tar.xz
Normal file
3
libcpath-20210411.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:414739f0c983e7980264adc39b9521bd7215a52bf53c4a9ca9918ead03d30b85
|
||||
size 73160
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:323ab868b6bc11947812c117fb253e38c84c5540c5b0f77f51ea31cac0c6b58a
|
||||
size 1005094
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 12 17:34:07 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to snapshot 20210411 (b0c579ef)
|
||||
* No changelog was provided
|
||||
- Add system-libs.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 27 00:48:03 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libcpath
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products 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,71 +12,70 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: libcpath
|
||||
%define lname libcpath1
|
||||
%define timestamp 20200623
|
||||
Version: 0~%timestamp
|
||||
Version: 20210411
|
||||
Release: 0
|
||||
Summary: Library for cross-platform C path functions
|
||||
License: LGPL-3.0+
|
||||
Summary: Library for C path functions
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: https://github.com/libyal/libcpath/wiki
|
||||
Source: https://github.com/libyal/libcpath/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz
|
||||
#BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libcerror) >= 20120425
|
||||
BuildRequires: pkgconfig(libclocale) >= 20120425
|
||||
BuildRequires: pkgconfig(libcsplit) >= 20120701
|
||||
BuildRequires: pkgconfig(libuna) >= 20130609
|
||||
BuildRequires: pkgconfig(libcstring) >= 20150101
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: https://github.com/libyal/libcpath
|
||||
Source: %name-%version.tar.xz
|
||||
Patch1: system-libs.patch
|
||||
BuildRequires: c_compiler
|
||||
BuildRequires: gettext-tools >= 0.18.1
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(libcerror) >= 20201121
|
||||
BuildRequires: pkgconfig(libclocale) >= 20200913
|
||||
BuildRequires: pkgconfig(libcsplit) >= 20200703
|
||||
BuildRequires: pkgconfig(libuna) >= 20201204
|
||||
|
||||
%description
|
||||
A library for cross-platform C path functions. Part of the libyal family of libraries.
|
||||
A library for C path functions. Part of the libyal family of libraries.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library for cross-platform C path functions
|
||||
Summary: Library for C path functions
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
A library for cross-platform C path functions. Part of the libyal family of libraries.
|
||||
A library for C path functions. Part of the libyal family of libraries.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libcpath, a cross-platform C path library
|
||||
Summary: Development files for libcpath, a C path library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
A library for cross-platform C path functions.
|
||||
A library for C path functions.
|
||||
|
||||
This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of libcpath.
|
||||
|
||||
%prep
|
||||
%setup -qn libcpath-%timestamp
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then ./autogen.sh; fi
|
||||
%configure --disable-static --enable-wide-character-type
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR="%buildroot"
|
||||
%make_install
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog
|
||||
%license COPYING
|
||||
%license COPYING*
|
||||
%_libdir/libcpath.so.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/libcpath*
|
||||
%_libdir/libcpath.so
|
||||
%_libdir/pkgconfig/libcpath.pc
|
||||
|
46
system-libs.patch
Normal file
46
system-libs.patch
Normal file
@ -0,0 +1,46 @@
|
||||
---
|
||||
Makefile.am | 8 --------
|
||||
configure.ac | 4 ----
|
||||
2 files changed, 12 deletions(-)
|
||||
|
||||
Index: libcpath/Makefile.am
|
||||
===================================================================
|
||||
--- libcpath.orig/Makefile.am
|
||||
+++ libcpath/Makefile.am
|
||||
@@ -3,10 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = \
|
||||
include \
|
||||
common \
|
||||
- libcerror \
|
||||
- libclocale \
|
||||
- libcsplit \
|
||||
- libuna \
|
||||
libcpath \
|
||||
po \
|
||||
manuals \
|
||||
@@ -56,10 +52,6 @@ lib: library
|
||||
|
||||
library:
|
||||
cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS)
|
||||
- cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS)
|
||||
- cd $(srcdir)/libclocale && $(MAKE) $(AM_MAKEFLAGS)
|
||||
- cd $(srcdir)/libcsplit && $(MAKE) $(AM_MAKEFLAGS)
|
||||
- cd $(srcdir)/libuna && $(MAKE) $(AM_MAKEFLAGS)
|
||||
cd $(srcdir)/libcpath && $(MAKE) $(AM_MAKEFLAGS)
|
||||
cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS)
|
||||
|
||||
Index: libcpath/configure.ac
|
||||
===================================================================
|
||||
--- libcpath.orig/configure.ac
|
||||
+++ libcpath/configure.ac
|
||||
@@ -109,10 +109,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([libclocale/Makefile])
|
||||
-AC_CONFIG_FILES([libcsplit/Makefile])
|
||||
-AC_CONFIG_FILES([libuna/Makefile])
|
||||
AC_CONFIG_FILES([libcpath/Makefile])
|
||||
AC_CONFIG_FILES([po/Makefile.in])
|
||||
AC_CONFIG_FILES([po/Makevars])
|
Loading…
Reference in New Issue
Block a user