Revision 12379,
1.4 KB
checked in by tomop, 4 years ago
(diff) |
updated 6 packages
authconfig-7.0.1-2
nmap-7.80-1
php74-7.4.5-1
procps-3.3.16-1
rubygem-json-2.3.0-2
wget-1.20.3-1
|
Rev | Line | |
---|
[12378] | 1 | %global gem_name json |
---|
| 2 | |
---|
| 3 | Summary: This is a JSON implementation as a Ruby extension in C |
---|
| 4 | Summary(ja): C言語で書かれたRuby用JSON拡張機能 |
---|
| 5 | Name: rubygem-%{gem_name} |
---|
| 6 | Version: 2.3.0 |
---|
[12379] | 7 | Release: 2%{?_dist_release} |
---|
[12378] | 8 | Group: Development/Libraries |
---|
| 9 | Vendor: Project Vine |
---|
| 10 | Distribution: Vine Linux |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | License: Ruby |
---|
| 14 | URL: https://rubygems.org/gems/%{gem_name}/ |
---|
| 15 | Source0: https://rubygems.org/downloads/%{gem_name}-%{version}.gem |
---|
| 16 | |
---|
| 17 | BuildRequires: ruby-devel ruby-rubygems-devel |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | This is a implementation of the JSON specification according to RFC 4627. |
---|
| 22 | You can think of it as a low fat alternative to XML, if you want to store |
---|
| 23 | data to disk or transmit it over a network rather than use a verbose |
---|
| 24 | markup language. |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -c -T -n %{name}-%{version} |
---|
| 29 | cp %{SOURCE0} ./ |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %build |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %install |
---|
| 36 | %{__rm} -rf %{buildroot} |
---|
| 37 | %gem_install -d %{buildroot}%{gem_current_dir} |
---|
| 38 | |
---|
| 39 | rm -f %{buildroot}%{gem_cache} |
---|
[12379] | 40 | rm -f %{buildroot}%{gem_extdir_mri}/{gem_make.out,mkmf.log} |
---|
[12378] | 41 | |
---|
| 42 | |
---|
| 43 | %clean |
---|
| 44 | %{__rm} -rf %{buildroot} |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %files |
---|
| 48 | %defattr(-,root,root) |
---|
| 49 | %{gem_spec} |
---|
| 50 | %{gem_instdir} |
---|
| 51 | %{gem_extdir_mri} |
---|
| 52 | %{gem_docdir} |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %changelog |
---|
[12379] | 56 | * Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-2 |
---|
| 57 | - added a missing file. |
---|
| 58 | |
---|
[12378] | 59 | * Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1 |
---|
| 60 | - initial build for Vine Linux. |
---|
Note: See
TracBrowser
for help on using the repository browser.