Dan Vrátil 239bcdc
%global framework kconfig
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
Name:           kf5-%{framework}
Dan Vrátil b1d79e7
Version:        5.14.0
Rex Dieter cc56ed4
Release:        1%{?dist}
Dan Vrátil b99bcc5
Summary:        KDE Frameworks 5 Tier 1 addon with advanced configuration system
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
License:        GPLv2+ and LGPLv2+ and MIT
Rex Dieter 570d3f9
URL:            https://projects.kde.org/projects/frameworks/kconfig
Dan Vrátil f0ae9a1
Dan Vrátil f9493de
%global versiondir %(echo %{version} | cut -d. -f1-2)
Dan Vrátil f0ae9a1
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil f0ae9a1
%if %{revision} >= 50
Dan Vrátil f0ae9a1
%global stable unstable
Dan Vrátil f0ae9a1
%else
Dan Vrátil f0ae9a1
%global stable stable
Dan Vrátil f0ae9a1
%endif
Dan Vrátil f9493de
Source0:        http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
Dan Vrátil b99bcc5
Rex Dieter 74751fd
## upstream patches
Rex Dieter 952e008
Rex Dieter d23e5fb
## upstreamable patches
Rex Dieter d23e5fb
# assume KDE_INSTALL_LIBEXECDIR_KF5 is a full (not relative to CMAKE_INSTALL_PREFIX) path
Rex Dieter d23e5fb
Dan Vrátil df90bb4
BuildRequires:  kf5-rpm-macros >= %{version}
Dan Vrátil df90bb4
BuildRequires:  extra-cmake-modules >= %{version}
Dan Vrátil b99bcc5
BuildRequires:  qt5-qtbase-devel
Dan Vrátil b99bcc5
BuildRequires:  qt5-qttools-devel
Dan Vrátil b99bcc5
Dan Vrátil df90bb4
Requires:       kf5-filesystem >= %{version}
Dan Vrátil f0ae9a1
Requires:       %{name}-core%{?_isa} = %{version}-%{release}
Dan Vrátil f0ae9a1
Requires:       %{name}-gui%{?_isa} = %{version}-%{release}
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
%description
Dan Vrátil b99bcc5
KDE Frameworks 5 Tier 1 addon with advanced configuration system made of two
Dan Vrátil b99bcc5
parts: KConfigCore and KConfigGui.
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
%package        devel
Dan Vrátil b99bcc5
Summary:        Development files for %{name}
Dan Vrátil b99bcc5
Requires:       %{name}%{?_isa} = %{version}-%{release}
Dan Vrátil ca894cd
Requires:       qt5-qtbase-devel
Rex Dieter d7bfb6c
## included for completeness and documentation, but part of qtbase-devel already -- rex
Rex Dieter d7bfb6c
#Requires:       pkgconfig(Qt5Xml)
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
%description    devel
Dan Vrátil b99bcc5
The %{name}-devel package contains libraries and header files for
Dan Vrátil b99bcc5
developing applications that use %{name}.
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
%package        core
Dan Vrátil b99bcc5
Summary:        Non-GUI part of KConfig framework
Rex Dieter d7bfb6c
Requires:       kde-settings
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
%description    core
Dan Vrátil b99bcc5
KConfigCore provides access to the configuration files themselves. It features
Dan Vrátil b99bcc5
centralized definition and lock-down (kiosk) support.
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
%package        gui
Dan Vrátil b99bcc5
Summary:        GUI part of KConfig framework
Dan Vrátil f0ae9a1
Requires:       %{name}-core%{?_isa} = %{version}-%{release}
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
%description    gui
Dan Vrátil b99bcc5
KConfigGui provides a way to hook widgets to the configuration so that they are
Dan Vrátil b99bcc5
automatically initialized from the configuration and automatically propagate
Dan Vrátil b99bcc5
their changes to their respective configuration files.
Dan Vrátil b99bcc5
Rex Dieter d7bfb6c
Dan Vrátil b99bcc5
%prep
Rex Dieter 952e008
%autosetup -n %{framework}-%{version} -p1
Dan Vrátil b99bcc5
Rex Dieter d7bfb6c
Dan Vrátil b99bcc5
%build
Rex Dieter d7bfb6c
mkdir %{_target_platform}
Dan Vrátil b99bcc5
pushd %{_target_platform}
Dan Vrátil b99bcc5
%{cmake_kf5} ..
Dan Vrátil b99bcc5
popd
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil b99bcc5
Rex Dieter d7bfb6c
Dan Vrátil b99bcc5
%install
Rex Dieter a9cbfbb
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Rex Dieter d7bfb6c
Dan Vrátil b99bcc5
%find_lang kconfig5_qt --with-qt --all-name
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
%files
Dan Vrátil b99bcc5
%doc COPYING.LIB DESIGN README.md TODO
Dan Vrátil b99bcc5
Dan Vrátil f0ae9a1
%post core -p /sbin/ldconfig
Dan Vrátil f0ae9a1
%postun core -p /sbin/ldconfig
Dan Vrátil f0ae9a1
Dan Vrátil b99bcc5
%files core -f kconfig5_qt.lang
Dan Vrátil b99bcc5
%{_kf5_bindir}/kreadconfig5
Dan Vrátil b99bcc5
%{_kf5_bindir}/kwriteconfig5
Dan Vrátil b99bcc5
%{_kf5_libdir}/libKF5ConfigCore.so.*
Rex Dieter d23e5fb
%{_kf5_libexecdir}/kconfig_compiler_kf5
Rex Dieter d23e5fb
%{_kf5_libexecdir}/kconf_update
Dan Vrátil b99bcc5
Dan Vrátil f0ae9a1
%post gui -p /sbin/ldconfig
Dan Vrátil f0ae9a1
%postun gui -p /sbin/ldconfig
Dan Vrátil f0ae9a1
Dan Vrátil b99bcc5
%files gui
Dan Vrátil b99bcc5
%{_kf5_libdir}/libKF5ConfigGui.so.*
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
%files devel
Dan Vrátil b99bcc5
%{_kf5_includedir}/kconfig_version.h
Rex Dieter 570d3f9
%{_kf5_includedir}/KConfigCore/
Rex Dieter 570d3f9
%{_kf5_includedir}/KConfigGui/
Dan Vrátil b99bcc5
%{_kf5_libdir}/libKF5ConfigCore.so
Dan Vrátil b99bcc5
%{_kf5_libdir}/libKF5ConfigGui.so
Rex Dieter 570d3f9
%{_kf5_libdir}/cmake/KF5Config/
Dan Vrátil b99bcc5
%{_kf5_archdatadir}/mkspecs/modules/qt_KConfigCore.pri
Dan Vrátil b99bcc5
%{_kf5_archdatadir}/mkspecs/modules/qt_KConfigGui.pri
Dan Vrátil b99bcc5
Dan Vrátil f0ae9a1
Dan Vrátil b99bcc5
%changelog
Dan Vrátil b1d79e7
* Wed Sep 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.14.0-1
Dan Vrátil b1d79e7
- KDE Frameworks 5.14.0
Dan Vrátil b1d79e7
Dan Vrátil df90bb4
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil df90bb4
- KDE Frameworks 5.13.0
Dan Vrátil df90bb4
Dan Vrátil df90bb4
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil df90bb4
- KDE Frameworks 5.13.0
Dan Vrátil df90bb4
Dan Vrátil df90bb4
* Tue Aug 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-0.1
Dan Vrátil df90bb4
- KDE Frameworks 5.13
Dan Vrátil df90bb4
Rex Dieter cc56ed4
* Thu Jul 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.12.0-1
Rex Dieter cc56ed4
- 5.12.0
Rex Dieter cc56ed4
Rex Dieter 570d3f9
* Thu Jul 09 2015 Rex Dieter <rdieter@fedoraproject.org> 5.11.0-3
Rex Dieter 570d3f9
- update URL, minor cosmetics
Rex Dieter 570d3f9
d47ae2c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
d47ae2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d47ae2c
Dan Vrátil 9f85170
* Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
Dan Vrátil 9f85170
- KDE Frameworks 5.11.0
Dan Vrátil 9f85170
Rex Dieter b5ca766
* Tue May 12 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-3
Rex Dieter b5ca766
- followup fix to sm patch
Rex Dieter b5ca766
Rex Dieter 74751fd
* Mon May 11 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-2
Rex Dieter 74751fd
- pull in reviewed/upstreamed session management fixes (kde#346768)
Rex Dieter 74751fd
Dan Vrátil 69eb4e9
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
Dan Vrátil 69eb4e9
- KDE Frameworks 5.10.0
Dan Vrátil 69eb4e9
Rex Dieter 952e008
* Sat May 09 2015 Rex Dieter <rdieter@fedoraproject.org> 5.9.0-3
Rex Dieter 952e008
- Candidate session management fixes (kde#346768)
Rex Dieter 952e008
Rex Dieter d7bfb6c
* Wed Apr 15 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.9.0-2
Rex Dieter d7bfb6c
- -core: Requires: kde-settings
Rex Dieter d7bfb6c
- .spec cosmetics
Rex Dieter d7bfb6c
Dan Vrátil f5b8345
* Tue Apr 07 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
Dan Vrátil f5b8345
- KDE Frameworks 5.9.0
Dan Vrátil f5b8345
Dan Vrátil 3449cb5
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-1
Dan Vrátil 3449cb5
- KDE Frameworks 5.8.0
Dan Vrátil 3449cb5
Dan Vrátil 383525b
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
Dan Vrátil 383525b
- Rebuild (GCC 5)
Dan Vrátil 383525b
Dan Vrátil ca894cd
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil ca894cd
- KDE Frameworks 5.7.0
Dan Vrátil ca894cd
Dan Vrátil 875b3c7
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
Dan Vrátil 875b3c7
- KDE Frameworks 5.6.0
Dan Vrátil 875b3c7
Dan Vrátil f9493de
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
Dan Vrátil f9493de
- KDE Frameworks 5.5.0
Dan Vrátil f9493de
Dan Vrátil 6bcf89f
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil 6bcf89f
- KDE Frameworks 5.4.0
Dan Vrátil 6bcf89f
Dan Vrátil d689815
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil d689815
- KDE Frameworks 5.3.0
Dan Vrátil d689815
Dan Vrátil c111958
* Thu Sep 11 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil c111958
- KDE Frameworks 5.2.0
Dan Vrátil c111958
82867f5
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
82867f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
82867f5
Dan Vrátil 90fcd35
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil 90fcd35
- KDE Frameworks 5.1.0
Dan Vrátil 90fcd35
Dan Vrátil 73dfcb1
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil 73dfcb1
- KDE Frameworks 5.0.0
Dan Vrátil 73dfcb1
a024dc0
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.100.0-2
a024dc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a024dc0
Dan Vrátil 0cde713
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil 0cde713
- KDE Frameworks 4.100.0
Dan Vrátil 0cde713
Dan Vrátil b99bcc5
* Tue May 20 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-3
Dan Vrátil b99bcc5
- Fix license and description
Dan Vrátil b99bcc5
- Add %%post and %%postun to subpackages
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
* Tue May 06 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-2
Dan Vrátil b99bcc5
- Rebuild against updated kf5-rpm-macros
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-1
Dan Vrátil b99bcc5
- KDE Frameworks 4.99.0
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil b99bcc5
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil b99bcc5
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
Dan Vrátil b99bcc5
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
* Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140205git
Dan Vrátil b99bcc5
- Update to pre-release snapshot of 4.96.0
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
* Thu Jan 09 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-1
Dan Vrátil b99bcc5
- Update to KDE Frameworks 5 TP1 (4.95.0)
Dan Vrátil b99bcc5
Dan Vrátil b99bcc5
* Sat Jan  4 2014 Daniel Vrátil <dvratil@redhat.com>
Dan Vrátil b99bcc5
- initial version