|
F1ash |
b251aa1 |
%global cmake_build_dir build-cmake
|
|
F1ash |
b251aa1 |
%global app_name DNSCryptClient
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
Name: dnscrypt-proxy-gui
|
|
F1ash |
08c7a17 |
Version: 1.11.10
|
|
F1ash |
4ee36a2 |
Release: 1%{?dist}
|
|
F1ash |
b251aa1 |
Summary: GUI wrapper for dnscrypt-proxy
|
|
F1ash |
b251aa1 |
License: GPLv2+
|
|
F1ash |
b251aa1 |
Source0: https://github.com/F1ash/%{name}/archive/%{version}.tar.gz
|
|
F1ash |
b251aa1 |
URL: https://github.com/F1ash/%{name}
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
Requires: qt5-qtbase
|
|
F1ash |
b251aa1 |
Requires: kf5-kauth
|
|
F1ash |
b251aa1 |
Requires: kf5-knotifications
|
|
F1ash |
b251aa1 |
Requires: systemd
|
|
F1ash |
b251aa1 |
Requires: polkit
|
|
F1ash |
b251aa1 |
Requires: dnscrypt-proxy
|
|
F1ash |
b251aa1 |
Requires: hicolor-icon-theme
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
BuildRequires: gcc-c++
|
|
F1ash |
b251aa1 |
BuildRequires: cmake
|
|
F1ash |
7056999 |
BuildRequires: glibc-headers
|
|
F1ash |
b251aa1 |
BuildRequires: desktop-file-utils
|
|
F1ash |
b251aa1 |
BuildRequires: qt5-qtbase-devel
|
|
F1ash |
b251aa1 |
BuildRequires: kf5-kauth-devel
|
|
F1ash |
b251aa1 |
BuildRequires: kf5-knotifications-devel
|
|
F1ash |
b251aa1 |
BuildRequires: extra-cmake-modules
|
|
F1ash |
b251aa1 |
%{?systemd_requires}
|
|
F1ash |
b251aa1 |
BuildRequires: systemd
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
%description
|
|
F1ash |
b251aa1 |
The Qt/KF5 GUI wrapper over dnscrypt-proxy
|
|
F1ash |
b251aa1 |
for encrypting all DNS traffic between the user and DNS resolvers,
|
|
F1ash |
b251aa1 |
preventing any spying, spoofing or man-in-the-middle attacks.
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
%prep
|
|
F1ash |
b251aa1 |
%setup -q
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
%build
|
|
F1ash |
b251aa1 |
mkdir %{cmake_build_dir}
|
|
F1ash |
b251aa1 |
pushd %{cmake_build_dir}
|
|
F1ash |
b251aa1 |
%cmake ..
|
|
F1ash |
b251aa1 |
%{make_build}
|
|
F1ash |
b251aa1 |
popd
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
%install
|
|
F1ash |
b251aa1 |
pushd %{cmake_build_dir}
|
|
F1ash |
b251aa1 |
%{make_install}
|
|
F1ash |
b251aa1 |
popd
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
%check
|
|
F1ash |
b251aa1 |
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{app_name}.desktop
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
%post
|
|
F1ash |
b251aa1 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
F1ash |
b251aa1 |
%systemd_post %{app_name}@.service
|
|
F1ash |
59a6a66 |
%systemd_post %{app_name}_test@.service
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
%preun
|
|
F1ash |
b251aa1 |
%systemd_preun %{app_name}@.service
|
|
F1ash |
59a6a66 |
%systemd_preun %{app_name}_test@.service
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
%postun
|
|
F1ash |
b251aa1 |
if [ $1 -eq 0 ] ; then
|
|
F1ash |
b251aa1 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
F1ash |
b251aa1 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
F1ash |
b251aa1 |
fi
|
|
F1ash |
b251aa1 |
%systemd_postun %{app_name}@.service
|
|
F1ash |
59a6a66 |
%systemd_postun %{app_name}_test@.service
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
%posttrans
|
|
F1ash |
b251aa1 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
%files
|
|
F1ash |
b251aa1 |
%license LICENSE
|
|
F1ash |
b251aa1 |
%doc README.md
|
|
F1ash |
b251aa1 |
%{_bindir}/%{app_name}
|
|
F1ash |
b251aa1 |
%{_datadir}/applications/%{app_name}.desktop
|
|
F1ash |
4ee36a2 |
%{_libexecdir}/kf5/kauth/dnscrypt_client_helper
|
|
F1ash |
b251aa1 |
%{_datadir}/dbus-1/system-services/pro.russianfedora.dnscryptclient.service
|
|
F1ash |
b251aa1 |
%{_datadir}/polkit-1/actions/pro.russianfedora.dnscryptclient.policy
|
|
F1ash |
b251aa1 |
%{_sysconfdir}/dbus-1/system.d/pro.russianfedora.dnscryptclient.conf
|
|
F1ash |
4ee36a2 |
%{_libexecdir}/kf5/kauth/dnscrypt_client_test_helper
|
|
F1ash |
4ee36a2 |
%{_datadir}/dbus-1/system-services/pro.russianfedora.dnscryptclienttest.service
|
|
F1ash |
4ee36a2 |
%{_datadir}/polkit-1/actions/pro.russianfedora.dnscryptclienttest.policy
|
|
F1ash |
4ee36a2 |
%{_sysconfdir}/dbus-1/system.d/pro.russianfedora.dnscryptclienttest.conf
|
|
F1ash |
4ee36a2 |
%{_libexecdir}/kf5/kauth/dnscrypt_client_reload_helper
|
|
F1ash |
4ee36a2 |
%{_datadir}/dbus-1/system-services/pro.russianfedora.dnscryptclientreload.service
|
|
F1ash |
4ee36a2 |
%{_datadir}/polkit-1/actions/pro.russianfedora.dnscryptclientreload.policy
|
|
F1ash |
4ee36a2 |
%{_sysconfdir}/dbus-1/system.d/pro.russianfedora.dnscryptclientreload.conf
|
|
F1ash |
b251aa1 |
%{_datadir}/knotifications5/%{app_name}.notifyrc
|
|
F1ash |
b251aa1 |
%{_unitdir}/%{app_name}@.service
|
|
F1ash |
59a6a66 |
%{_unitdir}/%{app_name}_test@.service
|
|
F1ash |
b251aa1 |
%{_datadir}/icons/hicolor/64x64/apps/%{app_name}.png
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
%changelog
|
|
F1ash |
08c7a17 |
* Wed Jun 28 2017 Fl@sh <kaperang07@gmail.com> - 1.11.10-1
|
|
F1ash |
08c7a17 |
- version updated;
|
|
F1ash |
08c7a17 |
|
|
F1ash |
d5e2759 |
* Tue Jun 27 2017 Fl@sh <kaperang07@gmail.com> - 1.10.10-1
|
|
F1ash |
d5e2759 |
- version updated;
|
|
F1ash |
d5e2759 |
|
|
F1ash |
d5e2759 |
* Thu Jun 22 2017 Fl@sh <kaperang07@gmail.com> - 1.10.9-1
|
|
F1ash |
d5e2759 |
- version updated;
|
|
F1ash |
d5e2759 |
|
|
F1ash |
4ee36a2 |
* Sat Jun 3 2017 Fl@sh <kaperang07@gmail.com> - 1.10.8-1
|
|
F1ash |
4ee36a2 |
- changed %%files for reload_helper;
|
|
F1ash |
4ee36a2 |
- version updated;
|
|
F1ash |
4ee36a2 |
|
|
F1ash |
4ee36a2 |
* Mon May 22 2017 Fl@sh <kaperang07@gmail.com> - 1.9.8-1
|
|
F1ash |
4ee36a2 |
- changed %%files for test_helper;
|
|
F1ash |
4ee36a2 |
- version updated;
|
|
F1ash |
4ee36a2 |
|
|
F1ash |
06c1b85 |
* Mon Mar 27 2017 Fl@sh <kaperang07@gmail.com> - 1.6.8-2
|
|
F1ash |
06c1b85 |
- release updated;
|
|
F1ash |
06c1b85 |
|
|
F1ash |
59a6a66 |
* Mon Mar 27 2017 Fl@sh <kaperang07@gmail.com> - 1.6.8-1
|
|
F1ash |
59a6a66 |
- version updated;
|
|
F1ash |
59a6a66 |
- changed %%post, %%preun, %%postun, %%files for new systemd unit;
|
|
|
3886af3 |
|
|
F1ash |
7056999 |
* Sun Jan 29 2017 Fl@sh <kaperang07@gmail.com> - 1.5.7-1
|
|
F1ash |
7056999 |
- version updated;
|
|
F1ash |
7056999 |
|
|
F1ash |
7056999 |
* Tue Jan 10 2017 Fl@sh <kaperang07@gmail.com> - 1.3.7-1
|
|
F1ash |
7056999 |
- version updated;
|
|
F1ash |
7056999 |
|
|
F1ash |
b251aa1 |
* Fri Dec 16 2016 Fl@sh <kaperang07@gmail.com> - 1.2.3-4
|
|
F1ash |
b251aa1 |
- removed dbus-1 R;
|
|
F1ash |
b251aa1 |
- release updated;
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
* Wed Dec 7 2016 Fl@sh <kaperang07@gmail.com> - 1.2.3-3
|
|
F1ash |
b251aa1 |
- returned gcc-c++ BR;
|
|
F1ash |
b251aa1 |
- release updated;
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
* Wed Dec 7 2016 Fl@sh <kaperang07@gmail.com> - 1.2.3-2
|
|
F1ash |
b251aa1 |
- removed gcc-c++ BR, fixed dbus-1 R;
|
|
F1ash |
b251aa1 |
- added scriptlets for update Icon_Cache;
|
|
F1ash |
b251aa1 |
- added %%license in %%files;
|
|
F1ash |
b251aa1 |
- release updated;
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
* Wed Dec 7 2016 Fl@sh <kaperang07@gmail.com> - 1.2.3-1
|
|
F1ash |
b251aa1 |
- enhanced Summary and %%description;
|
|
F1ash |
b251aa1 |
- removed useless socket unit from scriplets and %%files;
|
|
F1ash |
b251aa1 |
- version updated;
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
* Mon Nov 28 2016 Fl@sh <kaperang07@gmail.com> - 1.2.2-4
|
|
F1ash |
b251aa1 |
- added cmake, gcc-c++ BR;
|
|
F1ash |
b251aa1 |
- added systemd scriptlets;
|
|
F1ash |
b251aa1 |
- release updated;
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
* Sun Nov 27 2016 Fl@sh <kaperang07@gmail.com> - 1.2.2-3
|
|
F1ash |
b251aa1 |
- changed package name to comply with the NamingGuidelines;
|
|
F1ash |
b251aa1 |
- release updated;
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
* Fri Nov 25 2016 Fl@sh <kaperang07@gmail.com> - 1.2.2-2
|
|
F1ash |
b251aa1 |
- changed package name to comply with the NamingGuidelines;
|
|
F1ash |
b251aa1 |
- release updated;
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
* Fri Nov 25 2016 Fl@sh <kaperang07@gmail.com> - 1.2.2-1
|
|
F1ash |
b251aa1 |
- version updated;
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
* Tue Nov 22 2016 Fl@sh <kaperang07@gmail.com> - 1.0.0-2
|
|
F1ash |
b251aa1 |
- enhanced Summary and %%description;
|
|
F1ash |
b251aa1 |
- release updated;
|
|
F1ash |
b251aa1 |
|
|
F1ash |
b251aa1 |
* Mon Nov 21 2016 Fl@sh <kaperang07@gmail.com> - 1.0.0-1
|
|
F1ash |
b251aa1 |
- Initial build
|