1 | %define origname pkg-config |
---|
2 | %define ver 1.1.6 |
---|
3 | %define rel 1 |
---|
4 | |
---|
5 | Summary: a pkg-config implementation by Ruby |
---|
6 | Summary(ja): Ruby のために実装された pkg-config |
---|
7 | Name: ruby-%{origname} |
---|
8 | Version: %{ver} |
---|
9 | Release: %{rel}%{?_dist_release} |
---|
10 | License: LGPLv2.1+ |
---|
11 | Group: System Environment/Libraries |
---|
12 | URL: https://github.com/rcairo/pkg-config |
---|
13 | Source0: %{origname}-%{version}.tar.gz |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
15 | BuildArch: noarch |
---|
16 | |
---|
17 | BuildRequires: ruby-devel >= 1.8 |
---|
18 | Requires: ruby >= 1.8 |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | |
---|
23 | %description |
---|
24 | A pkg-config implementation by Ruby. |
---|
25 | |
---|
26 | %prep |
---|
27 | %setup -q -n %{origname}-%{version} |
---|
28 | |
---|
29 | %build |
---|
30 | |
---|
31 | %install |
---|
32 | %__rm -rf $RPM_BUILD_ROOT |
---|
33 | %__mkdir_p $RPM_BUILD_ROOT%{ruby_vendorlibdir}/pkg-config |
---|
34 | %__install -m0644 lib/pkg-config.rb $RPM_BUILD_ROOT%{ruby_vendorlibdir} |
---|
35 | %__install -m0644 lib/pkg-config/version.rb $RPM_BUILD_ROOT%{ruby_vendorlibdir}/pkg-config |
---|
36 | |
---|
37 | %clean |
---|
38 | %__rm -rf $RPM_BUILD_ROOT |
---|
39 | |
---|
40 | %files |
---|
41 | %defattr(-,root,root,-) |
---|
42 | %doc LGPL-2.1 NEWS README.rdoc |
---|
43 | %{ruby_vendorlibdir}/pkg-config.rb |
---|
44 | %dir %{ruby_vendorlibdir}/pkg-config |
---|
45 | %{ruby_vendorlibdir}/pkg-config/version.rb |
---|
46 | |
---|
47 | |
---|
48 | %changelog |
---|
49 | * Fri Sep 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-1 |
---|
50 | - update to 1.1.6 |
---|
51 | |
---|
52 | * Wed Jul 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.5-1 |
---|
53 | - update to 1.1.5 |
---|
54 | |
---|
55 | * Sat Dec 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.4-2 |
---|
56 | - rebuild with ruby-2.0.0.353 |
---|
57 | |
---|
58 | * Sun Jan 13 2013 IWAI, Masaharu <iwai@alib.jp> 1.1.4-1 |
---|
59 | - initial build for Vine Linux |
---|
60 | |
---|