PATH:
usr
/
lib
/
rpm
#!/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
[-] perl.req
[edit]
[-] brp-strip-comment-note
[edit]
[-] check-rpaths-worker
[edit]
[-] macros
[edit]
[-] macros.perl
[edit]
[-] python-macro-helper
[edit]
[-] macros.php
[edit]
[-] script.req
[edit]
[-] rpmdeps
[edit]
[+]
fileattrs
[-] pkgconfigdeps.sh
[edit]
[-] rpm.supp
[edit]
[+]
platform
[-] brp-compress
[edit]
[-] ocaml-find-provides.sh
[edit]
[-] metainfo.prov
[edit]
[-] debugedit
[edit]
[-] rpmrc
[edit]
[-] check-files
[edit]
[-] check-buildroot
[edit]
[-] brp-strip-shared
[edit]
[-] brp-python-bytecompile
[edit]
[-] ocaml-find-requires.sh
[edit]
[-] brp-strip
[edit]
[-] mono-find-provides
[edit]
[-] tgpg
[edit]
[-] rpm.daily
[edit]
[-] pythondeps.sh
[edit]
[-] find-debuginfo.sh
[edit]
[-] elfdeps
[edit]
[+]
..
[-] desktop-file.prov
[edit]
[-] debuginfo.prov
[edit]
[-] brp-java-gcjcompile
[edit]
[-] brp-strip-static-archive
[edit]
[-] perl.prov
[edit]
[-] mkinstalldirs
[edit]
[-] fontconfig.prov
[edit]
[-] find-provides
[edit]
[-] libtooldeps.sh
[edit]
[-] mono-find-requires
[edit]
[-] macros.python
[edit]
[-] pythondistdeps.py
[edit]
[-] brp-python-hardlink
[edit]
[-] rpmdb_loadcvt
[edit]
[-] check-rpaths
[edit]
[-] find-requires
[edit]
[-] rpm2cpio.sh
[edit]
[+]
macros.d
[-] rpmpopt-4.14.2.1
[edit]
[-] sepdebugcrcfix
[edit]
[-] find-lang.sh
[edit]
[-] check-prereqs
[edit]