# Generated from mokio-2.0.8.gem by gem2rpm -*- rpm-spec -*- %global gem_name mokio Name: rubygem-%{gem_name} Version: 2.0.8 Release: 1%{?dist} Summary: Mokio is a Content Management System that allows creation of sophisticated websites. Provides administration panel for adding content to your site, desiging menu structure and managing any kind of element that you wish to include on your site License: AGPL-3.0 URL: http://www.mokio.org Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(rspec) >= 3.9.0 # BuildRequires: rubygem(rspec) < 3.10 # BuildRequires: rubygem(capybara) >= 2.18.0 # BuildRequires: rubygem(capybara) < 2.19 # BuildRequires: rubygem(factory_bot) >= 5.1.1 # BuildRequires: rubygem(factory_bot) < 5.2 BuildArch: noarch %description Mokio is a Content Management System that allows creation of sophisticated websites. It consists maily of administration panel for your desired website. It provides the following types of content: Article (piece of text with pictures, lists, links, etc.), Picture Gallery (easily managed article with a number of photos - thumbs and edition provided), Movie Gallery (article with links to Dailymotion, Vimeo and Youtube movies - thumbs and edition provided), Contact Page with Google map and contact form. Apart from content it is possible to manage menu structure of your website for each language and defined position (part of the screen). If this is not enough for what you need, you can also include pieces of HTML code that should be shared by some (or all) subpages - called HTML Blocks. You can define on which part of the page, these blocks should be displayed. Mokio provides also administration panel for javascripts, languages and backend users. Beside Mokio itself, there are various gems dedicated for Mokio, that extends its core functionality. Visit: http://www.mokio.org Folow us on facebook: https://www.facebook.com/mokioCMS. %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} %license %{gem_instdir}/MIT-LICENSE %{gem_instdir}/app %{gem_instdir}/config %{gem_instdir}/db %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %{gem_instdir}/Rakefile %{gem_instdir}/spec %changelog * Tue Sep 14 2021 mockbuilder - 2.0.8-1 - Initial package