]> git.pld-linux.org Git - packages/tracer.git/blame - tracer.spec
Release 3 (by relup.sh)
[packages/tracer.git] / tracer.spec
CommitLineData
56fc1742
JR
1Summary: Finds outdated running applications in your system
2Name: tracer
3Version: 0.7.5
ce5d6652 4Release: 3
56fc1742
JR
5License: GPL v2+
6Source0: https://github.com/FrostyX/tracer/archive/%{name}-%{version}-1/tracer-%{version}.tar.gz
7# Source0-md5: 6f3e8bba2a918f570ea6eb44db0aae09
8URL: http://tracer-package.com/
9BuildRequires: asciidoc
10BuildRequires: gettext
11BuildRequires: python3-dbus
12BuildRequires: python3-devel
13BuildRequires: python3-psutil
14BuildRequires: python3-pytest
15BuildRequires: python3-rpm
16BuildRequires: python3-six
17BuildRequires: sphinx-pdg
18Requires: python3-%{name} = %{version}-%{release}
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Tracer determines which applications use outdated files and prints
24them. For special kind of applications such as services or daemons, it
25suggests a standard command to restart it. Detecting whether file is
26outdated or not is based on a simple idea. If application has loaded
27in memory any version of a file which is provided by any package
28updated since system was booted up, tracer consider this application
29as outdated.
30
31%package -n python3-%{name}
32Summary: Finds outdated running applications in your system
33Requires: python3-dbus
34Requires: python3-lxml
35Requires: python3-psutil
36Requires: python3-rpm
37Requires: python3-setuptools
38Requires: python3-six
39Suggests: python3-argcomplete
40
41%description -n python3-%{name}
42Tracer determines which applications use outdated files and prints
43them. For special kind of applications such as services or daemons, it
44suggests a standard command to restart it. Detecting whether file is
45outdated or not is based on a simple idea. If application has loaded
46in memory any version of a file which is provided by any package
47updated since system was booted up, tracer consider this application
48as outdated.
49
50%prep
51%setup -q -n %{name}-%{name}-%{version}-1
52
53%build
54%py3_build
55
56%{__make} man
57
58%install
59rm -rf $RPM_BUILD_ROOT
60install -d $RPM_BUILD_ROOT{%{_mandir}/man8,%{_datadir}/%{name}}
61
62%py3_install
63
64%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/data
65cp -a data/*.xml $RPM_BUILD_ROOT%{_datadir}/%{name}
66
67cp -p doc/build/man/%{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
74%doc README.md
75%attr(755,root,root) %{_bindir}/%{name}
76%{_mandir}/man8/%{name}.8*
77%{_datadir}/%{name}
78
79%files -n python3-%{name}
80%defattr(644,root,root,755)
81%{py3_sitescriptdir}/%{name}
82%{py3_sitescriptdir}/tracer-*-py*.egg-info
This page took 0.073834 seconds and 4 git commands to generate.