Package: file
Version: 5.22
Revision: 1
Description: Determine filetype (magic)
License: Restrictive/Distributable
Maintainer: Remi Mommsen <remigius.mommsen@cern.ch>
HomePage: http://www.darwinsys.com/file/
DescDetail: <<
 Identifies a file's type based on the contents then provides a
 description or a mime type.

 File tests each argument in an attempt to classify it. There are
 three sets of tests, performed in this order: filesystem tests,
 magic number tests, and language tests. The first test that
 succeeds causes the file type to be printed.
<<
DescUsage: <<
 The '-i' option causes the file command to output mime type strings
 rather than the more traditional human readable ones. Thus it may say
 "text/plain; charset=us-ascii" rather than "ascii text".
<<
DescPackaging: <<
 Original package maintainer was Carsten Klapp
 <carstenklapp@users.sourceforge.net> who provided most of
 the info file. I added the split-offs for the magic shared libraries
 and headers available since version 4.
<<
DocFiles: AUTHORS COPYING NEWS README

PatchScript: <<
 /usr/bin/sed -i '.bak' -e 's/} \*li;/};/' src/file.h
<<

ConfigureParams: <<
 --datadir='${prefix}/share' --mandir='${prefix}/share/man' --disable-dependency-tracking --enable-static
<<

Depends: %N-shlibs (=%v-%r)
Source: mirror:custom:%n-%v.tar.gz
CustomMirror: <<
 primary: ftp://ftp.astron.com/pub/file/
 eur-de: ftp://ftp.fu-berlin.de/unix/tools/file/
<<
Source-Checksum: SHA256(c4e3a8e44cb888c5e4b476e738503e37fb9de3b25a38c143e214bfc12109fc0b)

SplitOff: <<
 Package: %N-shlibs
 Description: Shared libraries for file magic
 Files: <<
  lib/libmagic.1.dylib
 <<
 Shlibs: <<
  %p/lib/libmagic.1.dylib 2.0.0 file (>=4.09-1)
 <<
<<

SplitOff2: <<
 Package: %N-dev
 Depends: %N-shlibs (=%v-%r)
 Description: Development package for file magic
 BuildDependsOnly: true
 Files: <<
  include/magic.h
  lib/libmagic.a
  lib/libmagic.la
  lib/libmagic.dylib
  share/man/man3/libmagic.3
 <<
<<