Browse Source

new: ruby-pkg-config 1.1.4-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7328 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 11 years ago
parent
commit
57feab5895
1 changed files with 51 additions and 0 deletions
  1. 51 0
      r/ruby-pkg-config/ruby-pkg-config-vl.spec

+ 51 - 0
r/ruby-pkg-config/ruby-pkg-config-vl.spec

@@ -0,0 +1,51 @@
+%define origname pkg-config
+%define ver 1.1.4
+%define rel 1
+
+Summary: a pkg-config implementation by Ruby
+Summary(ja): Ruby のために実装された pkg-config
+Name: ruby-%{origname}
+Version: %{ver}
+Release: %{rel}%{?_dist_release}
+License: LGPLv2.1+
+Group: System Environment/Libraries
+URL: https://github.com/rcairo/pkg-config
+Source0: %{origname}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildArch: noarch
+
+BuildRequires: ruby-devel >= 1.8
+Requires: ruby >= 1.8
+
+Vendor: Project Vine
+Distribution: Vine Linux
+
+%description
+A pkg-config implementation by Ruby.
+
+%prep
+%setup -q -n %{origname}-%{version}
+
+%build
+
+%install
+%__rm -rf $RPM_BUILD_ROOT
+%__mkdir_p $RPM_BUILD_ROOT%{ruby_vendorlibdir}/pkg-config
+%__install -m0644 lib/pkg-config.rb $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+%__install -m0644 lib/pkg-config/version.rb $RPM_BUILD_ROOT%{ruby_vendorlibdir}/pkg-config
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc LGPL-2.1 NEWS README.rdoc
+%{ruby_vendorlibdir}/pkg-config.rb
+%dir %{ruby_vendorlibdir}/pkg-config
+%{ruby_vendorlibdir}/pkg-config/version.rb
+
+
+%changelog
+* Sun Jan 13 2013 IWAI, Masaharu <iwai@alib.jp> 1.1.4-1
+- initial build for Vine Linux
+