libewf/libewf.spec

112 lines
3.0 KiB
RPMSpec

Name: libewf
Version: 20201230
Release: 1mamba
Summary: A library to access the Expert Witness Compression Format (EWF)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://code.google.com/archive/p/libewf
Source: https://github.com/libyal/libewf/releases/download/%{version}/libewf-experimental-%{version}.tar.gz
Patch0: libewf-20201230-openssl-3.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libfuse-devel
BuildRequires: libopenssl-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%description
libewf is a library to access the Expert Witness Compression Format (EWF).
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
libewf is a library to access the Expert Witness Compression Format (EWF).
This package contains static libraries and header files needed for development.
%package -n ewf-tools
Summary: Tools for the Expert Witness Compression Format (EWF)
Group: System/Tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n ewf-tools
Tools using Libewf for support of the Expert Witness Compression Format (EWF), it support both the SMART format (EWF-S01) and the EnCase format (EWF-E01).
%debug_package
%prep
%setup -q
%patch0 -p1 -b .openssl-3
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libewf.so.*
%doc AUTHORS COPYING
#ChangeLog NEWS README
%files devel
%defattr(-,root,root)
%{_libdir}/libewf.a
%{_libdir}/libewf.la
%{_libdir}/libewf.so
%{_includedir}/*.h
%dir %{_includedir}/libewf
%{_includedir}/libewf/*.h
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/libewf.3.gz
%files -n ewf-tools
%defattr(-,root,root)
%{_bindir}/ewfdebug
%{_bindir}/ewfmount
%{_bindir}/ewfrecover
%{_bindir}/ewfacquire
%{_bindir}/ewfacquirestream
#%{_bindir}/ewfalter
%{_bindir}/ewfexport
%{_bindir}/ewfinfo
%{_bindir}/ewfverify
%{_mandir}/man1/ewfacquire.1*
%{_mandir}/man1/ewfacquirestream.1*
%{_mandir}/man1/ewfexport.1*
%{_mandir}/man1/ewfinfo.1*
%{_mandir}/man1/ewfmount.1*
%{_mandir}/man1/ewfrecover.1*
%{_mandir}/man1/ewfverify.1*
%changelog
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20201230-1mamba
- update to 20201230
* Thu Sep 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20140608-1mamba
- update to 20140608
* Thu Jan 03 2013 Automatic Build System <autodist@mambasoft.it> 20121209-1mamba
- update to 20121209
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 20100226-1mamba
- update to 20100226
* Fri Oct 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 20080501-1mamba
- update to 20080501
* Fri Sep 14 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 20070512-1mamba
- package created by autospec