| 1 | Source: liblibrary-callnumber-lc-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: gregor herrmann <[email protected]> |
| 4 | Section: perl |
| 5 | Testsuite: autopkgtest-pkg-perl |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper-compat (= 13), |
| 8 | libmodule-build-perl |
| 9 | Build-Depends-Indep: perl |
| 10 | Standards-Version: 3.9.6 |
| 11 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/liblibrary-callnumber-lc-perl |
| 12 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/liblibrary-callnumber-lc-perl.git |
| 13 | Homepage: https://metacpan.org/release/Library-CallNumber-LC |
| 14 | |
| 15 | Package: liblibrary-callnumber-lc-perl |
| 16 | Architecture: all |
| 17 | Depends: ${misc:Depends}, |
| 18 | ${perl:Depends} |
| 19 | Multi-Arch: foreign |
| 20 | Description: utility functions to deal with Library-of-Congress call numbers |
| 21 | Library::CallNumber::LC is mostly designed to do call number normalization, |
| 22 | with the following goals: |
| 23 | . |
| 24 | * The normalized call numbers are comparable with each other, for proper |
| 25 | sorting |
| 26 | * The normalized call number is a short as possible, so left-anchored |
| 27 | wildcard searches are possible (e.g., searching on "A11*" should give you |
| 28 | all the A11 call numbers) |
| 29 | * A range defined by start_of_range and end_of_range should be correct, |
| 30 | assuming that the string given for the end of the range is, in fact, a |
| 31 | left prefix |
| 32 | . |
| 33 | That last point needs some explanation. The idea is that if someone gives a |
| 34 | range of, say, A-AZ, what they really mean is A - AZ9999.99. The end_of_range |
| 35 | method pads the given call number out to three cutters if need be. There is no |
| 36 | attempt to make end_of_range normalization correspond to anything in real life. |