valtri pushed to rubygem-uuid (epel7). "Initial import"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Mar 24 23:04:51 UTC 2015


>From 3b0d9ece7f3e3ca5369be7ab0e79c28a9341da4c Mon Sep 17 00:00:00 2001
From: Michal Fojtik <mfojtik at redhat.com>
Date: Mon, 8 Nov 2010 15:44:45 +0100
Subject: Initial import


diff --git a/.gitignore b/.gitignore
index e69de29..891357d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/uuid-2.3.1.gem
+/rubygem-uuid-require-rubygems-fix.patch
diff --git a/rubygem-uuid.spec b/rubygem-uuid.spec
new file mode 100644
index 0000000..e6a169f
--- /dev/null
+++ b/rubygem-uuid.spec
@@ -0,0 +1,83 @@
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname uuid
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary: Ruby UUID generator based on RFC 4122
+Name: rubygem-%{gemname}
+Version: 2.3.1
+Release: 2%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/assaf/uuid
+Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+Patch0: %{name}-require-rubygems-fix.patch
+Requires: ruby(abi) = %{rubyabi}
+Requires: rubygems
+Requires: rubygem(macaddr)
+BuildRequires: rubygems
+BuildRequires: rubygem(macaddr)
+BuildRequires: rubygem(rake)
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+UUID generator for producing universally unique identifiers based on RFC 4122
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires:%{name} = %{version}-%{release}
+
+%description doc
+Documentation for %{name}
+
+%prep
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+            --force --rdoc %{SOURCE0}
+mkdir -p %{buildroot}/%{_bindir}
+mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
+rmdir %{buildroot}%{gemdir}/bin
+find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
+(cd %{buildroot}/%{geminstdir} && /usr/bin/patch -p0 < %{PATCH0})
+
+%check
+pushd %{buildroot}/%{geminstdir}
+rake test --trace
+popd
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%dir %{geminstdir}
+%{_bindir}/uuid
+%{geminstdir}/lib
+%{geminstdir}/bin
+%doc %{geminstdir}/README.rdoc
+%doc %{geminstdir}/MIT-LICENSE
+%doc %{geminstdir}/CHANGELOG
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+%files doc
+%defattr(-, root, root, -)
+%{geminstdir}/test
+%{geminstdir}/Rakefile
+%{geminstdir}/%{gemname}.gemspec
+%{gemdir}/doc/%{gemname}-%{version}
+
+
+%changelog
+* Thu Nov 04 2010 Michal Fojtik <mfojtik at redhat.com> - 2.3.1-2
+- Fixed License
+
+* Wed Oct 13 2010 Michal Fojtik <mfojtik at redhat.com> - 2.3.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..0c9ec50 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+8a9741654c0930849c67c6d6139eec47  uuid-2.3.1.gem
+54f8036fd64f64e2e8b66dd28b63968f  rubygem-uuid-require-rubygems-fix.patch
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/rubygem-uuid.git/commit/?h=epel7&id=3b0d9ece7f3e3ca5369be7ab0e79c28a9341da4c

--
You received this message due to your preference settings at
https://apps.fedoraproject.org/notifications//fmnscmcommits.id.fedoraproject.org/email/29390


More information about the scm-commits mailing list