Dan Vrátil 4c866a0
%global framework kinit
Rex Dieter 0a706b6
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
Name:           kf5-%{framework}
Dan Vrátil c8a54e3
Version:        5.16.0
Dan Vrátil 65efc2b
Release:        1%{?dist}
Dan Vrátil 403bdf0
Summary:        KDE Frameworks 5 tier 3 solution for process launching
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
License:        LGPLv2+ and BSD
Dan Vrátil 403bdf0
URL:            http://www.kde.org
Dan Vrátil dd8d8c2
Dan Vrátil 431dfc4
%global versiondir %(echo %{version} | cut -d. -f1-2)
Dan Vrátil dd8d8c2
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil dd8d8c2
%if %{revision} >= 50
Dan Vrátil dd8d8c2
%global stable unstable
Dan Vrátil dd8d8c2
%else
Dan Vrátil dd8d8c2
%global stable stable
Dan Vrátil dd8d8c2
%endif
Dan Vrátil 431dfc4
Source0:        http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
Dan Vrátil 403bdf0
Rex Dieter 0a706b6
Source10:       macros.kf5-kinit
Rex Dieter 0a706b6
Dan Vrátil 403bdf0
BuildRequires:  libX11-devel
Dan Vrátil 403bdf0
Dan Vrátil 8f54fef
BuildRequires:  kf5-rpm-macros >= %{version}
Dan Vrátil 8f54fef
BuildRequires:  extra-cmake-modules >= %{version}
Dan Vrátil 403bdf0
BuildRequires:  qt5-qtbase-devel
Dan Vrátil 403bdf0
Dan Vrátil 8f54fef
BuildRequires:  kf5-kservice-devel >= %{version}
Dan Vrátil 8f54fef
BuildRequires:  kf5-kio-devel >= %{version}
Dan Vrátil 8f54fef
BuildRequires:  kf5-ki18n-devel >= %{version}
Dan Vrátil 8f54fef
BuildRequires:  kf5-kwindowsystem-devel >= %{version}
Dan Vrátil 8f54fef
BuildRequires:  kf5-kcrash-devel >= %{version}
Dan Vrátil 8f54fef
BuildRequires:  kf5-kconfig-devel >= %{version}
Dan Vrátil 8f54fef
BuildRequires:  kf5-kdoctools-devel >= %{version}
Dan Vrátil 403bdf0
Dan Vrátil 8f54fef
Requires:       kf5-filesystem >= %{version}
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
%description
Dan Vrátil 403bdf0
kdeinit is a process launcher somewhat similar to the famous init used for
Dan Vrátil 403bdf0
booting UNIX.
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
It launches processes by forking and then loading a dynamic library which should
Dan Vrátil 403bdf0
contain a 'kdemain(...)' function.
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
%package        devel
Dan Vrátil 403bdf0
Summary:        Development files for %{name}
Dan Vrátil 403bdf0
Requires:       %{name}%{?_isa} = %{version}-%{release}
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
%description    devel
Dan Vrátil 403bdf0
The %{name}-devel package contains libraries and header files for
Dan Vrátil 403bdf0
developing applications that use %{name}.
Dan Vrátil 403bdf0
Dan Vrátil dd8d8c2
Dan Vrátil 403bdf0
%prep
Dan Vrátil 403bdf0
%setup -q -n %{framework}-%{version}
Dan Vrátil 403bdf0
Rex Dieter 0c5f8bc
Dan Vrátil 403bdf0
%build
Rex Dieter 0c5f8bc
mkdir %{_target_platform}
Dan Vrátil 403bdf0
pushd %{_target_platform}
Dan Vrátil 403bdf0
%{cmake_kf5} ..
Dan Vrátil 403bdf0
popd
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil 403bdf0
Rex Dieter 0c5f8bc
Dan Vrátil 403bdf0
%install
Dan Vrátil c23a267
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Rex Dieter 0c5f8bc
%find_lang kinit5_qt --with-man --with-qt --all-name
Dan Vrátil 403bdf0
Rex Dieter 0a706b6
# rpm macros
Rex Dieter 0a706b6
install -p -m644 -D %{SOURCE10} \
Rex Dieter 0a706b6
  %{buildroot}%{rpm_macros_dir}/macros.%{name}
