# Generated from treequel-1.12.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name treequel Name: rubygem-%{gem_name} Version: 1.12.0 Release: 1%{?dist} Summary: Treequel is an LDAP toolkit for Ruby License: BSD-3-Clause URL: http://deveiate.org/projects/Treequel Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.2 # BuildRequires: rubygem(hoe-mercurial) >= 1.4 # BuildRequires: rubygem(hoe-mercurial) < 2 # BuildRequires: rubygem(hoe-deveiate) >= 0.9 # BuildRequires: rubygem(hoe-deveiate) < 1 # BuildRequires: rubygem(hoe-highline) >= 0.2 # BuildRequires: rubygem(hoe-highline) < 1 # BuildRequires: rubygem(rspec) >= 2.8 # BuildRequires: rubygem(rspec) < 3 # BuildRequires: rubygem(sequel) >= 3.38 # BuildRequires: rubygem(hoe) >= 3.16 # BuildRequires: rubygem(hoe) < 4 BuildArch: noarch %description Treequel is an LDAP toolkit for Ruby. It is intended to allow quick, easy access to LDAP directories in a manner consistent with LDAP's hierarchical, free-form nature. It's inspired by and modeled after [Sequel][sequel], a kick-ass database library. For more information on how to use it, check out the [manual](manual/index_md.html). %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.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}/ %check pushd .%{gem_instdir} # rspec spec popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.gemtest %license %{gem_instdir}/LICENSE %{gem_instdir}/Manifest.txt %{gem_libdir} %{gem_instdir}/misc %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/ChangeLog %doc %{gem_instdir}/History.md %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/examples %{gem_instdir}/spec %changelog * Thu Sep 16 2021 mockbuilder - 1.12.0-1 - Initial package