Name: kppp Summary: Dialer and Front end for pppd Version: 17.04.2 Release: 1%{?dist} License: GPLv2+ and GFDL URL: https://cgit.kde.org/%{name}.git %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz Source1: kppp.console Source2: kppp.pam # rhbz#540433 - KPPP is unable to add DNS entries to /etc/resolv.conf Patch2: kdenetwork-4.3.3-resolv-conf-path.patch # warning: dereferencing type-punned pointer will break strict-aliasing rules Patch5: kppp-15.12.1-no_strict_aliasing.patch BuildRequires: desktop-file-utils BuildRequires: kdelibs4-devel >= 4.14 %{?kde_runtime_requires} Requires: ppp # use consolehelper instead of setuid kppp Requires: usermode-gtk # when split occurred Conflicts: kdenetwork-common < 7:4.10.80 Obsoletes: kdenetwork-kppp < 7:4.10.80 Provides: kdenetwork-kppp = 7:%{version}-%{release} %description %{summary}. %prep %setup -q %patch2 -p2 -b .resolv-conf-path %patch5 -p1 -b .no_strict_aliasing %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} # Run kppp through consolehelper mkdir -p %{buildroot}%{_sbindir} chmod 0755 %{buildroot}%{_bindir}/kppp mv %{buildroot}%{_bindir}/kppp %{buildroot}%{_sbindir}/ ln -s consolehelper %{buildroot}%{_bindir}/kppp install -D -m644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kppp install -D -m644 -p %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kppp %check desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/Kppp.desktop desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/kppplogview.desktop %post touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || : %posttrans gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || : gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || : fi %files %doc AUTHORS README %license COPYING* %{_sbindir}/kppp %{_kde4_bindir}/kppp* %config(noreplace) %{_sysconfdir}/security/console.apps/kppp %config(noreplace) %{_sysconfdir}/pam.d/kppp %{_kde4_appsdir}/kppp/ %{_kde4_datadir}/applications/kde4/Kppp.desktop %{_kde4_datadir}/applications/kde4/kppplogview.desktop %{_kde4_iconsdir}/hicolor/*/apps/kppp.* %{_datadir}/dbus-1/interfaces/org.kde.kppp.xml %lang(en) %{_kde4_docdir}/HTML/en/kppp/ %changelog * Thu Jun 15 2017 Rex Dieter - 17.04.2-1 - 17.04.2 * Sun Jun 04 2017 Rex Dieter - 17.04.1-1 - 17.04.1 * Thu Mar 09 2017 Rex Dieter - 16.12.3-1 - 16.12.3 * Thu Feb 09 2017 Rex Dieter - 16.12.2-1 - 16.12.2 * Tue Jan 10 2017 Rex Dieter - 16.12.1-1 - 16.12.1 * Mon Dec 05 2016 Rex Dieter - 16.08.3-1 - 16.08.3 * Thu Oct 13 2016 Rex Dieter - 16.08.2-1 - 16.08.2 * Wed Sep 07 2016 Rex Dieter - 16.08.1-1 - 16.08.1 * Sat Aug 13 2016 Rex Dieter - 16.08.0-1 - 16.08.0 * Sat Aug 06 2016 Rex Dieter - 16.07.90-1 - 16.07.90 * Sun Jul 31 2016 Rex Dieter - 16.07.80-1 - 16.07.80 * Sat Jul 09 2016 Rex Dieter - 16.04.3-1 - 16.04.3 * Sun Jun 12 2016 Rex Dieter - 16.04.2-1 - 16.04.2 * Sun May 08 2016 Rex Dieter - 16.04.1-1 - 16.04.1 * Tue Apr 19 2016 Rex Dieter - 16.04.0-1 - 16.04.0 * Tue Mar 15 2016 Rex Dieter - 15.12.3-1 - 15.12.3 * Mon Feb 15 2016 Rex Dieter - 15.12.2-1 - 15.12.2 * Thu Feb 04 2016 Fedora Release Engineering - 15.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Jan 10 2016 Rex Dieter - 15.12.1-1 - 15.12.1 * Sat Dec 05 2015 Rex Dieter - 15.08.3-1 - 15.08.3 * Thu Aug 20 2015 Than Ngo - 15.08.0-1 - 15.08.0 * Wed Jun 17 2015 Fedora Release Engineering - 15.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 10 2015 Rex Dieter - 15.04.2-1 - 15.04.2 * Thu May 28 2015 Rex Dieter - 15.04.1-1 - 15.04.1 * Sat Apr 18 2015 Rex Dieter - 15.04.0-1 - 15.04.0 * Sun Mar 01 2015 Rex Dieter - 14.12.3-1 - 14.12.3 * Tue Feb 24 2015 Than Ngo - 14.12.2-1 - 14.12.2 * Sat Jan 17 2015 Rex Dieter - 14.12.1-1 - 14.12.1 * Sun Nov 09 2014 Rex Dieter - 4.14.3-1 - 4.14.3 * Sun Oct 12 2014 Rex Dieter - 4.14.2-1 - 4.14.2 * Tue Sep 16 2014 Rex Dieter - 4.14.1-1 - 4.14.1 * Sun Aug 17 2014 Fedora Release Engineering - 4.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Aug 15 2014 Rex Dieter - 4.14.0-1 - 4.14.0 * Tue Aug 05 2014 Rex Dieter - 4.13.97-1 - 4.13.97 * Tue Jul 15 2014 Rex Dieter - 4.13.3-1 - 4.13.3 * Mon Jun 09 2014 Rex Dieter - 4.13.2-1 - 4.13.2 * Sun Jun 08 2014 Fedora Release Engineering - 4.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun May 11 2014 Rex Dieter - 4.13.1-1 - 4.13.1 * Sat Apr 12 2014 Rex Dieter - 4.13.0-1 - 4.13.0 * Fri Apr 04 2014 Rex Dieter - 4.12.97-1 - 4.12.97 * Sun Mar 23 2014 Rex Dieter - 4.12.95-1 - 4.12.95 * Wed Mar 19 2014 Rex Dieter - 4.12.90-1 - 4.12.90 * Sun Mar 02 2014 Rex Dieter - 4.12.3-1 - 4.12.3 * Fri Jan 31 2014 Rex Dieter - 4.12.2-1 - 4.12.2 * Fri Jan 10 2014 Rex Dieter - 4.12.1-1 - 4.12.1 * Thu Dec 19 2013 Rex Dieter - 4.12.0-1 - 4.12.0 * Sun Dec 01 2013 Rex Dieter - 4.11.97-1 - 4.11.97 * Thu Nov 21 2013 Rex Dieter - 4.11.95-1 - 4.11.95 * Sat Nov 16 2013 Rex Dieter - 4.11.90-1 - 4.11.90 * Sat Nov 02 2013 Rex Dieter - 4.11.3-1 - 4.11.3 * Sat Sep 28 2013 Rex Dieter - 4.11.2-1 - 4.11.2 * Wed Sep 04 2013 Rex Dieter - 4.11.1-1 - 4.11.1 * Sun Aug 11 2013 Rex Dieter 4.11.0-1 - 4.11.0 * Tue Jul 30 2013 Rex Dieter 4.10.97-1 - 4.10.97 * Wed Jul 24 2013 Rex Dieter 4.10.95-1 - 4.10.95 * Fri Jun 28 2013 Rex Dieter - 4.10.90-1 - 4.10.90