3 %bcond_with tests # build without tests
5 %define pkgname pkg-config
6 Summary: pkg-config module for Ruby
7 Summary(pl.UTF-8): Moduł pkg-config dla języka Ruby
12 Group: Development/Languages
13 Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
14 # Source0-md5: c32204c8d6f0d1cae84f6c67b3e0fd92
15 URL: https://github.com/ruby-gnome2/pkg-config
16 BuildRequires: pkgconfig
17 BuildRequires: rpm-rubyprov
18 BuildRequires: rpmbuild(macros) >= 1.656
20 BuildRequires: ruby-bundler
21 BuildRequires: ruby-rake
22 BuildRequires: ruby-test-unit
23 BuildRequires: ruby-test-unit-notify
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 pkg-config module for Ruby.
31 %description -l pl.UTF-8
32 Moduł pkg-config dla języka Ruby.
35 %setup -q -n %{pkgname}-%{version}
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir}
40 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %{ruby_vendorlibdir}/%{pkgname}.rb
49 %{ruby_vendorlibdir}/%{pkgname}