]>
Commit | Line | Data |
---|---|---|
c6e3519c JB |
1 | Summary: A tool to work with public-inbox and patch archives |
2 | Summary(pl.UTF-8): Narzędzie do pracy z publiczną skrzynką odbiorczą i archiwami łatek | |
3 | Name: b4 | |
a9b8ce80 | 4 | Version: 0.6.2 |
e1b5c734 | 5 | Release: 3 |
c6e3519c JB |
6 | License: GPL v2+ |
7 | Group: Development/Tools | |
8 | Source0: https://www.kernel.org/pub/software/devel/b4/%{name}-%{version}.tar.xz | |
a9b8ce80 | 9 | # Source0-md5: 8ae60023fb84cc6d31d495f934ac0f1a |
c6e3519c JB |
10 | URL: https://git.kernel.org/pub/scm/utils/b4/b4.git |
11 | BuildRequires: python3-modules >= 1:3.6 | |
12 | BuildRequires: python3-setuptools | |
13 | BuildRequires: rpm-pythonprov | |
14 | BuildRequires: rpmbuild(macros) >= 1.714 | |
377ac892 | 15 | BuildRequires: sed >= 4.0 |
a9b8ce80 JB |
16 | BuildRequires: tar >= 1:1.22 |
17 | BuildRequires: xz | |
511737a7 | 18 | BuildArch: noarch |
c6e3519c JB |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | This is a helper utility to work with patches made available via a | |
23 | public-inbox archive like lore.kernel.org. It is written to make it | |
24 | easier to participate in a patch-based workflows, like those used in | |
25 | the Linux kernel development. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Narzędzie pomocnicze do pracy z łatkami dostępnymi przez archiwum | |
29 | publicznej skrzynki odbiorczej, takie jak lore.kernel.org. Zostało | |
30 | napisane, aby ułatwić uczestniczenie w stylu pracy opartym na łatkach, | |
31 | jak ten używany przy rozwijaniu jądra Linuksa. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | ||
377ac892 JB |
36 | %{__sed} -i -e 's/~=/>=/' requirements.txt setup.py |
37 | ||
c6e3519c JB |
38 | %build |
39 | %py3_build | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %py3_install | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc README.rst | |
52 | %attr(755,root,root) %{_bindir}/b4 | |
53 | %{py3_sitescriptdir}/b4 | |
54 | %{py3_sitescriptdir}/b4-%{version}-py*.egg-info | |
377ac892 | 55 | %{_mandir}/man5/b4.5* |