]>
Commit | Line | Data |
---|---|---|
4bfb7783 WF |
1 | # Conditional build: |
2 | %bcond_without tests # unit tests | |
43228904 WF |
3 | %define module doxyqml |
4 | Summary: Doxyqml | |
5 | Summary(pl.UTF-8): Doxyqml | |
6 | Name: python3-%{module} | |
4bfb7783 | 7 | Version: 0.5.1 |
915713df | 8 | Release: 5 |
43228904 WF |
9 | License: BSD |
10 | Group: Libraries/Python | |
4bfb7783 WF |
11 | Source0: https://invent.kde.org/sdk/doxyqml/-/archive/%{version}/%{module}-%{version}.tar.bz2 |
12 | # Source0-md5: 7935ea56fc6ce9a102737fd93cf493a9 | |
13 | URL: https://agateau.com/projects/doxyqml/ | |
43228904 WF |
14 | BuildRequires: python3-modules >= 1:3.2 |
15 | BuildRequires: python3-setuptools | |
16 | BuildRequires: rpm-pythonprov | |
17 | BuildRequires: rpmbuild(macros) >= 1.714 | |
18 | Requires: python3-modules >= 1:3.2 | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Doxyqml lets you use Doxygen to document your QML classes. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Doxyqml pozwala Ci użycić Doxygena do dokumentowania Twoich | |
27 | klas QML. | |
28 | ||
29 | %prep | |
30 | %setup -q -n %{module}-%{version} | |
31 | ||
32 | %build | |
33 | %py3_build | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %py3_install | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %dir %{py3_sitescriptdir}/%{module} | |
46 | %attr(755,root,root) %{_bindir}/doxyqml | |
47 | %{py3_sitescriptdir}/%{module}/*.py | |
48 | %{py3_sitescriptdir}/%{module}/__pycache__ | |
49 | %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info |