Parcourir la source

rubygem-json-2.3.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12378 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop il y a 4 ans
Parent
commit
20c1f6af65
1 fichiers modifiés avec 57 ajouts et 0 suppressions
  1. 57 0
      r/rubygem-json/rubygem-json-vl.spec

+ 57 - 0
r/rubygem-json/rubygem-json-vl.spec

@@ -0,0 +1,57 @@
+%global gem_name json
+
+Summary:        This is a JSON implementation as a Ruby extension in C
+Summary(ja):    C言語で書かれたRuby用JSON拡張機能
+Name:           rubygem-%{gem_name}
+Version:        2.3.0
+Release:        1%{?_dist_release}
+Group:          Development/Libraries
+Vendor:         Project Vine
+Distribution:   Vine Linux
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+
+License:        Ruby
+URL:            https://rubygems.org/gems/%{gem_name}/
+Source0:        https://rubygems.org/downloads/%{gem_name}-%{version}.gem
+
+BuildRequires:  ruby-devel ruby-rubygems-devel
+
+
+%description
+This is a implementation of the JSON specification according to RFC 4627.
+You can think of it as a low fat alternative to XML, if you want to store
+data to disk or transmit it over a network rather than use a verbose
+markup language.
+
+
+%prep
+%setup -c -T -n %{name}-%{version}
+cp %{SOURCE0} ./
+
+
+%build
+
+
+%install
+%{__rm} -rf %{buildroot}
+%gem_install -d %{buildroot}%{gem_current_dir}
+
+rm -f %{buildroot}%{gem_cache}
+rm -f %{buildroot}%{gem_extdir_mri}/{gem.build_complete,gem_make.out,mkmf.log}
+
+
+%clean
+%{__rm} -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root)
+%{gem_spec}
+%{gem_instdir}
+%{gem_extdir_mri}
+%{gem_docdir}
+
+
+%changelog
+* Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1
+- initial build for Vine Linux.