This file is indexed.

/usr/lib/rpm/desktop-file.prov is in rpm 4.12.0.2+dfsg1-2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
#
# Transform desktop mimetype info into RPM mimehandler(type) provides
#
# Author: Richard Hughes <richard@hughsie.com>
# Based on other provides scripts from RPM

OLD_IFS="$IFS"
while read instfile ; do
	case "$instfile" in
	*.desktop)
		if ! grep -q '^Type=Application$' "$instfile"; then continue; fi
		if ! grep -q '^Exec=' "$instfile"; then continue; fi
		echo "application()"
		echo "application(${instfile##*/applications/})"
		mime=`grep '^MimeType=' "$instfile" | cut -d'=' -f2`
		IFS=';'
		for type in $mime ; do
			echo 'mimehandler('$type')'
		done
		;;
	esac
done
IFS=$OLD_IFS