diff --git a/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..d8421fa --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,9 @@ +:preamble: |- + BuildRequires: pkgconfig + BuildRequires: augeas-devel + %if 0%{?suse_version} == 1110 + BuildRequires: libxml2-devel + %endif +:main: + :preamble: |- + Requires: augeas diff --git a/ruby-augeas-0.6.0.gem b/ruby-augeas-0.6.0.gem new file mode 100644 index 0000000..f3cb663 Binary files /dev/null and b/ruby-augeas-0.6.0.gem differ diff --git a/rubygem-ruby-augeas.changes b/rubygem-ruby-augeas.changes new file mode 100644 index 0000000..dd022f8 --- /dev/null +++ b/rubygem-ruby-augeas.changes @@ -0,0 +1,89 @@ +------------------------------------------------------------------- +Wed Oct 23 11:40:07 UTC 2024 - Josef Reidinger + +- Update to version 0.6.0 which includes mostly distribution patches +- remove arity-fix.patch as it is included in new release +- remove COPYING.patch as it is included in new release + +------------------------------------------------------------------- +Fri Jul 26 14:00:47 UTC 2024 - Josef Reidinger + +- remove gcc14.patch and apply proper fix that fix arity of method + (gh#hercules-team/ruby-augeas#17) + +------------------------------------------------------------------- +Fri Jul 26 13:26:47 UTC 2024 - Marcus Rueckert + +- Modify patch to also apply with -p1 COPYING.patch +- Add gcc14.patch don't enforce the check until upstream can fix the + code + +------------------------------------------------------------------- +Tue May 21 10:27:14 UTC 2024 - Dominique Leuenberger + +- Replace %patchN with %patch -P N: %patchN is deprecated. + +------------------------------------------------------------------- +Wed Mar 23 12:07:48 UTC 2016 - olaf@aepfle.de + +- Force fixed timestamps for patched gems (bsc#916047) + +------------------------------------------------------------------- +Fri May 15 08:43:14 UTC 2015 - kstreitova@suse.com + +- Submit systemsmanagement:puppet rubygem-ruby-augeas to + SUSE:SLE-12-SP1:GA (fate#316705) + +------------------------------------------------------------------- +Wed Jan 21 12:35:02 UTC 2015 - tampakrap@opensuse.org + +- Use SPDX license format +- Fix FSF address in license content +- Add libxml2-devel dependency only on suse_version == 1110 +- Add augeas runtime dependency + +------------------------------------------------------------------- +Sun Feb 16 14:11:53 UTC 2014 - kkaempf@suse.com + +- use new macros + +------------------------------------------------------------------- +Sat Apr 13 20:58:15 UTC 2013 - boris@steki.net + +- fixing build: + - added buildreqs augeas-devel and pkg-config requirements + +------------------------------------------------------------------- +Sat Apr 13 14:51:26 UTC 2013 - coolo@suse.com + +- updated to version 0.5.0 + - add libxml2 headers and library to Makefile + - add libxml2-devel build req to rpm spec + - split out header, add memstream utils from Augeas + - integrate with Travis CI + - Takefile: add gem authors metadata + - Augeas::transform: add .lns suffix if a module name is passed + to match aug_transform behaviour + - add Augeas::clearm + - add Augeas::context and Augeas::context= + - add Augeas::label + - add Augeas::rename + - add Augeas::srun + - add Augeas::text_retrieve + - add Augeas::text_store + +------------------------------------------------------------------- +Thu Jul 19 14:41:18 CEST 2012 - mvidner@suse.cz + +- Updated to 0.4.1, reportedly works better with Ruby 1.9 + - set can now set multiple elements at once + - expose aug_setm as Augeas#setm + - expose error functions through Augeas#error + - expose aug_span as Augeas#span + +------------------------------------------------------------------- +Thu Nov 11 12:29:17 UTC 2010 - mvidner@novell.com + +- Initial packaging +- 0.3.0 + diff --git a/rubygem-ruby-augeas.spec b/rubygem-ruby-augeas.spec new file mode 100644 index 0000000..8c2f62e --- /dev/null +++ b/rubygem-ruby-augeas.spec @@ -0,0 +1,64 @@ +# +# spec file for package rubygem-ruby-augeas +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + +Name: rubygem-ruby-augeas +Version: 0.6.0 +Release: 0 +%define mod_name ruby-augeas +%define mod_full_name %{mod_name}-%{version} + +Summary: Ruby bindings for augeas +License: LGPL-2.1-or-later +Group: Development/Languages/Ruby +URL: https://augeas.net/ +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +BuildRequires: %{rubydevel >= 1.8.1} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 +# MANUAL +BuildRequires: augeas-devel +BuildRequires: pkgconfig +%if 0%{?suse_version} == 1110 +BuildRequires: libxml2-devel +%endif +# /MANUAL + +%description +Provides bindings for augeas. + +%prep + +%build + +%install +%gem_install \ + --doc-files="COPYING NEWS README.md" \ + -f +%gem_cleanup + +%gem_packages + +%changelog