                                   [clj-webdriver "0.6.1"]
                                   [com.github.detro.ghostdriver/phantomjsdriver "1.1.0"]
                                   [midje "1.5.1"]]}}
-  :target-path "target/%s"
 
   :rpm {:name "northern-hemisphere"
         :summary "Northern Hemisphere Web Application"

  (into {} (map #(let [key %] [key (System/getenv key)]) keys)))

(defproject northern-hemisphere version
  :description "Northern Hemisphere - web app"
  :url "http://www.ihakula.com"
  :license {:name "Eclipse Public License"

        :preremove {:scriptFile "src/rpm/pre-uninstall"}
        :mappings [{:directory "/usr/lib/northern-hemisphere"
                    :sources {:source
                              [{:location ~(str "target/northern-hemisphere-" version "-standalone.jar")
                                :destination "northern-hemisphere-standalone.jar"}]}}
                   {:directory "/usr/bin"
                    :filemode "755"
