]> git.pld-linux.org Git - SPECS.git/blob - b4.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.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.7.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:  74e1cdc310d48a7d6fa574c7835d88e9
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 BuildArch:      noarch
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
36 # ~= not supported properly by rpm-pythonprov
37 %{__sed} -i -e 's/~=/>=/' requirements.txt setup.py
38
39 %build
40 %py3_build
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %py3_install
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc README.rst
53 %attr(755,root,root) %{_bindir}/b4
54 %{py3_sitescriptdir}/b4
55 %{py3_sitescriptdir}/b4-%{version}-py*.egg-info
56 %{_mandir}/man5/b4.5*
This page took 0.06473 seconds and 3 git commands to generate.