ruby-pkg-config-vl.spec 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. %define origname pkg-config
  2. %define ver 1.1.4
  3. %define rel 1
  4. Summary: a pkg-config implementation by Ruby
  5. Summary(ja): Ruby のために実装された pkg-config
  6. Name: ruby-%{origname}
  7. Version: %{ver}
  8. Release: %{rel}%{?_dist_release}
  9. License: LGPLv2.1+
  10. Group: System Environment/Libraries
  11. URL: https://github.com/rcairo/pkg-config
  12. Source0: %{origname}-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  14. BuildArch: noarch
  15. BuildRequires: ruby-devel >= 1.8
  16. Requires: ruby >= 1.8
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. A pkg-config implementation by Ruby.
  21. %prep
  22. %setup -q -n %{origname}-%{version}
  23. %build
  24. %install
  25. %__rm -rf $RPM_BUILD_ROOT
  26. %__mkdir_p $RPM_BUILD_ROOT%{ruby_vendorlibdir}/pkg-config
  27. %__install -m0644 lib/pkg-config.rb $RPM_BUILD_ROOT%{ruby_vendorlibdir}
  28. %__install -m0644 lib/pkg-config/version.rb $RPM_BUILD_ROOT%{ruby_vendorlibdir}/pkg-config
  29. %clean
  30. %__rm -rf $RPM_BUILD_ROOT
  31. %files
  32. %defattr(-,root,root,-)
  33. %doc LGPL-2.1 NEWS README.rdoc
  34. %{ruby_vendorlibdir}/pkg-config.rb
  35. %dir %{ruby_vendorlibdir}/pkg-config
  36. %{ruby_vendorlibdir}/pkg-config/version.rb
  37. %changelog
  38. * Sun Jan 13 2013 IWAI, Masaharu <iwai@alib.jp> 1.1.4-1
  39. - initial build for Vine Linux