powerpc-utils-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Summary: Utilities for PowerPC platforms
  2. Summary(ja): PowerPC プラットフォーム用のユーティリティ
  3. Name: powerpc-utils
  4. Version: 1.1.3
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Base
  7. License: CPL
  8. URL: http://powerpc-utils.ozlabs.org/
  9. Source0: http://powerpc-utils.ozlabs.org/releases/%{name}-%{version}.tar.gz
  10. Source1: nvsetenv
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildRequires: doxygen
  13. ExclusiveArch: ppc ppc64
  14. Obsoletes: pmac-utils
  15. %description
  16. Utilities for PowerPC platforms.
  17. %prep
  18. %setup -q
  19. sed -i s/744/755/ rules.mk
  20. %build
  21. make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. make install DESTDIR=$RPM_BUILD_ROOT FILES=
  25. install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/nvsetenv
  26. %clean
  27. rm -rf $RPM_BUILD_ROOT
  28. %files
  29. %defattr(-,root,root,-)
  30. %{_sbindir}/nvsetenv
  31. %{_sbindir}/nvram
  32. %{_sbindir}/snap
  33. %{_sbindir}/bootlist
  34. %{_sbindir}/ofpathname
  35. %{_sbindir}/ppc64_cpu
  36. %{_sbindir}/lsprop
  37. %{_mandir}/man8/nvram.8.gz
  38. %{_mandir}/man8/snap.8.gz
  39. %{_mandir}/man8/bootlist.8.gz
  40. %{_mandir}/man8/ofpathname.8.gz
  41. %doc README COPYRIGHT Changelog
  42. %changelog
  43. * Mon Apr 20 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.3-1
  44. - new upstream release
  45. * Sat Mar 28 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.2-1
  46. - initial build for Vine Linux
  47. - add Obsoletes: pmac-utils (which includes mousemode, nvsetenv and nvvideo)
  48. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.6-3
  49. - Autorebuild for GCC 4.3
  50. * Mon Dec 3 2007 David Woodhouse <dwmw2@redhat.com> 1.0.6-2
  51. - Add --version to nvsetenv, for ybin compatibility
  52. * Fri Nov 23 2007 David Woodhouse <dwmw2@redhat.com> 1.0.6-1
  53. - New package, split from ppc64-utils