Accepting request 163819 from devel:libraries:c_c++
Joachim Metz has created a set of c libraries used by security tools. The libxxx packages often include basic applications sub-packages which are useful by themselves. OBS-URL: https://build.opensuse.org/request/show/163819 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libregf?expand=0&rev=1
This commit is contained in:
commit
aa7e37e4e0
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
Windows_NT_Registry_File_(REGF)_format.pdf
Normal file
3
Windows_NT_Registry_File_(REGF)_format.pdf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d0235ead6bb452cd2d215f3547bc268d699c11306fba994f8502327e4a4e26ea
|
||||||
|
size 199223
|
3
libregf-alpha-20130319.tar.xz
Normal file
3
libregf-alpha-20130319.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4ceeccc71d701956be4942977f4fe7527b42a22aa8da43be1604c113d2b832b0
|
||||||
|
size 748192
|
15
libregf.changes
Normal file
15
libregf.changes
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 3 21:37:14 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Cleanups: Set RPM group, license, summary and description
|
||||||
|
metadata; less greedy fileslists; remove unused %py_requires;
|
||||||
|
do not bloat shlib package with documentation
|
||||||
|
- Enable FUSE support
|
||||||
|
- Use system libraries instead of bundled ones where possible
|
||||||
|
- Name the tools package according to upstream's recommendation
|
||||||
|
- Drop unnecessary -fno-strict-aliasing
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 27 17:14:42 UTC 2013 - Greg.Freemyer@gmail.com
|
||||||
|
|
||||||
|
- initial package (version 0~20130319) for build.opensuse.org
|
141
libregf.spec
Normal file
141
libregf.spec
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libregf
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: libregf
|
||||||
|
%define lname libregf1
|
||||||
|
%define timestamp 20130319
|
||||||
|
Version: 0~%timestamp
|
||||||
|
Release: 0
|
||||||
|
Summary: Library to access Windows REGF-type Registry files
|
||||||
|
License: LGPL-3.0+ and GFDL-1.3+
|
||||||
|
Group: Productivity/File utilities
|
||||||
|
Url: http://code.google.com/p/libregf/
|
||||||
|
|
||||||
|
#DL-URL: http://libregf.googlecode.com/files/libregf-alpha-20130319.tar.gz
|
||||||
|
Source: %name-alpha-%timestamp.tar.xz
|
||||||
|
Source2: Windows_NT_Registry_File_(REGF)_format.pdf
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: xz
|
||||||
|
#BuildRequires: pkgconfig(libbfio) >= 20120426
|
||||||
|
#BuildRequires: pkgconfig(libcdata) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libcerror) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libcfile) >= 20120526
|
||||||
|
#BuildRequires: pkgconfig(libclocale) >= 20120425
|
||||||
|
BuildRequires: pkgconfig(libcnotify) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libcpath) >= 20120701
|
||||||
|
BuildRequires: pkgconfig(libcsplit) >= 20120701
|
||||||
|
#BuildRequires: pkgconfig(libcstring) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libcsystem) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libfcache) >= 20120425
|
||||||
|
#BuildRequires: pkgconfig(libfdata) >= 20120425
|
||||||
|
BuildRequires: pkgconfig(libfdatetime) >= 20120522
|
||||||
|
#BuildRequires: pkgconfig(libfguid) >= 20120426
|
||||||
|
#BuildRequires: pkgconfig(libfwnt) >= 20120426
|
||||||
|
#BuildRequires: pkgconfig(libfwsi) >= 20120426
|
||||||
|
#BuildRequires: pkgconfig(libuna) >= 20120425
|
||||||
|
BuildRequires: pkgconfig(fuse) >= 2.6
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
libregf is a library to access Windows Registry files of the REGF
|
||||||
|
type (a non-text representation).
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
Summary: Library to access Windows REGF-type Registry files
|
||||||
|
License: LGPL-3.0+
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %lname
|
||||||
|
libregf is a library to access Windows Registry files of the REGF
|
||||||
|
type (a non-text representation).
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: Utilities to inspect Windows REGF-type Registry files
|
||||||
|
License: LGPL-3.0+
|
||||||
|
Group: Productivity/File utilities
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
Several tools for inspecting Windows REGF-type Registry files.
|
||||||
|
Typically used for computer forensics.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for libregf, a Windows REGF-type Registry file parser
|
||||||
|
License: LGPL-3.0+ and GFDL-1.3+
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %lname = %version
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
libregf is a library to access Windows Registry files of the REGF
|
||||||
|
type (a non-text representation).
|
||||||
|
|
||||||
|
This subpackage contains libraries and header files for developing
|
||||||
|
applications that want to make use of %name.
|
||||||
|
|
||||||
|
%package -n python-%name
|
||||||
|
Summary: Python bindings for libregf, a library to access Windows REGF Registry files
|
||||||
|
License: LGPL-3.0+
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Requires: python
|
||||||
|
|
||||||
|
%description -n python-%name
|
||||||
|
libregf is a library to access Windows Registry files of the REGF
|
||||||
|
type (a non-text representation).
|
||||||
|
|
||||||
|
This subpackage contains the Python bindings for libregf.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -qn libregf-%timestamp
|
||||||
|
cp "%SOURCE2" .
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static --enable-wide-character-type --enable-python
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR="%buildroot"
|
||||||
|
find %buildroot -name '*.la' -delete
|
||||||
|
|
||||||
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n %lname
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS COPYING ChangeLog
|
||||||
|
%_libdir/libregf.so.*
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_bindir/regf*
|
||||||
|
%_mandir/man1/regf*.1*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc Windows_NT_Registry_File*.pdf
|
||||||
|
%_includedir/libregf.h
|
||||||
|
%_includedir/libregf/
|
||||||
|
%_libdir/libregf.so
|
||||||
|
%_libdir/pkgconfig/libregf.pc
|
||||||
|
%_mandir/man3/libregf.3*
|
||||||
|
|
||||||
|
%files -n python-%name
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS COPYING README
|
||||||
|
%python_sitearch/pyregf.so
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user