]> git.pld-linux.org Git - packages/b4.git/blob - b4.spec
7291eeff86ea152fc7281737d510ea73370bc956
[packages/b4.git] / b4.spec
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
4 Version:        0.6.2
5 Release:        1
6 License:        GPL v2+
7 Group:          Development/Tools
8 Source0:        https://www.kernel.org/pub/software/devel/b4/%{name}-%{version}.tar.xz
9 # Source0-md5:  8ae60023fb84cc6d31d495f934ac0f1a
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
15 BuildRequires:  sed >= 4.0
16 BuildRequires:  tar >= 1:1.22
17 BuildRequires:  xz
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This is a helper utility to work with patches made available via a
22 public-inbox archive like lore.kernel.org. It is written to make it
23 easier to participate in a patch-based workflows, like those used in
24 the Linux kernel development.
25
26 %description -l pl.UTF-8
27 Narzędzie pomocnicze do pracy z łatkami dostępnymi przez archiwum
28 publicznej skrzynki odbiorczej, takie jak lore.kernel.org. Zostało
29 napisane, aby ułatwić uczestniczenie w stylu pracy opartym na łatkach,
30 jak ten używany przy rozwijaniu jądra Linuksa.
31
32 %prep
33 %setup -q
34
35 %{__sed} -i -e 's/~=/>=/' requirements.txt setup.py
36
37 %build
38 %py3_build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %py3_install
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README.rst
51 %attr(755,root,root) %{_bindir}/b4
52 %{py3_sitescriptdir}/b4
53 %{py3_sitescriptdir}/b4-%{version}-py*.egg-info
54 %{_mandir}/man5/b4.5*
This page took 0.041233 seconds and 3 git commands to generate.