[rubygem-bcrypt] Initial commit

Josef Stribny jstribny at fedoraproject.org
Tue Apr 8 06:57:31 UTC 2014


commit b7d429fefd266aa40ca93e322c415f7a08d0dbf7
Author: Josef Stribny <jstribny at redhat.com>
Date:   Tue Apr 8 08:56:00 2014 +0200

    Initial commit

 .gitignore          |    1 +
 rubygem-bcrypt.spec |  130 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 132 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..218ff8a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/bcrypt-3.1.7.gem
diff --git a/rubygem-bcrypt.spec b/rubygem-bcrypt.spec
new file mode 100644
index 0000000..74d1880
--- /dev/null
+++ b/rubygem-bcrypt.spec
@@ -0,0 +1,130 @@
+%global gem_name bcrypt
+
+Summary: Wrapper around bcrypt() password hashing algorithm
+Name: rubygem-%{gem_name}
+Version: 3.1.7
+Release: 3%{?dist}
+Group: Development/Languages
+# ext/* - Public Domain
+# spec/TestBCrypt.java - ISC
+License: MIT and Public Domain and ISC
+URL: https://github.com/codahale/bcrypt-ruby
+Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
+Requires: ruby(rubygems)
+Requires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby-devel
+BuildRequires: rubygem(rspec)
+Provides: rubygem(%{gem_name}) = %{version}
+# bcrypt-ruby is renamed to brypt
+Provides: rubygem(bcrypt-ruby) = %{version}
+Provides: rubygem-bcrypt-ruby = %{version}-%{release}
+Obsoletes: rubygem-bcrypt-ruby <= 3.1.2-2
+
+%description
+bcrypt() is a sophisticated and secure hash algorithm designed by The
+OpenBSD project for hashing passwords. bcrypt-ruby provides a simple,
+humane wrapper for safely handling passwords.
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+Documentation for %{name}.
+
+%prep
+%setup -q -c -T
+%gem_install -n %{SOURCE0}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -pa .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+mkdir -p %{buildroot}%{gem_extdir_mri}/lib
+mv %{buildroot}%{gem_libdir}/bcrypt_ext.so %{buildroot}%{gem_extdir_mri}/lib
+
+# Prevent dangling symlink in -debuginfo (rhbz#878863).
+rm -rf %{buildroot}%{gem_instdir}/ext/
+
+%check
+pushd .%{gem_instdir}
+rspec spec
+popd
+
+%files
+%dir %{gem_instdir}
+%exclude %{gem_instdir}/.*
+%{gem_libdir}
+%{gem_extdir_mri}
+%exclude %{gem_cache}
+%{gem_spec}
+%doc %{gem_instdir}/COPYING
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/README.md
+%doc %{gem_instdir}/CHANGELOG
+%{gem_instdir}/Rakefile
+%{gem_instdir}/Gemfile*
+%{gem_instdir}/%{gem_name}.gemspec
+%{gem_instdir}/spec
+
+%changelog
+* Mon Apr 07 2014 Josef Stribny <jstribny at redhat.com> - 3.1.7-3
+- Fix typo, obsoletes, upstream URL
+
+* Thu Mar 20 2014 Josef Stribny <jstribny at redhat.com> - 3.1.7-2
+- Create -doc subpackage
+- Fix obsoletes
+
+* Tue Mar 18 2014 Josef Stribny <jstribny at redhat.com> - 3.1.7-1
+- Rename package to rubygem-bcrypt (this obsoletes bcrypt-ruby)
+- Update to bcrypt 3.1.7
+
+* Wed Nov 27 2013 Vít Ondruch <vondruch at redhat.com> - 3.1.2-2
+- Prevent dangling symlink in -debuginfo.
+
+* Mon Nov 11 2013 Josef Stribny <jstribny at redhat.com> - 3.1.2-1
+- Update to brypt-ruby 3.1.2
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.1-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Fri Mar 01 2013 Vít Ondruch <vondruch at redhat.com> - 3.0.1-7
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.1-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Thu Feb 02 2012 Vít Ondruch <vondruch at redhat.com> - 3.0.1-4
+- Fixed wrong provide.
+
+* Mon Jan 23 2012 Vít Ondruch <vondruch at redhat.com> - 3.0.1-3
+- Rebuilt for Ruby 1.9.3.
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Dec 14 2011 Vít Ondruch <vondruch at redhat.com> - 3.0.1-1
+- Update to bcrypt-ruby 3.0.1.
+
+* Mon Aug 08 2011 Mo Morsi <mmorsi at redhat.com> - 2.1.2-4
+- Replace BR(check) with BR
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org>
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Aug 24 2010 Mohammed Morsi <mmorsi at redhat.com> - 2.1.2-2
+- Updates / fixes based on review feedback
+- Fixed bcrypt_ext.so install location
+
+* Tue Aug 10 2010 Mohammed Morsi <mmorsi at redhat.com> - 2.1.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..e27cd3e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9e40a00623dc4c29be047bf961bcf484  bcrypt-3.1.7.gem


More information about the scm-commits mailing list