]> git.pld-linux.org Git - packages/setools.git/blame - setools.spec
drop package information for python-setools/python-setoolsgui
[packages/setools.git] / setools.spec
CommitLineData
4df63b55
JB
1Summary: Policy analysis tools for SELinux
2Summary(pl.UTF-8): Narzędzia do analizy polityk SELinuksa
db420033 3Name: setools
8614c0a9 4Version: 4.3.0
89be68b6 5Release: 7
4df63b55
JB
6License: GPL v2+ (tools), LGPL v2.1+ (libraries)
7Group: Applications/System
ffc3e545 8Source0: https://github.com/SELinuxProject/setools/releases/download/%{version}/%{name}-%{version}.tar.bz2
8614c0a9 9# Source0-md5: ba6e5ec442108eef481e3a3fbb25141d
e904bba1 10Patch0: no-Werror.patch
b2838009 11URL: https://github.com/SELinuxProject/setools/wiki
fde4ef77 12BuildRequires: bison
2f15a047 13BuildRequires: flex
deffcb0e
JB
14BuildRequires: libsepol-devel >= 2.7
15BuildRequires: libsepol-static >= 2.7
315a487c 16BuildRequires: python3-devel >= 1:3.4
deffcb0e 17BuildRequires: python3-setuptools
deffcb0e
JB
18BuildRequires: rpmbuild(macros) >= 1.714
19BuildRequires: swig-python >= 2.0.12
4df63b55 20Suggests: policy-sources
deffcb0e 21Requires: python3-setools = %{version}-%{release}
db420033
JB
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
4df63b55
JB
25SETools is a collection of graphical tools, command-line tools, and
26libraries designed to facilitate SELinux policy analysis.
27
28The base package includes the following console tools:
29- seaudit-report: audit log analysis tool
30- sechecker: SELinux policy checking tool
31- secmds command line tools: seinfo, sesearch, findcon, replcon, and
32 indexcon
33- sediff: semantic policy difference tool
db420033 34
63b63c72 35%description -l pl.UTF-8
4df63b55
JB
36SETools to zbiór narzędzi graficznych, narzędzi linii poleceń oraz
37bibliotek mających na celu ułatwienie analizy polityk SELinuksa.
38
39Pakiet podstawowy zawiera narzędzia terminalowe:
40- seaudit-report - narzędzie do analizy logu audytowego
41- sechecker - narzędzie do sprawdzania polityk SELinuksa
42- narzędzia linii poleceń secmds: seinfo, sesearch, findcon, replcon
43 oraz indexcon
44- sediff - narzędzie do znajdywania różnic semantycznych polityk
45
46%package gui
47Summary: Policy analysis graphical tools for SELinux
48Summary(pl.UTF-8): Graficzne narzędzia do analizy polityk SELinuksa
49License: GPL v2+
50Group: Applications/System
51Requires: %{name} = %{version}-%{release}
deffcb0e 52Requires: python3-setoolsgui = %{version}-%{release}
4df63b55
JB
53
54%description gui
55SETools is a collection of graphical tools, command-line tools, and
56libraries designed to facilitate SELinux policy analysis.
57
58This package includes the following graphical tools:
59- apol: policy analysis tool
4df63b55
JB
60
61%description gui -l pl.UTF-8
62SETools to zbiór narzędzi graficznych, narzędzi linii poleceń oraz
63bibliotek mających na celu ułatwienie analizy polityk SELinuksa.
64
65Ten pakiet zawiera narzędzia graficzne:
66- apol - narzędzie do analizy polityk
deffcb0e 67
deffcb0e
JB
68%package -n python3-setools
69Summary: Python 3 bindings for SELinux policy analysis libraries
70Summary(pl.UTF-8): Wiązania Pythona 3 do bibliotek analizy polityk SELinuksa
4df63b55 71Group: Libraries/Python
deffcb0e
JB
72Requires: python3-modules >= 1:3.3
73Requires: python3-networkx >= 1.8
74Suggests: python3-selinux
4df63b55 75
deffcb0e 76%description -n python3-setools
4df63b55
JB
77SETools is a collection of graphical tools, command-line tools, and
78libraries designed to facilitate SELinux policy analysis.
79
deffcb0e
JB
80This package includes Python bindings for SELinux policy analysis
81libraries.
4df63b55 82
deffcb0e 83%description -n python3-setools -l pl.UTF-8
4df63b55
JB
84SETools to zbiór narzędzi graficznych, narzędzi linii poleceń oraz
85bibliotek mających na celu ułatwienie analizy polityk SELinuksa.
86
deffcb0e
JB
87Ten pakiet zawiera wiązania Pythona do bibliotek analizy polityk
88SELinuksa.
4df63b55 89
deffcb0e
JB
90%package -n python3-setoolsgui
91Summary: SETools GUI modules for Python 3
92Summary(pl.UTF-8): Moduły graficznego interfejsu użytkownika SETools dla Pythona 3
93Group: Libraries/Python
94Requires: python3-setools = %{version}-%{release}
95Requires: python3-PyQt5 >= 5
4df63b55 96
deffcb0e
JB
97%description -n python3-setoolsgui
98SETools GUI modules for Python 3.
4df63b55 99
deffcb0e
JB
100%description -n python3-setoolsgui -l pl.UTF-8
101Moduły graficznego interfejsu użytkownika SETools dla Pythona 3.
4d18f116 102
db420033 103%prep
ffc3e545 104%setup -q -n %{name}
e904bba1 105%patch0 -p1
db420033
JB
106
107%build
68222393
JB
108export SEPOL=%{_libdir}/libsepol.a
109
deffcb0e 110%py3_build
db420033
JB
111
112%install
113rm -rf $RPM_BUILD_ROOT
deffcb0e 114
68222393
JB
115export SEPOL=%{_libdir}/libsepol.a
116
deffcb0e 117%py3_install
db420033
JB
118
119%clean
120rm -rf $RPM_BUILD_ROOT
121
db420033
JB
122%files
123%defattr(644,root,root,755)
4df63b55 124%attr(755,root,root) %{_bindir}/sediff
deffcb0e 125%attr(755,root,root) %{_bindir}/sedta
4df63b55 126%attr(755,root,root) %{_bindir}/seinfo
deffcb0e 127%attr(755,root,root) %{_bindir}/seinfoflow
4df63b55 128%attr(755,root,root) %{_bindir}/sesearch
4df63b55 129%{_mandir}/man1/sediff.1*
deffcb0e 130%{_mandir}/man1/sedta.1*
4df63b55 131%{_mandir}/man1/seinfo.1*
deffcb0e 132%{_mandir}/man1/seinfoflow.1*
4df63b55 133%{_mandir}/man1/sesearch.1*
4df63b55
JB
134
135%files gui
136%defattr(644,root,root,755)
137%attr(755,root,root) %{_bindir}/apol
4df63b55 138%{_mandir}/man1/apol.1*
4df63b55 139
deffcb0e 140%files -n python3-setools
4df63b55 141%defattr(644,root,root,755)
deffcb0e
JB
142%doc COPYING ChangeLog KNOWN-BUGS README.md
143%dir %{py3_sitedir}/setools
144%{py3_sitedir}/setools/diff
ffc3e545 145%attr(755,root,root) %{py3_sitedir}/setools/policyrep.cpython-*.so
deffcb0e
JB
146%{py3_sitedir}/setools/*.py
147%{py3_sitedir}/setools/perm_map
148%{py3_sitedir}/setools/__pycache__
149%{py3_sitedir}/setools-%{version}-py*.egg-info
150
151%files -n python3-setoolsgui
152%defattr(644,root,root,755)
153%{py3_sitedir}/setoolsgui
This page took 0.169665 seconds and 4 git commands to generate.