File: control

package info (click to toggle)
ruby-marcel 1.0.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 10,744 kB
  • sloc: xml: 7,041; ruby: 536; makefile: 7; javascript: 3
file content (39 lines) | stat: -rw-r--r-- 1,581 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Source: ruby-marcel
Section: ruby
Priority: optional
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Uploaders: Sruthi Chandran <srud@disroot.org>
Build-Depends: debhelper-compat (= 13),
               gem2deb (>= 1),
               rake,
               ruby-rack,
               ruby-nokogiri,
               ruby-byebug
Standards-Version: 4.5.1
Vcs-Git: https://salsa.debian.org/ruby-team/ruby-marcel.git
Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-marcel
Homepage: https://github.com/basecamp/marcel
Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Rules-Requires-Root: no

Package: ruby-marcel
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ${misc:Depends},
         ${ruby:Depends},
         ${shlibs:Depends}
Description: Simple mime type detection
 Marcel attempts to choose the most appropriate content type for a given file
 by looking at the binary data, the filename, and any declared type (perhaps
 passed as a request header).
 .
 By preference, the magic number data in any passed in file is used to determine
 the type. If this doesn't work, it uses the type gleaned from the filename,
 extension, and finally the declared type. If no valid type is found in any of
 these, "application/octet-stream" is returned.
 .
 Some types aren't easily recognised solely by magic number data. For example
 Adobe Illustrator files have the same magic number as PDFs (and can usually
 even be viewed in PDF viewers!). For these types, Marcel uses both the magic
 number data and the file name to work out the type.