[tmuxinator/f21] first import of tmuxinator for Fedora

Adam Miller maxamillion at fedoraproject.org
Thu Jul 10 15:49:37 UTC 2014


commit 6c7ac60fbe26f7cf0ab684844ae1c9cfef3c98b5
Author: Adam Miller <admiller at redhat.com>
Date:   Thu Jul 10 10:49:53 2014 -0500

    first import of tmuxinator for Fedora

 .gitignore      |    1 +
 sources         |    1 +
 tmuxinator.spec |  112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 114 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3bec66d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tmuxinator-0.6.8.gem
diff --git a/sources b/sources
index e69de29..36c40ef 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+adcb318a93d35e3b3998adfb6a000bcc  tmuxinator-0.6.8.gem
diff --git a/tmuxinator.spec b/tmuxinator.spec
new file mode 100644
index 0000000..0f069bf
--- /dev/null
+++ b/tmuxinator.spec
@@ -0,0 +1,112 @@
+# Based on spec file originally generated by gem2rpm
+%global gem_name tmuxinator
+
+Name: %{gem_name}
+Version: 0.6.8
+Release: 1%{?dist}
+Summary: Create and manage complex tmux sessions easily
+Group: Development/Languages
+License: MIT
+URL: https://github.com/aziz/tmuxinator
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(release)
+Requires: ruby(rubygems) >= 1.8.23
+Requires: rubygem(thor) >= 0.18.0
+Requires: rubygem(erubis) 
+Requires: tmux
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel >= 1.8.23
+BuildRequires: ruby 
+BuildRequires: rubygem(rspec) >= 2.14.0
+# BuildRequires: rubygem(simplecov) 
+# BuildRequires: rubygem(coveralls) 
+# BuildRequires: rubygem(awesome_print) 
+# BuildRequires: rubygem(pry) 
+# BuildRequires: rubygem(pry-nav) 
+# BuildRequires: rubygem(factory_girl) 
+BuildArch: noarch
+Provides: rubygem(%{gem_name}) = %{version}
+
+%description
+Create and manage complex tmux sessions easily.
+
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}.
+
+%prep
+gem unpack %{SOURCE0}
+
+%setup -q -D -T -n  %{gem_name}-%{version}
+
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+
+%build
+# Create the gem as gem install only works on a gem file
+gem build %{gem_name}.gemspec
+
+# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
+# by default, so that we can move it into the buildroot in %%install
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+
+mkdir -p %{buildroot}%{_bindir}
+cp -a .%{_bindir}/* \
+        %{buildroot}%{_bindir}/
+
+find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
+
+# FIXME: Test suite not currently run because it requires rubygem-coveralls
+# which at the time of this writing is not available in Fedora.
+#
+# Run the test suite
+#%check
+#pushd .%{gem_instdir}
+#rspec
+#popd
+
+%files
+%doc %{gem_instdir}/CHANGELOG.md
+%doc %{gem_instdir}/CONTRIBUTING.md
+%doc %{gem_instdir}/Gemfile
+%doc %{gem_instdir}/LICENSE
+%doc %{gem_instdir}/README.md
+%doc %{gem_instdir}/Rakefile
+%doc %{gem_instdir}/tmuxinator.gemspec
+
+%dir %{gem_instdir}
+%{gem_instdir}
+%{_bindir}/mux
+%{_bindir}/tmuxinator
+%{gem_instdir}/bin
+%{gem_libdir}
+%exclude %{gem_cache}
+%exclude %{gem_instdir}/.gitignore
+%exclude %{gem_instdir}/.rspec
+%exclude %{gem_instdir}/.travis.yml
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+
+%changelog
+* Tue Jul 08 2014 Adam Miller <maxamillion at fedoraproject.org> - 0.6.8-1
+- Update to latest upstream
+- Add tests
+
+* Tue Jan 28 2014 Adam Miller <maxamillion at fedoraproject.org> - 0.6.6-2
+- Add macros to handle RHEL builds for EPEL
+
+* Thu Nov 21 2013 Adam Miller <maxamillion at fedoraproject.org> - 0.6.6-1
+- Initial package for Fedora


More information about the scm-commits mailing list