commit e7f6e578cd2fd6cf645a0f74d9ae3b6c176a0bc675f1896f6a3aa2162802f798 Author: Stephan Kulow Date: Mon Jul 30 19:17:45 2012 +0000 - initial package OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-netrc?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/netrc-0.7.5.gem b/netrc-0.7.5.gem new file mode 100644 index 0000000..5f2b72a --- /dev/null +++ b/netrc-0.7.5.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fd5e4e365ae232ef49f60daeb7f3d67d991e067570a8a9471baa08ba59d36be +size 7680 diff --git a/rubygem-netrc.changes b/rubygem-netrc.changes new file mode 100644 index 0000000..98d6d8a --- /dev/null +++ b/rubygem-netrc.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Jul 30 19:17:39 UTC 2012 - coolo@suse.com + +- initial package + diff --git a/rubygem-netrc.spec b/rubygem-netrc.spec new file mode 100644 index 0000000..b3f1a30 --- /dev/null +++ b/rubygem-netrc.spec @@ -0,0 +1,79 @@ +# +# spec file for package rubygem-netrc +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +Name: rubygem-netrc +Version: 0.7.5 +Release: 0 +%define mod_name netrc +%define mod_full_name %{mod_name}-%{version} + +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: ruby-macros >= 1 +Url: https://github.com/geemus/netrc +Source: %{mod_full_name}.gem +Summary: Library to read and write netrc files. +License: CHECK(Ruby) +Group: Development/Languages/Ruby + +%description +This library can read and update netrc files, preserving formatting including +comments and whitespace. + +%package doc +Summary: RDoc documentation for %{mod_name} +Group: Development/Languages/Ruby +Requires: %{name} = %{version} + +%description doc +Documentation generated at gem installation time. +Usually in RDoc and RI formats. + +%package testsuite +Summary: Test suite for %{mod_name} +Group: Development/Languages/Ruby +Requires: %{name} = %{version} + +%description testsuite +Test::Unit or RSpec files, useful for developers. + +%prep +#gem_unpack +#if you need patches, apply them here and replace the # with a % sign in the surrounding lines +#gem_build + +%build + +%install +%gem_install -f + +%files +%defattr(-,root,root,-) +%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem +%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ +%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test +%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec + +%files doc +%defattr(-,root,root,-) +%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ + +%files testsuite +%defattr(-,root,root,-) +%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test + +%changelog