# Generated from omnifocus-bugzilla-1.1.4.gem by gem2rpm -*- rpm-spec -*- %global gem_name omnifocus-bugzilla Name: rubygem-%{gem_name} Version: 1.1.4 Release: 1%{?dist} Summary: Plugin for omnifocus gem to provide bugzilla BTS synchronization License: MIT URL: https://github.com/seattlerb/omnifocus-bugzilla Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(minitest) >= 5.6 # BuildRequires: rubygem(minitest) < 6 # BuildRequires: rubygem(hoe) >= 3.13 # BuildRequires: rubygem(hoe) < 4 BuildArch: noarch %description Plugin for omnifocus gem to provide bugzilla BTS synchronization. The first time this runs it creates a yaml file in your home directory for the bugzilla url, username, and queries. The queries config is optional. If it is not included bugzilla-omnifocus will pull all active bugs assigned to the specified user. To use a custom query or multiple queries you must include a queries parameter in your config. The queries config is an array of strings. Each string is the query string portion of the bugzilla search results url. Its easiest to create your search in bugzilla and then paste the portion of the url after the question mark into the config file. Example: --- bugzilla_url: http://bugs/buglist.cgi username: aja queries: ["bug_status=NEW", "bug_status=CLOSED"]. %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} # ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files %dir %{gem_instdir} %{gem_instdir}/.autotest %{gem_instdir}/Manifest.txt %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/History.txt %doc %{gem_instdir}/README.txt %{gem_instdir}/Rakefile %changelog * Tue Apr 19 2022 mockbuilder - 1.1.4-1 - Initial package