diff --git a/.gitignore b/.gitignore
index 1bcca91..54b41ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,20 @@ debian/qasim/
*_qrc.rb
.bundle
vendor/bundle
+*.gem
+*.rbc
+.bundle
+.config
+.yardoc
+Gemfile.lock
+InstalledFiles
+_yardoc
+coverage
+doc/
+lib/bundler/man
+pkg
+rdoc
+spec/reports
+test/tmp
+test/version_tmp
+tmp
diff --git a/Gemfile b/Gemfile
index ff57b62..3bc8efd 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,9 @@
+source 'https://rubygems.org'
-source "https://rubygems.org"
+# Specify your gem's dependencies in qasim.gemspec
+gemspec
-gem "rdebug"
-gem "qtbindings"
-gem "thor"
+#gem "rdebug"
+#gem "qtbindings"
+#gem "qtbindings", "~> 4.8.3.0"
+#gem "thor"
diff --git a/Makefile b/Makefile
index 5a27935..e1d8764 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
NAME=qasim
+DESTDIR=/usr/local
+DEV_DESTDIR=tmp
CONFDIR=$(DESTDIR)/etc
BINDIR=$(DESTDIR)/usr/bin
MANDIR=$(DESTDIR)/usr/share/man
@@ -166,8 +168,8 @@ install-data:
## OTHER
-.PHONY: tmp/destdir
+.PHONY: destdir
dev-install:
- rm -fr tmp/destdir
- fakeroot $(MAKE) install DESTDIR=tmp/destdir
+ rm -fr $(DEV_DESTDIR)
+ fakeroot $(MAKE) install DESTDIR=$(DEV_DESTDIR)
diff --git a/README.md b/README.md
index e4fdaf1..b95639e 100644
--- a/README.md
+++ b/README.md
@@ -23,10 +23,36 @@ or
apt-get install ruby-qt4
-Alternatives
+Installation
------------
-* [Mountoid](http://kde-apps.org/content/show.php/Mountoid?content=115943)
+Add this line to your application's Gemfile:
+
+ gem 'qasim'
+
+And then execute:
+
+ $ bundle
+
+Or install it yourself as:
+
+ $ gem install qasim
+
+
+Usage
+-----
+
+TODO: Write usage instructions here
+
+
+Contributing
+------------
+
+1. Fork it ( http://github.com/glenux/qasim/fork )
+2. Create your feature branch (`git checkout -b my-new-feature`)
+3. Commit your changes (`git commit -am 'Add some feature'`)
+4. Push to the branch (`git push origin my-new-feature`)
+5. Create new Pull Request
Copyright & License
@@ -47,3 +73,9 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
+
+Alternatives
+------------
+
+* [Mountoid](http://kde-apps.org/content/show.php/Mountoid?content=115943)
+
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..2995527
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1 @@
+require "bundler/gem_tasks"
diff --git a/TODO.md b/TODO.md
index 424a14a..a505b0d 100644
--- a/TODO.md
+++ b/TODO.md
@@ -21,3 +21,8 @@ Global SSHFS Options
ssh_command='autossh -M 0'
+
+Fixes
+
+Use Rakefile
+ex: https://github.com/ryanmelt/qtbindings/blob/master/Rakefile
diff --git a/debian/copyright b/debian/copyright
index 92fb2f3..7d4f5c6 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,17 +1,15 @@
This package was debianized by Glenn ROLLAND on
Sat, 15 Mar 2008 17:11:00 +0100.
-It was downloaded from
+It was downloaded from http://glenux.github.io/qasim
Upstream Author(s):
-
-
+ Glenn Y. Rolland
Copyright:
-
-
+ Copyright (C) 2008-2014 Glenn Y. Rolland
License:
diff --git a/lib/qasim.rb b/lib/qasim.rb
index 877a907..1c141d4 100644
--- a/lib/qasim.rb
+++ b/lib/qasim.rb
@@ -1,5 +1,6 @@
+require 'qasim/version'
require 'qasim/constants'
module Qasim
diff --git a/lib/qasim/constants.rb b/lib/qasim/constants.rb
index 22ab788..9d84e64 100644
--- a/lib/qasim/constants.rb
+++ b/lib/qasim/constants.rb
@@ -1,8 +1,5 @@
module Qasim
APP_ICON_PATH = File.join QASIM_DATA_DIR, "icons"
- APP_NAME = "Qasim"
- APP_VERSION = "0.1"
- APP_DATE = "2012-08-02"
APP_SYSCONFIG_DIR = "/etc/qasim/maps.d"
diff --git a/lib/qasim/version.rb b/lib/qasim/version.rb
new file mode 100644
index 0000000..169b85c
--- /dev/null
+++ b/lib/qasim/version.rb
@@ -0,0 +1,5 @@
+module Qasim
+ APP_NAME = "Qasim"
+ APP_VERSION = "0.1"
+ APP_DATE = "2012-08-02"
+end
diff --git a/qasim.gemspec b/qasim.gemspec
new file mode 100644
index 0000000..02428c9
--- /dev/null
+++ b/qasim.gemspec
@@ -0,0 +1,25 @@
+# coding: utf-8
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'qasim/version'
+
+Gem::Specification.new do |spec|
+ spec.name = "qasim"
+ spec.version = Qasim::APP_VERSION
+ spec.authors = ["Glenn Y. Rolland"]
+ spec.email = ["glenux@glenux.net"]
+ spec.summary = %q{Easy mount solution for SSH filesystems.}
+ spec.description = %q{Qasim is a front-end for sshfs, the filesystem
+ client based on fuse and ssh. It provides automating and global settings
+ control for sshfs mounts.}
+ spec.homepage = "http://glenux.github.io/qasim"
+ spec.license = "GPL-3"
+
+ spec.files = `git ls-files`.split($/)
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+ spec.require_paths = ["lib"]
+
+ spec.add_development_dependency "bundler", "~> 1.5"
+ spec.add_development_dependency "rake"
+end