Skip to content

danielj7/finkinfofile

Repository files navigation

FinkInfoFile metadata importer for Spotlight
Copyright (c) 2006-2013 Daniel Johnson. All rights reserved.
[email protected]

This file is part of FinkInfoFile.

FinkInfoFile is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

FinkInfoFile is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with FinkInfoFile; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

Instructions for use:

1. Copy FinkInfoFile.mdimporter to ~/Library/Spotlight or /Library/Spotlight.

2. From Terminal type: mdimport /sw/fink
   (or whereever you keep your fink tree)

Spotlight will now index all fink *.info files.

The following metadata are currently indexed (in addition to the plain text content, but searching metadata is faster than content):
Title = Package
Authors = Maintainer
Email addresses = Maintainer
Description = Description
Instructions = DescDetail
Version = Epoch:Version-Revision

The included Xcode project will only build on 10.9+ but the resulting
importer should work on any Mac back to 10.7.

The latest version of this importer can be found at https://github.com/danielj7/finkinfofile.