vine-rpm-macros-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Summary: rpm macros for Vine Linux
  2. Summary(ja): Vine Linux用rpmマクロ
  3. Name: vine-rpm-macros
  4. Version: 6
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPL2
  10. Source0: rpmrc
  11. Source1: macros.vine
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. Requires: rpm
  15. %description
  16. This package contains rpm macros for Vine Linux.
  17. %description -l ja
  18. このパッケージはVine Linux用のrpmマクロを収録しています。
  19. %package -n vine-rpm-build-macros
  20. Summary: rpm macros to build packages for Vine Linux.
  21. Summary(ja): Vine Linuxパッケージ作成用rpmマクロ
  22. Requires: rpm-build
  23. Requires: perl-generators
  24. Requires: python-rpm-macros
  25. Requires: python3-rpm-macros
  26. %description -n vine-rpm-build-macros
  27. This package contains rpm macros to build packages for Vine Linux.
  28. %description -n vine-rpm-build-macros -l ja
  29. このパッケージはVine Linuxのパッケージ作成用rpmマクロを収録しています。
  30. %debug_package
  31. %prep
  32. %setup -n vine-rpm-macros-%{version} -T -c
  33. %build
  34. %install
  35. %{__rm} -rf %{buildroot}
  36. install -Dpm644 %{SOURCE0} %{buildroot}/usr/lib/rpm/vine/rpmrc
  37. install -Dpm644 %{SOURCE1} %{buildroot}/usr/lib/rpm/macros.d/macros.vine
  38. %clean
  39. %{__rm} -rf %{buildroot}
  40. %files
  41. %defattr(-,root,root)
  42. /usr/lib/rpm/vine/*
  43. /usr/lib/rpm/macros.d/*
  44. %files -n vine-rpm-build-macros
  45. %defattr(-,root,root)
  46. #{_fileattrsdir}/*
  47. #{_rpmconfigdir}/metainfo.prov
  48. %changelog
  49. * Sat Mar 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6-1
  50. - added %%_docdir_fmt.
  51. * Tue Mar 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5-1
  52. - imported some macros from redhat-rpm-config.
  53. * Mon Mar 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4-1
  54. - imported some macros from redhat-rpm-config.
  55. * Wed Feb 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3-1
  56. - imported some scriptlets from redhat-rpm-config.
  57. * Mon Feb 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2-1
  58. - built for rpm-4.16.
  59. * Sat May 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1-1
  60. - initial build.