|
|
8569d16 |
%define date 20070512
|
|
|
8569d16 |
|
|
|
8569d16 |
Name: libewf
|
|
|
8569d16 |
Version: 0
|
|
|
8569d16 |
Release: 1.%{date}%{?dist}
|
|
|
8569d16 |
Summary: Library for the Expert Witness Compression Format (EWF)
|
|
|
8569d16 |
|
|
|
8569d16 |
Group: System Environment/Libraries
|
|
|
8569d16 |
License: BSD
|
|
|
8569d16 |
URL: https://www.uitwisselplatform.nl/projects/libewf/
|
|
|
8569d16 |
Source0: https://www.uitwisselplatform.nl/frs/download.php/303/libewf-%{date}.tar.gz
|
|
|
8569d16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
8569d16 |
|
|
|
8569d16 |
BuildRequires: e2fsprogs-devel
|
|
|
8569d16 |
BuildRequires: openssl-devel
|
|
|
8569d16 |
BuildRequires: zlib-devel
|
|
|
8569d16 |
|
|
|
8569d16 |
|
|
|
8569d16 |
%description
|
|
|
8569d16 |
Libewf is a library for support of the Expert Witness Compression Format (EWF),
|
|
|
8569d16 |
it support both the SMART format (EWF-S01) and the EnCase format (EWF-E01).
|
|
|
8569d16 |
Libewf allows you to read and write media information within the EWF files.
|
|
|
8569d16 |
|
|
|
8569d16 |
%package -n ewftools
|
|
|
8569d16 |
Summary: Utilities for %{name}
|
|
|
8569d16 |
Group: Applications/System
|
|
|
8569d16 |
Requires: %{name} = %{version}-%{release}
|
|
|
8569d16 |
|
|
|
8569d16 |
%description -n ewftools
|
|
|
8569d16 |
The %{name}-utils package contains utilities for using %{name}.
|
|
|
8569d16 |
|
|
|
8569d16 |
%package devel
|
|
|
8569d16 |
Summary: Development files for %{name}
|
|
|
8569d16 |
Group: Development/Libraries
|
|
|
8569d16 |
Requires: %{name} = %{version}-%{release}
|
|
|
8569d16 |
Requires: pkgconfig
|
|
|
8569d16 |
|
|
|
8569d16 |
%description devel
|
|
|
8569d16 |
The %{name}-devel package contains libraries and header files for
|
|
|
8569d16 |
developing applications that use %{name}.
|
|
|
8569d16 |
|
|
|
8569d16 |
|
|
|
8569d16 |
%prep
|
|
|
8569d16 |
%setup -q -n %{name}-%{date}
|
|
|
8569d16 |
|
|
|
8569d16 |
|
|
|
8569d16 |
%build
|
|
|
8569d16 |
%configure --disable-static --enable-wide-character-type
|
|
|
8569d16 |
make %{?_smp_mflags}
|
|
|
8569d16 |
|
|
|
8569d16 |
|
|
|
8569d16 |
%install
|
|
|
8569d16 |
rm -rf $RPM_BUILD_ROOT
|
|
|
8569d16 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
8569d16 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
8569d16 |
|
|
|
8569d16 |
|
|
|
8569d16 |
%clean
|
|
|
8569d16 |
rm -rf $RPM_BUILD_ROOT
|
|
|
8569d16 |
|
|
|
8569d16 |
|
|
|
8569d16 |
%post -p /sbin/ldconfig
|
|
|
8569d16 |
|
|
|
8569d16 |
%postun -p /sbin/ldconfig
|
|
|
8569d16 |
|
|
|
8569d16 |
|
|
|
8569d16 |
%files
|
|
|
8569d16 |
%defattr(-,root,root,-)
|
|
|
8569d16 |
%doc AUTHORS COPYING NEWS
|
|
|
8569d16 |
%{_libdir}/*.so.*
|
|
|
8569d16 |
|
|
|
8569d16 |
%files -n ewftools
|
|
|
8569d16 |
%defattr(-,root,root,-)
|
|
|
8569d16 |
%{_bindir}/ewf*
|
|
|
8569d16 |
%{_mandir}/man1/*.gz
|
|
|
8569d16 |
|
|
|
8569d16 |
%files devel
|
|
|
8569d16 |
%defattr(-,root,root,-)
|
|
|
8569d16 |
%doc TESTS
|
|
|
8569d16 |
%{_includedir}/libewf.h
|
|
|
8569d16 |
%{_includedir}/libewf/
|
|
|
8569d16 |
%{_libdir}/*.so
|
|
|
8569d16 |
%{_libdir}/pkgconfig/libewf.pc
|
|
|
8569d16 |
%{_mandir}/man3/*.gz
|
|
|
8569d16 |
|
|
|
8569d16 |
%changelog
|
|
|
8569d16 |
* Fri Nov 1 2007 kwizart < kwizart at gmail.com > - 0-1.20070512
|
|
|
8569d16 |
- Initial package for Fedora
|
|
|
8569d16 |
|