|
|
@ -2,11 +2,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Version: 5.18.0
|
|
|
|
Version: 5.18.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: KDE Frameworks 5 Tier 2 solution with abstraction for system notifications
|
|
|
|
Summary: KDE Frameworks 5 Tier 2 solution with abstraction for system notifications
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://www.kde.org
|
|
|
|
URL: http://projects.kde.org/knotifications
|
|
|
|
|
|
|
|
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
@ -17,25 +17,17 @@ URL: http://www.kde.org
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
## upstream patches
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
|
|
|
|
BuildRequires: phonon-qt5-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
|
|
|
|
BuildRequires: dbusmenu-qt5-devel
|
|
|
|
BuildRequires: dbusmenu-qt5-devel
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
BuildRequires: kf5-kcodecs-devel >= %{version}
|
|
|
|
BuildRequires: kf5-kcodecs-devel >= %{version}
|
|
|
|
BuildRequires: kf5-kconfig-devel >= %{version}
|
|
|
|
BuildRequires: kf5-kconfig-devel >= %{version}
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel >= %{version}
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel >= %{version}
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel >= %{version}
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel >= %{version}
|
|
|
|
## removed deps by patch4
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
#BuildRequires: kf5-kiconthemes-devel
|
|
|
|
BuildRequires: phonon-qt5-devel
|
|
|
|
#BuildRequires: kf5-kservice-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem >= %{version}
|
|
|
|
Requires: kf5-filesystem >= %{version}
|
|
|
|
|
|
|
|
|
|
|
@ -47,7 +39,6 @@ notifications.
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: qt5-qtbase-devel
|
|
|
|
Requires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
developing applications that use %{name}.
|
|
|
@ -56,14 +47,16 @@ developing applications that use %{name}.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{framework}-%{version} -p1
|
|
|
|
%autosetup -n %{framework}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%find_lang knotifications5_qt --with-qt --all-name
|
|
|
|
%find_lang knotifications5_qt --with-qt --all-name
|
|
|
@ -76,21 +69,25 @@ mkdir -p %{buildroot}/%{_kf5_datadir}/knotifications5
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files -f knotifications5_qt.lang
|
|
|
|
%files -f knotifications5_qt.lang
|
|
|
|
%doc COPYING.LIB README.md
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%license COPYING.LIB
|
|
|
|
%{_kf5_libdir}/libKF5Notifications.so.*
|
|
|
|
%{_kf5_libdir}/libKF5Notifications.so.*
|
|
|
|
%{_kf5_datadir}/kservicetypes5/knotificationplugin.desktop
|
|
|
|
%{_kf5_datadir}/kservicetypes5/knotificationplugin.desktop
|
|
|
|
%{_kf5_datadir}/knotifications5
|
|
|
|
%{_kf5_datadir}/knotifications5
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_kf5_includedir}/knotifications_version.h
|
|
|
|
%{_kf5_includedir}/knotifications_version.h
|
|
|
|
%{_kf5_includedir}/KNotifications
|
|
|
|
%{_kf5_includedir}/KNotifications/
|
|
|
|
%{_kf5_libdir}/libKF5Notifications.so
|
|
|
|
%{_kf5_libdir}/libKF5Notifications.so
|
|
|
|
%{_kf5_libdir}/cmake/KF5Notifications
|
|
|
|
%{_kf5_libdir}/cmake/KF5Notifications/
|
|
|
|
%{_kf5_datadir}/dbus-1/interfaces/*.xml
|
|
|
|
%{_kf5_datadir}/dbus-1/interfaces/*.xml
|
|
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KNotifications.pri
|
|
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KNotifications.pri
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
|
|
|
|
|
|
|
|
- cosmetics, update URL, use %%license
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
|
|
|
|
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
|
|
|
|
- KDE Frameworks 5.18.0
|
|
|
|
- KDE Frameworks 5.18.0
|
|
|
|
|
|
|
|
|
|
|
|