[packages/libcarvpath] - pl, new URLs, up to rc8 (previous release was tagged as rc1); release 4
qboosh
qboosh at pld-linux.org
Sat Jul 20 19:47:21 CEST 2019
commit 6eda00c6c8262b8d3d7ba3140f9f7393742e211e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jul 20 19:49:10 2019 +0200
- pl, new URLs, up to rc8 (previous release was tagged as rc1); release 4
libcarvpath.spec | 60 +++++++++++++++++++++++++++++++++-----------------------
1 file changed, 35 insertions(+), 25 deletions(-)
---
diff --git a/libcarvpath.spec b/libcarvpath.spec
index 2cd092c..5502f35 100644
--- a/libcarvpath.spec
+++ b/libcarvpath.spec
@@ -1,54 +1,63 @@
Summary: Zero storage carving library
+Summary(pl.UTF-8): Biblioteka do sekcji bez zapisu danych
Name: libcarvpath
Version: 2.3.0
-Release: 3
+%define subver rc8
+Release: 4
License: LGPL v2.1+
Group: Libraries
-Source0: http://dl.sourceforge.net/carvpath/%{name}%{version}.tgz
-# Source0-md5: dac237151a2fed70f86024abe55f9d5b
+#Source0Download: https://github.com/DNPA/libcarvpath/releases
+Source0: https://github.com/DNPA/libcarvpath/archive/R%{version}%{subver}/%{name}-%{version}%{subver}.tar.gz
+# Source0-md5: 0deb0d1533c5eba85d0edb9d2bcc3ed6
Patch0: openssl.patch
URL: http://ocfa.sourceforge.net/libcarvpath/
-BuildRequires: cmake
-BuildRequires: sqlite3-devel
+BuildRequires: cmake >= 2.6
BuildRequires: openssl-devel
+BuildRequires: sqlite3-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
A simple translation library to map multi level fragment lists to
virtual paths and back. It is meant to be used by forensic carving
tools and by pseudo filesystems that give access to data in disk
-imaging file formats (raw,ewf,aff).
-LibCarvpath is a library for computer forensics carving tools. It
-provides the low level needs of zero-storage carving using virtual
-paths. These virtual file paths can be used in conjunction with the
-CarvFS filesystem.
+imaging file formats (raw, ewf, aff), like CarvFS filesystem.
+
+%description -l pl.UTF-8
+Prosta biblioteka transakcyjna, odwzorowująca wielopoziomowe listy
+fragmentów na wirtualne ściezki i z powrotem. Jest przeznaczona dla
+narzędzi do sekcji śledczej oraz pseudosystemy plików udostępniające
+dane w formatach plików obrazów dysków (raw, ewf, aff), jak np.
+system plików CarvFS.
%package devel
-Summary: Development libraries for %{name}
+Summary: Header file for libcarvpath library
+Summary(pl.UTF-8): Plik nagłówkowy biblioteki libcarvpath
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
-This package contains the header files, static libraries and
-development documentation for %{name}. If you like to develop programs
-using %{name}, you will need to install %{name}-devel.
+Header file for libcarvpath library, needed to develop programs using
+the library.
+
+%description devel -l pl.UTF-8
+Plik nagłówkowy biblioteki libcarvpath, potrzebny do tworzenia
+programów z użyciem tej biblioteki.
%prep
-%setup -q -n %{name}%{version}
+%setup -q -n %{name}-R%{version}%{subver}
%patch0 -p1
+
sed -e 's|/lib\b|/%{_lib}|g' -i src/CMakeLists.txt
%build
-export CFLAGS="%{rpmcflags}"
-export CXXFLAGS="%{rpmcflags}"
-%{__cmake} src \
- -DCMAKE_INSTALL_PREFIX="%{_prefix}"
-%{__make}
+install -d build
+cd build
+%cmake ../src
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
%clean
@@ -60,9 +69,10 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS NEWS README
-%attr(755,root,root) %{_libdir}/%{name}.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/%{name}.so.?
+%attr(755,root,root) %{_libdir}/libcarvpath.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcarvpath.so.2
%files devel
-%attr(755,root,root) %{_libdir}/%{name}.so
-%{_includedir}/%{name}.h
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcarvpath.so
+%{_includedir}/libcarvpath.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libcarvpath.git/commitdiff/6eda00c6c8262b8d3d7ba3140f9f7393742e211e
More information about the pld-cvs-commit
mailing list