source: projects/specs/trunk/f/file/file-5.05-vinenames.patch @ 2679

Revision 2679, 933 bytes checked in by inagaki, 13 years ago (diff)

update: dbusmenu, file

  • file-5.05/src/names.h

    old new  
    5555#define L_BCPL  11              /* BCPL */ 
    5656#define L_M4    12              /* M4 */ 
    5757#define L_PO    13              /* PO */ 
     58#define L_SPEC  14              /* Spec */ 
    5859 
    5960static const struct { 
    6061        char human[48]; 
     
    7475        { "BCPL program",                               "text/x-bcpl" }, 
    7576        { "M4 macro language pre-processor",            "text/x-m4" }, 
    7677        { "PO (gettext message catalogue)",             "text/x-po" }, 
     78        { "spec file",                                  "text/x-spec" }, 
    7779        { "cannot happen error on names.h/types",       "error/x-error" } 
    7880}; 
    7981 
     
    121123} names[] = { 
    122124        /* These must be sorted by eye for optimal hit rate */ 
    123125        /* Add to this list only after substantial meditation */ 
     126        {"Buildroot:",  L_SPEC, 2 }, 
     127        {"BuildRoot:",  L_SPEC, 2 }, 
     128        {"%prep:",      L_SPEC, 2 }, 
     129        {"%setup:",     L_SPEC, 2 }, 
    124130        {"msgid",       L_PO, 1 }, 
    125131        {"dnl",         L_M4, 2 }, 
    126132        {"import",      L_JAVA, 2 }, 
Note: See TracBrowser for help on using the repository browser.