# Generated from zenweb-3.11.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name zenweb Name: rubygem-%{gem_name} Version: 3.11.1 Release: 1%{?dist} Summary: Zenweb is a set of classes/tools for organizing and formating a website License: MIT URL: https://github.com/seattlerb/zenweb Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(hoe) >= 4.2 # BuildRequires: rubygem(hoe) < 5 BuildArch: noarch %description Zenweb is a set of classes/tools for organizing and formating a website. It is website oriented rather than webpage oriented, unlike most rendering tools. It is content oriented, rather than style oriented, unlike most rendering tools. It uses a rubygems plugin system to provide a very flexible, and powerful system. Zenweb 3 was inspired by jekyll. The filesystem layout is similar to jekyll's layout, but zenweb isn't focused on blogs. It can do any sort of website just fine. Zenweb uses rake to handle dependencies. As a result, scanning a website and regenerating incrementally is not just possible, it is blazingly fast. %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} # Run the test suite. popd %files %dir %{gem_instdir} %{gem_instdir}/.autotest %{gem_instdir}/Manifest.txt %{gem_instdir}/example-site %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/History.rdoc %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %{gem_instdir}/test %changelog * Thu Aug 22 2024 mockbuilder - 3.11.1-1 - Initial package