|
|
9ef040f |
# This package depends on automagic byte compilation
|
|
|
9ef040f |
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
|
|
|
9ef040f |
%global _python_bytecompile_extra 1
|
|
|
9ef040f |
|
|
Kevin Kofler |
966f2f1 |
%global snapdate 20161006
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
Name: ufw-kde
|
|
Kevin Kofler |
966f2f1 |
Version: 0.5.0
|
|
|
b482b8e |
Release: 0.12.%{snapdate}git%{?dist}
|
|
Kevin Kofler |
966f2f1 |
Summary: UFW control module for KDE
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
# Some files GPLv3 only, some files GPLv2+
|
|
Kevin Kofler |
966f2f1 |
License: GPLv3
|
|
Kevin Kofler |
966f2f1 |
URL: https://projects.kde.org/projects/playground/sysadmin/ufw-kde
|
|
Kevin Kofler |
966f2f1 |
Source0: ufw-kde-%{version}-%{snapdate}.tar.xz
|
|
Kevin Kofler |
966f2f1 |
# releaseme (kdelibs4 branch) scripts used to generate the above source tarball:
|
|
Kevin Kofler |
966f2f1 |
Source1: ufw-kde.rb
|
|
Kevin Kofler |
966f2f1 |
Source2: ufw-kderc
|
|
Kevin Kofler |
966f2f1 |
# standalone .desktop file to invoke UFW-KDE outside of systemsettings 4
|
|
Kevin Kofler |
966f2f1 |
Source3: ufw-kde.desktop
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
# do not use #!/usr/bin/env for the Python helper
|
|
Kevin Kofler |
966f2f1 |
Patch0: ufw-kde-0.5.0-no-env.patch
|
|
Kevin Kofler |
1cb750b |
# rename strings.* to i18nstrings.* to work around strings.h name conflict
|
|
Kevin Kofler |
1cb750b |
# (#1556517, #1606605)
|
|
Kevin Kofler |
1cb750b |
Patch1: ufw-kde-0.5.0-rename-strings-h.patch
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
BuildRequires: cmake
|
|
Kevin Kofler |
966f2f1 |
BuildRequires: kdelibs4-devel
|
|
Kevin Kofler |
966f2f1 |
BuildRequires: gettext
|
|
Kevin Kofler |
966f2f1 |
BuildRequires: python3-devel
|
|
Kevin Kofler |
966f2f1 |
# bytecompile with Python 3
|
|
Kevin Kofler |
966f2f1 |
%global __python %{__python3}
|
|
Kevin Kofler |
966f2f1 |
# for desktop-file-install
|
|
Kevin Kofler |
966f2f1 |
BuildRequires: desktop-file-utils
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
Requires: ufw
|
|
Kevin Kofler |
966f2f1 |
Requires: python3
|
|
Kevin Kofler |
966f2f1 |
# for kcmshell4, used in the standalone .desktop file
|
|
Kevin Kofler |
966f2f1 |
Requires: kde-runtime
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
%description
|
|
Kevin Kofler |
966f2f1 |
KDE KControl Module to configure and control the Uncomplicated Firewall (UFW).
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
%prep
|
|
Kevin Kofler |
966f2f1 |
%setup -q
|
|
Kevin Kofler |
966f2f1 |
%patch0 -p1 -b .no-env
|
|
Kevin Kofler |
1cb750b |
%patch1 -p1 -b .rename-strings-h
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
%build
|
|
Kevin Kofler |
966f2f1 |
mkdir -p %{_target_platform}
|
|
Kevin Kofler |
966f2f1 |
pushd %{_target_platform}
|
|
Kevin Kofler |
966f2f1 |
%{cmake_kde4} ../
|
|
Kevin Kofler |
966f2f1 |
popd
|
|
Kevin Kofler |
966f2f1 |
make %{?_smp_mflags} -C %{_target_platform}
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
%install
|
|
Kevin Kofler |
966f2f1 |
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
Kevin Kofler |
966f2f1 |
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE3}
|
|
Kevin Kofler |
966f2f1 |
%find_lang %{name} --all-name --with-kde
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
%files -f %{name}.lang
|
|
Kevin Kofler |
966f2f1 |
%license COPYING
|
|
Kevin Kofler |
966f2f1 |
%doc AUTHORS ChangeLog README TODO
|
|
Kevin Kofler |
966f2f1 |
%{_kde4_sysconfdir}/dbus-1/system.d/org.kde.ufw.conf
|
|
Kevin Kofler |
966f2f1 |
%{_kde4_libdir}/kde4/kcm_ufw.so
|
|
Kevin Kofler |
966f2f1 |
%{_kde4_libexecdir}/kcm_ufw_helper
|
|
Kevin Kofler |
966f2f1 |
%{_kde4_libexecdir}/kcm_ufw_helper.py
|
|
Kevin Kofler |
966f2f1 |
%{_kde4_libexecdir}/__pycache__/
|
|
Kevin Kofler |
966f2f1 |
%{_kde4_datadir}/dbus-1/services/org.kde.ufw.service
|
|
Kevin Kofler |
966f2f1 |
%{_kde4_datadir}/dbus-1/system-services/org.kde.ufw.service
|
|
Kevin Kofler |
966f2f1 |
%{_kde4_datadir}/kde4/services/ufw.desktop
|
|
Kevin Kofler |
966f2f1 |
%{_kde4_datadir}/polkit-1/actions/org.kde.ufw.policy
|
|
Kevin Kofler |
966f2f1 |
%{_kde4_appsdir}/kcm_ufw/
|
|
Kevin Kofler |
966f2f1 |
%{_datadir}/applications/ufw-kde.desktop
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
%changelog
|
|
|
b482b8e |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-0.12.20161006git
|
|
|
b482b8e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
b482b8e |
|
|
Kevin Kofler |
1cb750b |
* Fri Jan 04 2019 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.5.0-0.11.20161006git
|
|
Kevin Kofler |
1cb750b |
- rename strings.* to work around strings.h name conflict (#1556517, #1606605)
|
|
Kevin Kofler |
1cb750b |
|
|
|
c4a24eb |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-0.10.20161006git
|
|
|
c4a24eb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c4a24eb |
|
|
|
8f4b7b9 |
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 0.5.0-0.9.20161006git
|
|
|
8f4b7b9 |
- Rebuilt for Python 3.7
|
|
|
8f4b7b9 |
|
|
|
3f94c8d |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-0.8.20161006git
|
|
|
3f94c8d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3f94c8d |
|
|
|
bc459cd |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-0.7.20161006git
|
|
|
bc459cd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
bc459cd |
|
|
|
dd29089 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-0.6.20161006git
|
|
|
dd29089 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
dd29089 |
|
|
Kevin Kofler |
4acbdbd |
* Mon Feb 06 2017 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.5.0-0.5.20161006git
|
|
Kevin Kofler |
4acbdbd |
- Bump Release for official build
|
|
Kevin Kofler |
4acbdbd |
|
|
Kevin Kofler |
966f2f1 |
* Sun Feb 05 2017 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.5.0-0.4.20161006git
|
|
Kevin Kofler |
966f2f1 |
- Do not use #!/usr/bin/env for the Python helper
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
* Thu Oct 06 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.5.0-0.3.20161006git
|
|
Kevin Kofler |
966f2f1 |
- New snapshot with (only) some translation updates
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
* Mon Aug 17 2015 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.5.0-0.2.20150817git
|
|
Kevin Kofler |
966f2f1 |
- New snapshot with (only) some translation updates
|
|
Kevin Kofler |
966f2f1 |
- Add standalone .desktop file to invoke UFW-KDE outside of systemsettings 4
|
|
Kevin Kofler |
966f2f1 |
- Change COPYING from %%doc to %%license
|
|
Kevin Kofler |
966f2f1 |
|
|
Kevin Kofler |
966f2f1 |
* Mon Jan 12 2015 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.5.0-0.1.20150112git
|
|
Kevin Kofler |
966f2f1 |
- Initial package
|