|
| 1 | +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} |
| 2 | + |
| 3 | +Name: scap-workbench |
| 4 | +Version: 1.2.0 |
| 5 | +Release: 3%{?dist} |
| 6 | +Summary: Scanning, tailoring, editing and validation tool for SCAP content |
| 7 | + |
| 8 | +License: GPLv3+ |
| 9 | +URL: http://www.open-scap.org/tools/scap-workbench |
| 10 | +Source0: https://github.com/OpenSCAP/scap-workbench/releases/download/%{version}/scap-workbench-%{version}.tar.bz2 |
| 11 | + |
| 12 | +BuildRequires: cmake >= 2.6 |
| 13 | +BuildRequires: qt5-devel >= 5.0.0 |
| 14 | + |
| 15 | +BuildRequires: openscap-devel >= 1.2.11 |
| 16 | +BuildRequires: openscap-utils >= 1.2.11 |
| 17 | +Requires: openscap-utils >= 1.2.11 |
| 18 | +# ssh to scan remote machines |
| 19 | +BuildRequires: openssh-clients |
| 20 | +Requires: openssh-clients |
| 21 | +Requires: openssh-askpass |
| 22 | +# because of 'setsid' which we use to force ssh to use GUI askpass |
| 23 | +BuildRequires: util-linux |
| 24 | +Requires: util-linux |
| 25 | +# for privileged local scanning |
| 26 | +Requires: polkit |
| 27 | +# default content |
| 28 | +Requires: scap-security-guide |
| 29 | +# fonts, see https://bugzilla.redhat.com/show_bug.cgi?id=1134418 |
| 30 | +Requires: font(:lang=en) |
| 31 | + |
| 32 | +%description |
| 33 | +scap-workbench is GUI tool that provides scanning functionality for SCAP |
| 34 | +content. The tool is based on OpenSCAP library. |
| 35 | + |
| 36 | +%prep |
| 37 | +%setup -q |
| 38 | + |
| 39 | +%build |
| 40 | +%cmake -D CMAKE_INSTALL_DOCDIR=%{_pkgdocdir} . |
| 41 | +make %{?_smp_mflags} |
| 42 | + |
| 43 | +%install |
| 44 | +make install DESTDIR=%{buildroot} |
| 45 | + |
| 46 | +%files |
| 47 | +%{_bindir}/scap-workbench |
| 48 | +%{_datadir}/applications/scap-workbench.desktop |
| 49 | +%{_datadir}/scap-workbench/*.png |
| 50 | +%{_datadir}/scap-workbench/translations/* |
| 51 | +%{_libexecdir}/scap-workbench-oscap.sh |
| 52 | +%{_libexecdir}/scap-workbench-pkexec-oscap.sh |
| 53 | +%{_libexecdir}/scap-workbench-rpm-extract.sh |
| 54 | +%{_datadir}/polkit-1/actions/scap-workbench-oscap.policy |
| 55 | +%{_datadir}/pixmaps/scap-workbench.png |
| 56 | +%{_datadir}/pixmaps/scap-workbench.svg |
| 57 | +%{_datadir}/appdata/scap-workbench.appdata.xml |
| 58 | +%doc %{_mandir}/man8/scap-workbench.8.gz |
| 59 | +%doc %{_pkgdocdir}/user_manual.html |
| 60 | +%doc %{_pkgdocdir}/COPYING |
| 61 | +%doc %{_pkgdocdir}/README.md |
| 62 | + |
| 63 | +%changelog |
| 64 | +* Fri Jul 26 2019 Fedora Release Engineering <[email protected]> - 1.2.0-3 |
| 65 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
| 66 | + |
| 67 | +* Sat Feb 02 2019 Fedora Release Engineering <[email protected]> - 1.2.0-2 |
| 68 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
| 69 | + |
| 70 | +* Wed Jul 18 2018 Martin Preisler <[email protected]> 1.2.0-1 |
| 71 | +- Updated to new upstream release 1.2.0 |
| 72 | +- Now using Qt5 |
| 73 | + |
| 74 | +* Sat Jul 14 2018 Fedora Release Engineering <[email protected]> - 1.1.6-3 |
| 75 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
| 76 | + |
| 77 | +* Fri Feb 09 2018 Fedora Release Engineering <[email protected]> - 1.1.6-2 |
| 78 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
| 79 | + |
| 80 | +* Fri Nov 10 2017 Martin Preisler <[email protected]> 1.1.6-1 |
| 81 | +- Updated to new upstream release 1.1.6 |
| 82 | + |
| 83 | +* Thu Aug 03 2017 Fedora Release Engineering <[email protected]> - 1.1.5-3 |
| 84 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
| 85 | + |
| 86 | +* Thu Jul 27 2017 Fedora Release Engineering <[email protected]> - 1.1.5-2 |
| 87 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
| 88 | + |
| 89 | +* Mon Jun 19 2017 Martin Preisler <[email protected]> 1.1.5-1 |
| 90 | +- Updated to new upstream release 1.1.5 |
| 91 | + |
| 92 | +* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> - 1.1.4-3 |
| 93 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
| 94 | + |
| 95 | +* Tue Jan 17 2017 Martin Preisler <[email protected]> - 1.1.4-2 |
| 96 | +- Rebuilt for OpenSCAP 1.2.13 |
| 97 | + |
| 98 | +* Mon Jan 02 2017 Martin Preisler <[email protected]> 1.1.4-1 |
| 99 | +- Updated to new upstream release 1.1.4 |
| 100 | + |
| 101 | +* Mon Dec 12 2016 Martin Preisler <[email protected]> 1.1.3-1 |
| 102 | +- Updated to new upstream release 1.1.3 |
| 103 | +- Bumped openscap requirement to 1.2.11 because of the remote resource warning |
| 104 | + |
| 105 | +* Mon Jun 20 2016 Martin Preisler <[email protected]> 1.1.2-1 |
| 106 | +- Updated to new upstream release 1.1.2 |
| 107 | +- Removed SCL related bits |
| 108 | + |
| 109 | +* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> - 1.1.1-3 |
| 110 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
| 111 | + |
| 112 | +* Mon Nov 02 2015 Martin Preisler <[email protected]> 1.1.1-2 |
| 113 | +- Require English fonts (bz#1134418) |
| 114 | +- Updated with latest upstream URLs |
| 115 | +- Reorganized the spec a little |
| 116 | + |
| 117 | +* Tue Sep 29 2015 Martin Preisler <[email protected]> 1.1.1-1 |
| 118 | +- Updated to new upstream release 1.1.1-1 |
| 119 | + |
| 120 | +* Wed Jul 29 2015 Martin Preisler <[email protected]> 1.1.0-4 |
| 121 | +- Make BuildRequires more explicit by requiring qt >= 4.0.0 and cmake >= 2.6 |
| 122 | + |
| 123 | +* Fri Jun 19 2015 Fedora Release Engineering <[email protected]> - 1.1.0-3 |
| 124 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
| 125 | + |
| 126 | +* Sat May 02 2015 Kalev Lember <[email protected]> - 1.1.0-2 |
| 127 | +- Rebuilt for GCC 5 C++11 ABI change |
| 128 | + |
| 129 | +* Tue Mar 24 2015 Martin Preisler <[email protected]> 1.1.0-1 |
| 130 | +- Updated to new upstream release 1.1.0 |
| 131 | +- Added openssh-clients and util-linux to BuildRequires, workbench checks those |
| 132 | + at configure time now |
| 133 | +- Added scap-security-guide to Requires |
| 134 | + |
| 135 | +* Fri Jan 09 2015 Martin Preisler <[email protected]> 1.0.3-1 |
| 136 | +- Updated to new upstream release 1.0.3 |
| 137 | + |
| 138 | +* Thu Oct 30 2014 Martin Preisler <[email protected]> 1.0.2-2 |
| 139 | +- Fix RPM open functionality, see rhbz#1154039 |
| 140 | + |
| 141 | +* Wed Sep 24 2014 Martin Preisler <[email protected]> 1.0.2-1 |
| 142 | +- Updated to new upstream release 1.0.2 |
| 143 | + |
| 144 | +* Fri Sep 05 2014 Martin Preisler <[email protected]> 1.0.1-1 |
| 145 | +- Updated to new upstream release 1.0.1 |
| 146 | + |
| 147 | +* Mon Aug 18 2014 Fedora Release Engineering <[email protected]> - 1.0.0-2 |
| 148 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
| 149 | + |
| 150 | +* Fri Jun 27 2014 Martin Preisler <[email protected]> 1.0.0-1 |
| 151 | +- Updated to new version |
| 152 | + |
| 153 | +* Tue Jun 10 2014 Martin Preisler <[email protected]> 0.8.9-1 |
| 154 | +- Updated to new version |
| 155 | +- appdata is now available |
| 156 | + |
| 157 | +* Sun Jun 08 2014 Fedora Release Engineering <[email protected]> - 0.8.8-2 |
| 158 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
| 159 | + |
| 160 | +* Wed Mar 26 2014 Martin Preisler <[email protected]> 0.8.8-1 |
| 161 | +- Updated to new version |
| 162 | + |
| 163 | +* Wed Feb 19 2014 Martin Preisler <[email protected]> 0.8.7-1 |
| 164 | +- Updated to new version |
| 165 | + |
| 166 | +* Thu Jan 30 2014 Martin Preisler <[email protected]> 0.8.6-1 |
| 167 | +- Updated to new version |
| 168 | +- Require polkit |
| 169 | + |
| 170 | +* Mon Jan 20 2014 Martin Preisler <[email protected]> 0.8.5-2 |
| 171 | +- Require openssh-askpass for GUI openssh challenge responses |
| 172 | + |
| 173 | +* Fri Jan 10 2014 Martin Preisler <[email protected]> 0.8.5-1 |
| 174 | +- Updated to new version |
| 175 | + |
| 176 | +* Mon Dec 09 2013 Martin Preisler <[email protected]> 0.8.4-1 |
| 177 | +- Updated to new version |
| 178 | + |
| 179 | +* Fri Nov 29 2013 Martin Preisler <[email protected]> 0.8.3-1 |
| 180 | +- Updated to new version |
| 181 | +- Added measures to deal with unversioned pkgdocdir in Fedora 20+ |
| 182 | + |
| 183 | +* Mon Nov 18 2013 Martin Preisler <[email protected]> 0.8.2-2 |
| 184 | +- Removed the openscap detection workaround, it is no longer needed with openscap 0.9.13 |
| 185 | + |
| 186 | +* Wed Oct 30 2013 Martin Preisler <[email protected]> 0.8.2-1 |
| 187 | +- Updated to new version |
| 188 | +- Added a workaround to the cmake invocation because of faulty openscap .pc file |
| 189 | + |
| 190 | +* Fri Sep 20 2013 Martin Preisler <[email protected]> 0.8.1-1 |
| 191 | +- Updated to new version |
| 192 | + |
| 193 | +* Sun Aug 04 2013 Fedora Release Engineering <[email protected]> - 0.8.0-2 |
| 194 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
| 195 | + |
| 196 | +* Thu Jul 04 2013 Martin Preisler <[email protected]> 0.8.0-1 |
| 197 | +- Initial release of the rewritten workbench |
0 commit comments