Rex Dieter 0a706b6
Dan Vrátil 403bdf0
Dan Vrátil dd8d8c2
%post -p /sbin/ldconfig
Dan Vrátil 403bdf0
%postun -p /sbin/ldconfig
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
%files -f kinit5_qt.lang
Dan Vrátil 403bdf0
%doc COPYING.LIB README.md
Dan Vrátil 403bdf0
%{_kf5_bindir}/*
Dan Vrátil 403bdf0
%{_kf5_libdir}/libkdeinit5_klauncher.so
Dan Vrátil 403bdf0
%{_kf5_libexecdir}/*
Rex Dieter 0c5f8bc
%{_kf5_mandir}/man8/kdeinit5.8*
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
%files devel
Rex Dieter 0c5f8bc
%{_kf5_libdir}/cmake/KF5Init/
Dan Vrátil 403bdf0
%{_kf5_datadir}/dbus-1/interfaces/*.xml
Rex Dieter 0a706b6
%{rpm_macros_dir}/macros.%{name}
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
%changelog
Dan Vrátil c8a54e3
* Sun Nov 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.16.0-1
Dan Vrátil c8a54e3
- KDE Frameworks 5.16.0
Dan Vrátil c8a54e3
Dan Vrátil 3dab6fd
* Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1
Dan Vrátil 3dab6fd
- KDE Frameworks 5.15.0
Dan Vrátil 3dab6fd
Dan Vrátil 79cefd0
* Wed Sep 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.14.0-1
Dan Vrátil 79cefd0
- KDE Frameworks 5.14.0
Dan Vrátil 79cefd0
Dan Vrátil 8f54fef
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil 8f54fef
- KDE Frameworks 5.13.0
Dan Vrátil 8f54fef
Dan Vrátil 8f54fef
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil 8f54fef
- KDE Frameworks 5.13.0
Dan Vrátil 8f54fef
Dan Vrátil 8f54fef
* Tue Aug 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-0.1
Dan Vrátil 8f54fef
- KDE Frameworks 5.13
Dan Vrátil 8f54fef
Dan Vrátil 65efc2b
* Fri Jul 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.12.0-1
Dan Vrátil 65efc2b
- KDE Frameworks 5.12.0
Dan Vrátil 65efc2b
897c6a5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
897c6a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
897c6a5
Dan Vrátil 86dad8f
* Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
Dan Vrátil 86dad8f
- KDE Frameworks 5.11.0
Dan Vrátil 86dad8f
Rex Dieter 0a706b6
* Mon Jun 01 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-3
Rex Dieter 0a706b6
- -devel: add %%{kf5_kinit_requires} macro
Rex Dieter 0a706b6
Rex Dieter 0c5f8bc
* Wed May 20 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-2
Rex Dieter 0c5f8bc
- .spec cosmetics
Rex Dieter 0c5f8bc
- Backport klauncher QT_NO_GLIB hack (#983110)
Rex Dieter 0c5f8bc
- %%lang'ify translated manpages
Rex Dieter 0c5f8bc
Dan Vrátil 92aff2e
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
Dan Vrátil 92aff2e
- KDE Frameworks 5.10.0
Dan Vrátil 92aff2e
Dan Vrátil 8481d51
* Tue Apr 07 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
Dan Vrátil 8481d51
- KDE Frameworks 5.9.0
Dan Vrátil 8481d51
Dan Vrátil 3f25d10
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-1
Dan Vrátil 3f25d10
- KDE Frameworks 5.8.0
Dan Vrátil 3f25d10
Dan Vrátil 9095546
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
Dan Vrátil 9095546
- Rebuild (GCC 5)
Dan Vrátil 9095546
Dan Vrátil 9edf28a
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil 9edf28a
- KDE Frameworks 5.7.0
Dan Vrátil 9edf28a
Dan Vrátil 9edf28a
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil 9edf28a
- KDE Frameworks 5.7.0
Dan Vrátil 9edf28a
Dan Vrátil 6638054
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
Dan Vrátil 6638054
- KDE Frameworks 5.6.0
Dan Vrátil 6638054
Dan Vrátil 431dfc4
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
Dan Vrátil 431dfc4
- KDE Frameworks 5.5.0
Dan Vrátil 431dfc4
Dan Vrátil 8d4eef2
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil 3651c23
- KDE Frameworks 5.4.0
Dan Vrátil 3651c23
Dan Vrátil 8d4eef2
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil ae5987a
- KDE Frameworks 5.3.0
Dan Vrátil ae5987a
Dan Vrátil 8d4eef2
* Mon Sep 15 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil e064924
- KDE Frameworks 5.2.0
Dan Vrátil e064924
bf20e14
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
bf20e14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
bf20e14
Dan Vrátil 8d4eef2
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil 8294356
- KDE Frameworks 5.1.0
Dan Vrátil 8294356
Dan Vrátil 8d4eef2
* Fri Jul 18 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-2
Dan Vrátil 04f0104
- Downstream patch to fix hardcoded libexec paths in start_kdeinit_wrapper
Dan Vrátil 04f0104
Dan Vrátil 8d4eef2
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil 316057b
- KDE Frameworks 5.0.0
Dan Vrátil 316057b
Dan Vrátil 8d4eef2
* Sun Jun 29 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-2
Dan Vrátil 403bdf0
- Fix license
Dan Vrátil 403bdf0
Dan Vrátil 8d4eef2
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil 403bdf0
- KDE Frameworks 4.100.0
Dan Vrátil 403bdf0
Dan Vrátil 8d4eef2
* Mon May 19 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-3
Dan Vrátil 403bdf0
- Rebuild with new BIN_INSTALL_DIR and KF5_LIBEXEC_INSTALL_DIR
Dan Vrátil 403bdf0
Dan Vrátil 8d4eef2
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-1
Dan Vrátil 403bdf0
- KDE Frameworks 4.99.0
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil 403bdf0
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil 403bdf0
Dan Vrátil 8d4eef2
* Mon Mar 24 2014 Daniel Vrátil <dvratil@redhat.com> 4.97.0-2
Dan Vrátil 403bdf0
- Add patch for kinit to respect PATH and LD_LIBRARY_PATH
Dan Vrátil 403bdf0
Dan Vrátil 403bdf0
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil 403bdf0
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil 403bdf0
Dan Vrátil 8d4eef2
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
Dan Vrátil 403bdf0
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
Dan Vrátil 403bdf0
Dan Vrátil 8d4eef2
* Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140205git
Dan Vrátil 403bdf0
- Update to pre-relase snapshot of 4.96.0
Dan Vrátil 403bdf0
Dan Vrátil 8d4eef2
* Thu Jan 16 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-2
Dan Vrátil 403bdf0
- rebuild against updated kf5-filesytem
Dan Vrátil 403bdf0
Dan Vrátil 8d4eef2
* Thu Jan 09 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-1
Dan Vrátil 403bdf0
- Update to KDE Frameworks 5 TP1 (4.95.0)
Dan Vrátil 403bdf0
Dan Vrátil 8d4eef2
* Sat Jan  4 2014 Daniel Vrátil <dvratil@redhat.com>
Dan Vrátil 403bdf0
- initial version