]>
Commit | Line | Data |
---|---|---|
d5a5318d ER |
1 | Summary: Script to build Alpine Linux Packages |
2 | Name: abuild | |
3 | Version: 3.3.1 | |
4 | Release: 1 | |
5 | License: GPL v2 | |
6 | Group: Development/Building | |
7 | Source0: https://dev.alpinelinux.org/archive/abuild/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: 29043340e251eb5677f176af0a98ce2d | |
9 | URL: https://git.alpinelinux.org/abuild/ | |
10 | BuildRequires: openssl-devel | |
11 | BuildRequires: pkgconfig | |
12 | BuildRequires: tar >= 1:1.22 | |
13 | BuildRequires: xz | |
14 | BuildRequires: zlib-devel | |
9acaf9b0 | 15 | Requires: apk-tools >= 2.10.3-3 |
d5a5318d ER |
16 | Requires: attr |
17 | Requires: curl | |
18 | Requires: fakeroot | |
19 | Requires: lzip | |
20 | Requires: openssl | |
21 | Requires: patch | |
22 | Requires: pax-utils | |
23 | Requires: pkgconf | |
24 | Requires: sudo | |
25 | Requires: tar | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | Build scripts to build Alpine Linux packages. | |
30 | ||
31 | %prep | |
32 | %setup -q | |
33 | ||
34 | %build | |
35 | %{__make} \ | |
36 | VERSION="%{version}-%{release}" | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | %{__make} install \ | |
41 | VERSION="%{version}-%{release}" \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | chmod u+rw $RPM_BUILD_ROOT%{_bindir}/abuild-sudo | |
45 | ||
46 | install -d $RPM_BUILD_ROOT/var/cache/distfiles | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/abuild.conf | |
54 | %attr(4111,root,root) %{_bindir}/abuild-sudo | |
55 | %attr(755,root,root) %{_bindir}/abuild | |
56 | %attr(755,root,root) %{_bindir}/abuild-addgroup | |
57 | %attr(755,root,root) %{_bindir}/abuild-adduser | |
58 | %attr(755,root,root) %{_bindir}/abuild-apk | |
59 | %attr(755,root,root) %{_bindir}/abuild-fetch | |
60 | %attr(755,root,root) %{_bindir}/abuild-gzsplit | |
61 | %attr(755,root,root) %{_bindir}/abuild-keygen | |
62 | %attr(755,root,root) %{_bindir}/abuild-rmtemp | |
63 | %attr(755,root,root) %{_bindir}/abuild-sign | |
64 | %attr(755,root,root) %{_bindir}/abuild-tar | |
65 | %attr(755,root,root) %{_bindir}/abump | |
66 | %attr(755,root,root) %{_bindir}/apkbuild-cpan | |
67 | %attr(755,root,root) %{_bindir}/apkbuild-gem-resolver | |
68 | %attr(755,root,root) %{_bindir}/apkgrel | |
69 | %attr(755,root,root) %{_bindir}/buildlab | |
70 | %attr(755,root,root) %{_bindir}/checkapk | |
71 | %attr(755,root,root) %{_bindir}/newapkbuild | |
72 | %{_mandir}/man1/newapkbuild.1* | |
73 | %{_mandir}/man5/APKBUILD.5* | |
74 | %{_datadir}/%{name} | |
75 | %dir /var/cache/distfiles |