diff --git a/.gitignore b/.gitignore
index e69de29..c4b6d72 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/org.eclipse.tm.terminal-4ea71eb57ec10177e6d0caf3429196e4882562b9.tar.xz
diff --git a/eclipse-tm-terminal.spec b/eclipse-tm-terminal.spec
new file mode 100644
index 0000000..ef24dde
--- /dev/null
+++ b/eclipse-tm-terminal.spec
@@ -0,0 +1,53 @@
+%global git_tag 4ea71eb57ec10177e6d0caf3429196e4882562b9
+
+Name: eclipse-tm-terminal
+Version: 4.0.0
+Release: 0.2.git4ea71eb%{?dist}
+Summary: Terminal plugin for Eclipse
+
+License: EPL
+URL: https://www.eclipse.org/tm/
+Source0: http://git.eclipse.org/c/tm/org.eclipse.tm.terminal.git/snapshot/org.eclipse.tm.terminal-%{git_tag}.tar.xz
+BuildArch: noarch
+
+BuildRequires: maven-local
+BuildRequires: tycho-extras
+BuildRequires: eclipse-license
+BuildRequires: eclipse-cdt
+
+
+%description
+An integrated Eclipse View for the local command prompt (console) or
+remote hosts (SSH, Telnet, Serial).
+
+%prep
+%setup -q -n org.eclipse.tm.terminal-%{git_tag}
+
+#drop due to gnu.io dep not available
+%pom_disable_module plugins/org.eclipse.tm.terminal.connector.serial
+%pom_disable_module features/org.eclipse.tm.terminal.connector.serial.feature
+%pom_disable_module features/org.eclipse.tm.terminal.connector.serial.sdk.feature
+sed -i -e 's|||g' features/org.eclipse.tm.terminal.feature/feature.xml
+sed -i -e 's|||g' features/org.eclipse.tm.terminal.sdk.feature/feature.xml
+%pom_disable_module repos/org.eclipse.tm.terminal.repo
+
+%pom_xpath_remove "pom:plugin[pom:artifactId[text()='tycho-packaging-plugin']]/pom:configuration" admin/pom-config.xml
+
+sed -i -e "s|feature.properties,\\\|feature.properties|g" features/org.eclipse.tm.terminal.view.feature/build.properties
+sed -i -e "s|p2.inf||g" features/org.eclipse.tm.terminal.view.feature/build.properties
+
+
+%build
+%mvn_build -j
+
+%install
+%mvn_install
+
+%files -f .mfiles
+
+%changelog
+* Tue Jun 2 2015 Alexander Kurtakov 4.0.0-0.2.git4ea71eb
+- Fix review comments.
+
+* Tue Jun 2 2015 Alexander Kurtakov 4.0.0-0.1.git4ea71eb
+- Initial packaging
diff --git a/sources b/sources
index e69de29..1d43729 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2a27634fee60da07b0c72cbe22806437 org.eclipse.tm.terminal-4ea71eb57ec10177e6d0caf3429196e4882562b9.tar.xz