vine-rpm-macros-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. Summary: rpm macros for Vine Linux
  2. Summary(ja): Vine Linux用rpmマクロ
  3. Name: vine-rpm-macros
  4. Version: 9
  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. Source2: macros.dwz
  13. Source3: macros.ldconfig
  14. Source4: macros.vpath
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildArch: noarch
  17. Requires: rpm
  18. %description
  19. This package contains rpm macros for Vine Linux.
  20. %description -l ja
  21. このパッケージはVine Linux用のrpmマクロを収録しています。
  22. %package -n vine-rpm-build-macros
  23. Summary: rpm macros to build packages for Vine Linux.
  24. Summary(ja): Vine Linuxパッケージ作成用rpmマクロ
  25. Requires: rpm-build
  26. Requires: perl-generators
  27. Requires: python-rpm-macros
  28. Requires: python3-rpm-macros
  29. Requires: debugedit
  30. %description -n vine-rpm-build-macros
  31. This package contains rpm macros to build packages for Vine Linux.
  32. %description -n vine-rpm-build-macros -l ja
  33. このパッケージはVine Linuxのパッケージ作成用rpmマクロを収録しています。
  34. %debug_package
  35. %prep
  36. %setup -n vine-rpm-macros-%{version} -T -c
  37. %build
  38. %install
  39. %{__rm} -rf %{buildroot}
  40. install -Dpm644 %{SOURCE0} %{buildroot}/usr/lib/rpm/vine/rpmrc
  41. install -Dpm644 %{SOURCE1} %{buildroot}/usr/lib/rpm/macros.d/macros.vine
  42. install -Dpm644 %{SOURCE2} %{buildroot}/usr/lib/rpm/macros.d/macros.dwz
  43. install -Dpm644 %{SOURCE3} %{buildroot}/usr/lib/rpm/macros.d/macros.ldconfig
  44. install -Dpm644 %{SOURCE4} %{buildroot}/usr/lib/rpm/macros.d/macros.vpath
  45. %clean
  46. %{__rm} -rf %{buildroot}
  47. %files
  48. %defattr(-,root,root)
  49. /usr/lib/rpm/vine/*
  50. /usr/lib/rpm/macros.d/*
  51. %files -n vine-rpm-build-macros
  52. %defattr(-,root,root)
  53. #{_fileattrsdir}/*
  54. #{_rpmconfigdir}/metainfo.prov
  55. %changelog
  56. * Tue Jul 09 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9-1
  57. - enabled LTO.
  58. - added macros.{ldconfig,vpath}.
  59. * Fri Jun 07 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8-1
  60. - added "-march=x86-64-v2" to %%optflags on x86_64.
  61. * Wed May 08 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7-1
  62. - added macros.dwz.
  63. * Sat Mar 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6-1
  64. - added %%_docdir_fmt.
  65. * Tue Mar 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5-1
  66. - imported some macros from redhat-rpm-config.
  67. * Mon Mar 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4-1
  68. - imported some macros from redhat-rpm-config.
  69. * Wed Feb 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3-1
  70. - imported some scriptlets from redhat-rpm-config.
  71. * Mon Feb 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2-1
  72. - built for rpm-4.16.
  73. * Sat May 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1-1
  74. - initial build.