]> git.pld-linux.org Git - packages/apk-tools.git/blob - apk-tools.spec
new, version 2.10.1
[packages/apk-tools.git] / apk-tools.spec
1 Summary:        Alpine Package Keeper - package manager for alpine
2 Name:           apk-tools
3 Version:        2.10.1
4 Release:        1
5 License:        GPL v2
6 Group:          Base
7 Source0:        https://dev.alpinelinux.org/archive/apk-tools/%{name}-%{version}.tar.xz
8 # Source0-md5:  d14969082e880bd056644f73ac3b3eb2
9 Patch0:         0001-fix-strncpy-bounds-errors.patch
10 Patch1:         0002-include-sys-sysmacros.h-for-makedev-definition.patch
11 Patch2:         0001-add-support-for-openssl-1.1.patch
12 URL:            https://git.alpinelinux.org/cgit/apk-tools/
13 BuildRequires:  openssl-devel
14 BuildRequires:  tar >= 1:1.22
15 BuildRequires:  xz
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _sbindir /sbin
19
20 %description
21 Package manager for Alpine Linux.
22
23 %prep
24 %setup -q
25 %patch0 -p1
26 %patch1 -p1
27 %patch2 -p1
28
29 %build
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 %{__make} install \
35         DESTDIR=$RPM_BUILD_ROOT
36
37 # empty file
38 %{__rm} $RPM_BUILD_ROOT%{_docdir}/apk/README
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %attr(755,root,root) %{_sbindir}/apk
This page took 0.090988 seconds and 3 git commands to generate.