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