def get_rpm_properties(input_file: str):
    """
    Summary:
        processes the structured name of the rpm file to get the
        arch, release, version, and name

    Parameters:
        input_file (str): the file

    Returns:
        dictionary containing arch, release, version, and name
    """

    #get properties from rpm_file name
    arch = input_file.rsplit('.', 2)[1]
    release = input_file.rsplit('.', 2)[0].rsplit('-', 1)[1]
    version = input_file.rsplit('.', 2)[0].rsplit('-', 1)[0].rsplit('-', 1)[1]
    name = input_file.rsplit('.', 2)[0].rsplit('-', 1)[0].rsplit('-', 1)[0]

    #put into dictionary
    output = {
        'arch': arch,
        'release': release,
        'version': version,
        'name': name
    }

    #output
    return output