8569d16
%define date 20070512
8569d16
8569d16
Name:           libewf
8569d16
Version:        0
4f23c97
Release:        2.%{date}%{?dist}
8569d16
Summary:        Library for the Expert Witness Compression Format (EWF)
8569d16
8569d16
Group:          System Environment/Libraries
4f23c97
License:        BSD with advertising
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
4f23c97
# Need to be compatible with "BSD with advertising"
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
4f23c97
* Mon Nov  5 2007 kwizart < kwizart at gmail.com > - 0-2.20070512
4f23c97
- Update License to BSD with advertising
4f23c97
4f23c97
* Fri Nov  2 2007 kwizart < kwizart at gmail.com > - 0-1.20070512
8569d16
- Initial package for Fedora
8569d16