Dan Vrátil fdc2f24
%global framework kservice
Dan Vrátil b1f74a6
Rex Dieter 333c940
Name:    kf5-%{framework}
Rex Dieter 333c940
Summary: KDE Frameworks 5 Tier 3 solution for advanced plugin and service introspection
Daniel Vrátil 0a6f787
Version: 5.20.0
Daniel Vrátil 0a6f787
Release: 1%{?dist}
Dan Vrátil b1f74a6
Rex Dieter 333c940
# mixture of LGPLv2 and LGPLv2+ (mostly the latter)
Rex Dieter 333c940
License: LGPLv2
Rex Dieter 58aa8ad
URL:     https://projects.kde.org/kservice
Dan Vrátil 8306632
Dan Vrátil 57c44b0
%global versiondir %(echo %{version} | cut -d. -f1-2)
Dan Vrátil 8306632
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 8306632
%if %{revision} >= 50
Dan Vrátil 8306632
%global stable unstable
Dan Vrátil 8306632
%else
Dan Vrátil 8306632
%global stable stable
Dan Vrátil 8306632
%endif
Rex Dieter 58aa8ad
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
Dan Vrátil b1f74a6
Rex Dieter 0c51e9d
## upstream patches
Rex Dieter 0c51e9d
Rex Dieter 58aa8ad
## downstream patches
Rex Dieter e175d50
# Fedora customizations to the menu categories
Rex Dieter e175d50
# adds the Administration menu from redhat-menus which equals System + Settings
Rex Dieter e175d50
# This prevents the stuff getting listed twice, under both System and Settings.
Rex Dieter 0c51e9d
Patch100:  kservice-5.15.0-xdg-menu.patch
Rex Dieter e175d50
Rex Dieter bd7da72
# kbuildsycoca5 always gives:
Rex Dieter bd7da72
# kf5.kservice.sycoca: Parse error in  "$HOME/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file"
Rex Dieter bd7da72
# hide that by default, make it qCDebug instead (of qCWarning)
Rex Dieter 0c51e9d
Patch101:  kservice-5.17.0-vfolder_spam.patch
Rex Dieter bd7da72
Daniel Vrátil b0aa9d6
BuildRequires:  extra-cmake-modules >= %{version}
Daniel Vrátil b0aa9d6
BuildRequires:  kf5-kconfig-devel >= %{version}
Daniel Vrátil b0aa9d6
BuildRequires:  kf5-kcoreaddons-devel >= %{version}
Daniel Vrátil b0aa9d6
BuildRequires:  kf5-kcrash-devel >= %{version}
Daniel Vrátil b0aa9d6
BuildRequires:  kf5-kdbusaddons-devel >= %{version}
Daniel Vrátil b0aa9d6
BuildRequires:  kf5-kdoctools-devel >= %{version}
Daniel Vrátil b0aa9d6
BuildRequires:  kf5-ki18n-devel >= %{version}
Daniel Vrátil b0aa9d6
BuildRequires:  kf5-rpm-macros >= %{version}
Rex Dieter 333c940
BuildRequires:  qt5-qtbase-devel
Dan Vrátil b1f74a6
Daniel Vrátil b0aa9d6
Requires:       kf5-filesystem >= %{version}
Rex Dieter e175d50
# for the Administration category
Rex Dieter e175d50
Requires:       redhat-menus
Kevin Kofler 2943978
Dan Vrátil b1f74a6
%description
Dan Vrátil b1f74a6
KDE Frameworks 5 Tier 3 solution for advanced plugin and service
Dan Vrátil b1f74a6
introspection.
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
%package        devel
Dan Vrátil b1f74a6
Summary:        Development files for %{name}
Dan Vrátil b1f74a6
Requires:       %{name}%{?_isa} = %{version}-%{release}
Daniel Vrátil b0aa9d6
Requires:       kf5-kconfig-devel >= %{version}
Daniel Vrátil b0aa9d6
Requires:       kf5-kcoreaddons-devel >= %{version}
Dan Vrátil b1f74a6
%description    devel
Dan Vrátil b1f74a6
The %{name}-devel package contains libraries and header files for
Dan Vrátil b1f74a6
developing applications that use %{name}.
Dan Vrátil b1f74a6
Dan Vrátil 8306632
Dan Vrátil b1f74a6
%prep
Rex Dieter 71a60df
%autosetup -n %{framework}-%{version} -p1
Rex Dieter e175d50
Rex Dieter f1f30d3
Dan Vrátil b1f74a6
%build
Rex Dieter f1f30d3
mkdir %{_target_platform}
Dan Vrátil b1f74a6
pushd %{_target_platform}
Dan Vrátil b1f74a6
%{cmake_kf5} ..
Dan Vrátil b1f74a6
popd
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil b1f74a6
Rex Dieter f1f30d3
Dan Vrátil b1f74a6
%install
Dan Vrátil d580e52
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Rex Dieter 58aa8ad
Rex Dieter c1ede16
%find_lang kservice5_qt --with-man --with-qt --all-name
Dan Vrátil b1f74a6
Rex Dieter f1f30d3
mv %{buildroot}%{_kf5_sysconfdir}/xdg/menus/applications.menu %{buildroot}/%{_kf5_sysconfdir}/xdg/menus/kf5-applications.menu
Dan Vrátil b1f74a6
Rex Dieter f1f30d3
mkdir -p %{buildroot}%{_kf5_datadir}/kservices5
Rex Dieter f1f30d3
mkdir -p %{buildroot}%{_kf5_datadir}/kservicetypes5
Dan Vrátil 6dfe5f4
Dan Vrátil b1f74a6
Dan Vrátil 8306632
%post -p /sbin/ldconfig
Dan Vrátil b1f74a6
%postun -p /sbin/ldconfig
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
%files -f kservice5_qt.lang
Rex Dieter 333c940
%doc README.md
Rex Dieter 333c940
%license COPYING.LIB
Rex Dieter f1f30d3
# this is not a config file, despite rpmlint complaining otherwise -- rex
Rex Dieter f1f30d3
%{_kf5_sysconfdir}/xdg/menus/kf5-applications.menu
Dan Vrátil b1f74a6
%{_kf5_bindir}/kbuildsycoca5
Rex Dieter 333c940
%{_kf5_libdir}/libKF5Service.so.5*
Rex Dieter f1f30d3
%{_kf5_datadir}/kservicetypes5/
Rex Dieter f1f30d3
%{_kf5_datadir}/kservices5/
Rex Dieter c1ede16
%{_kf5_mandir}/man8/*.8*
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
%files devel
Dan Vrátil b1f74a6
%{_kf5_includedir}/kservice_version.h
Rex Dieter f1f30d3
%{_kf5_includedir}/KService/
Dan Vrátil b1f74a6
%{_kf5_libdir}/libKF5Service.so
Rex Dieter f1f30d3
%{_kf5_libdir}/cmake/KF5Service/
Dan Vrátil b1f74a6
%{_kf5_archdatadir}/mkspecs/modules/qt_KService.pri
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
%changelog
Daniel Vrátil 0a6f787
* Mon Mar 14 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.20.0-1
Daniel Vrátil 0a6f787
- KDE Frameworks 5.20.0
Daniel Vrátil 0a6f787
Rex Dieter 0c51e9d
* Mon Mar 07 2016 Rex Dieter <rdieter@fedoraproject.org> 5.19.0-2
Rex Dieter 0c51e9d
- backport ktraderclient5 fix for x-scheme-handler's (#1308384,kde#358159)
Rex Dieter 0c51e9d
Daniel Vrátil b4273aa
* Thu Feb 11 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.19.0-1
Daniel Vrátil b4273aa
- KDE Frameworks 5.19.0
Daniel Vrátil b4273aa
f749681
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.0-3
f749681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f749681
Rex Dieter 58aa8ad
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
Rex Dieter 58aa8ad
- cosmetics, -BR: cmake, update URL
Rex Dieter 58aa8ad
Daniel Vrátil b0aa9d6
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
Daniel Vrátil b0aa9d6
- KDE Frameworks 5.18.0
Daniel Vrátil b0aa9d6
Rex Dieter bd7da72
* Wed Dec 09 2015 Rex Dieter <rdieter@fedoraproject.org> 5.17.0-2
Rex Dieter bd7da72
- reduce kbuildsycoca5 warning(spam) output
Rex Dieter bd7da72
Dan Vrátil fbb15ce
* Tue Dec 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.17.0-1
Dan Vrátil fbb15ce
- KDE Frameworks 5.17.0
Dan Vrátil fbb15ce
Dan Vrátil 43bd310
* Sun Nov 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.16.0-1
Dan Vrátil 43bd310
- KDE Frameworks 5.16.0
Dan Vrátil 43bd310
Rex Dieter 71a60df
* Tue Oct 27 2015 Rex Dieter <rdieter@fedoraproject.org> 5.15.0-2
Rex Dieter 71a60df
- backport 'kbuildsysoca always save' commit
Rex Dieter 71a60df
Dan Vrátil 724dfce
* Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1
Dan Vrátil 724dfce
- KDE Frameworks 5.15.0
Dan Vrátil 724dfce
Rex Dieter e175d50
* Thu Oct 08 2015 Rex Dieter <rdieter@fedoraproject.org> 5.14.3-3
Rex Dieter e175d50
- restore xdg-menu patch
Rex Dieter e175d50
Rex Dieter 333c940
* Wed Oct 07 2015 Rex Dieter <rdieter@fedoraproject.org> 5.14.3-2
Rex Dieter 333c940
- .spec cosmetics, update URL/License, use %%license
Rex Dieter 333c940
Rex Dieter 1f34580
* Tue Sep 22 2015 Rex Dieter <rdieter@fedoraproject.org> 5.14.3-1
Rex Dieter 1f34580
- kservice-5.14.3
Rex Dieter 1f34580
Dan Vrátil 52912e2
* Wed Sep 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.14.0-1
Dan Vrátil 52912e2
- KDE Frameworks 5.14.0
Dan Vrátil 52912e2
Dan Vrátil c782b4c
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil c782b4c
- KDE Frameworks 5.13.0
Dan Vrátil c782b4c
Dan Vrátil c782b4c
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil c782b4c
- KDE Frameworks 5.13.0
Kevin Kofler 2943978
Dan Vrátil c782b4c
* Tue Aug 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-0.1
Dan Vrátil c782b4c
- KDE Frameworks 5.13
Kevin Kofler 6f662a1
Rex Dieter be01de5
* Fri Jul 10 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.12.0-1
Rex Dieter be01de5
- 5.12.0
Rex Dieter be01de5
3333a06
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
3333a06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3333a06
Dan Vrátil 172bf33
* Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
Dan Vrátil 172bf33
- KDE Frameworks 5.11.0
Dan Vrátil 172bf33
Rex Dieter d3216ea
* Wed May 20 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-4
Rex Dieter d3216ea
- drop no_debug patch, fixed better elsewhere (qt-settings)
Rex Dieter d3216ea
Rex Dieter c1ede16
* Tue May 19 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-3
Rex Dieter c1ede16
- use %%find_lang --with-man for localized manpages
Rex Dieter c1ede16
Rex Dieter f1f30d3
* Tue May 19 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-2
Rex Dieter f1f30d3
- .spec cosmetics, disable debug output
Rex Dieter f1f30d3
Dan Vrátil 09b8d2f
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
Dan Vrátil 09b8d2f
- KDE Frameworks 5.10.0
Dan Vrátil 09b8d2f
4d7644e
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.9.0-2
4d7644e
- Rebuilt for GCC 5 C++11 ABI change
4d7644e
Dan Vrátil 9757e1f
* Tue Apr 07 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
Dan Vrátil 9757e1f
- KDE Frameworks 5.9.0
Dan Vrátil 9757e1f
Dan Vrátil 69ef0f9
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-1
Dan Vrátil 69ef0f9
- KDE Frameworks 5.8.0
Dan Vrátil 69ef0f9
Dan Vrátil 41407ff
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
Dan Vrátil 41407ff
- Rebuild (GCC 5)
Dan Vrátil 41407ff
Dan Vrátil e1d6b1f
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil e1d6b1f
- KDE Frameworks 5.7.0
Dan Vrátil e1d6b1f
Dan Vrátil e1d6b1f
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil e1d6b1f
- KDE Frameworks 5.7.0
Dan Vrátil e1d6b1f
Dan Vrátil 6dfe5f4
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
Dan Vrátil 6dfe5f4
- KDE Frameworks 5.6.0
Dan Vrátil 6dfe5f4
Dan Vrátil 57c44b0
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
Dan Vrátil 57c44b0
- KDE Frameworks 5.5.0
Dan Vrátil 57c44b0
Dan Vrátil 1c9eeeb
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil 1c9eeeb
- KDE Frameworks 5.4.0
Dan Vrátil 1c9eeeb
Dan Vrátil cc1f4bc
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil cc1f4bc
- KDE Frameworks 5.3.0
Dan Vrátil cc1f4bc
Dan Vrátil e15c446
* Mon Sep 15 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil e15c446
- KDE Frameworks 5.2.0
Dan Vrátil e15c446
d5381a1
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
d5381a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d5381a1
Dan Vrátil 93c589c
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil 93c589c
- KDE Frameworks 5.1.0
Dan Vrátil 93c589c
Dan Vrátil 9d66acd
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil 9d66acd
- KDE Frameworks 5.0.0
Dan Vrátil 9d66acd
Dan Vrátil b1f74a6
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil b1f74a6
- KDE Frameworks 4.100.0
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0
Dan Vrátil b1f74a6
- KDE Frameworks 4.99.0
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil b1f74a6
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil b1f74a6
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
Dan Vrátil b1f74a6
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
* Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140205git
Dan Vrátil b1f74a6
- Update to pre-relase snapshot of 4.96.0
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
* Thu Jan 16 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-2
Dan Vrátil b1f74a6
- rebuild against new kf5-filesystem
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
* Thu Jan 09 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-1
Dan Vrátil b1f74a6
- Update to KDE Frameworks 5 TP1 (4.95.0)
Dan Vrátil b1f74a6
Dan Vrátil b1f74a6
* Sat Jan  4 2014 Daniel Vrátil <dvratil@redhat.com>
Dan Vrátil b1f74a6
- initial version