orion pushed to rubygem-semantic (f22). "Initial import"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Apr 19 23:35:39 UTC 2015


>From 70a2da8638d2ee2a672951fee026bde9c2f61a51 Mon Sep 17 00:00:00 2001
From: Orion Poplawski <orion at cora.nwra.com>
Date: Sun, 19 Apr 2015 17:35:11 -0600
Subject: Initial import


diff --git a/.gitignore b/.gitignore
index e69de29..66e5452 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/semantic-1.4.0.gem
diff --git a/rubygem-semantic.spec b/rubygem-semantic.spec
new file mode 100644
index 0000000..902cf71
--- /dev/null
+++ b/rubygem-semantic.spec
@@ -0,0 +1,73 @@
+%global gem_name semantic
+
+Name:           rubygem-%{gem_name}
+Version:        1.4.0
+Release:        3%{?dist}
+Summary:        Utility class for parsing, storing, and comparing versions
+
+License:        MIT
+URL:            https://rubygems.org/gems/%{gem_name}
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
+BuildArch:      noarch
+
+BuildRequires:  rubygems-devel
+BuildRequires:  rubygem(rspec)
+
+%description
+Semantic Version utility class for parsing, storing, and comparing versions.
+
+
+%package doc
+Summary:        Documentation for %{name}
+Requires:       rubygems
+
+%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
+gem build %{gem_name}.gemspec
+%gem_install
+
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/
+rm -r %{buildroot}%{gem_instdir}/spec
+
+
+%check
+rspec -Ilib spec
+
+
+%files
+%dir %{gem_instdir}
+%license %{gem_instdir}/LICENSE
+%doc %{gem_instdir}/README.md
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%{doc} %{gem_docdir}
+
+
+%changelog
+* Sat Apr 18 2015 Orion Poplawski <orion at cora.nwra.com> - 1.4.0-3
+- Fix typo
+- Make doc require rubygems
+- Mark doc %%{doc}
+- Use %%{gem_libdir}
+
+* Sun Apr 12 2015 Orion Poplawski <orion at cora.nwra.com> - 1.4.0-2
+- Fix license
+- Add BR rubygem(rspec)
+
+* Fri Apr 10 2015 Orion Poplawski <orion at cora.nwra.com> - 1.4.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..b61665c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4c44c16519cfef760bcb031f4391a151  semantic-1.4.0.gem
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/rubygem-semantic.git/commit/?h=f22&id=70a2da8638d2ee2a672951fee026bde9c2f61a51


More information about the scm-commits mailing list