Rex Dieter ba49ddd
Name:    dolphin
Rex Dieter ba49ddd
Summary: KDE File Manager
Rex Dieter c795fb7
Version: 15.12.3
Rex Dieter dcd2a94
Release: 1%{?dist}
Rex Dieter 6e67fa5
Rex Dieter ba49ddd
License: GPLv2+
Rex Dieter ba49ddd
URL:     https://projects.kde.org/%{name}
Rex Dieter 6e67fa5
%global revision %(echo %{version} | cut -d. -f3)
Rex Dieter 6e67fa5
%if %{revision} >= 50
Rex Dieter 6e67fa5
%global stable unstable
Rex Dieter 6e67fa5
%else
Rex Dieter 6e67fa5
%global stable stable
Rex Dieter 6e67fa5
%endif
Rex Dieter ba49ddd
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
BuildRequires:  desktop-file-utils
Rex Dieter 6e67fa5
BuildRequires:  extra-cmake-modules
Rex Dieter 6e67fa5
BuildRequires:  qt5-qtbase-devel
Rex Dieter bf2d71f
BuildRequires:  kf5-rpm-macros
Rex Dieter 472a5fc
BuildRequires:  kf5-kdelibs4support-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kdoctools-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kinit-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kcmutils-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-knewstuff-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kcoreaddons-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-ki18n-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kdbusaddons-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kbookmarks-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kconfig-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kio-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kparts-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-solid-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kiconthemes-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kcompletion-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-ktexteditor-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kwindowsystem-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-knotifications-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kactivities-devel
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
BuildRequires:  kf5-baloo-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kfilemetadata-devel
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
BuildRequires:  phonon-qt5-devel
Rex Dieter 6e67fa5
Rex Dieter ba49ddd
%global majmin_ver %(echo %{version} | cut -d. -f1,2)
Rex Dieter ba49ddd
BuildRequires:  baloo-widgets-devel >= %{majmin_ver}
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
BuildRequires:  libappstream-glib
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
Rex Dieter 03e7925
%{?kf5_kinit_requires}
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
%description
Rex Dieter 6e67fa5
%{summary}.
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
%package        libs
Rex Dieter 6e67fa5
Summary:        Dolphin runtime libraries
Rex Dieter 6e67fa5
%description    libs
Rex Dieter 6e67fa5
%{summary}.
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
%package        devel
Rex Dieter 6e67fa5
Summary:        Developer files for %{name}
Rex Dieter 6e67fa5
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
Rex Dieter bf2d71f
Requires:       qt5-qtbase-devel%{?_isa}
Rex Dieter bf2d71f
Requires:       kf5-kio-devel%{?_isa}
Rex Dieter 6e67fa5
%description    devel
Rex Dieter 6e67fa5
%{summary}.
Rex Dieter 6e67fa5
Rex Dieter 2d94a2b
Rex Dieter 6e67fa5
%prep
Rex Dieter 6e67fa5
%setup -q -n %{name}-%{version}
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
%build
Rex Dieter 6e67fa5
mkdir %{_target_platform}
Rex Dieter 6e67fa5
pushd %{_target_platform}
Rex Dieter 6e67fa5
%{cmake_kf5} ..
Rex Dieter 6e67fa5
popd
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
make %{?_smp_mflags} -C %{_target_platform}
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
%install
Rex Dieter 6e67fa5
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
%check
Rex Dieter 81dbd69
appstream-util validate-relax --nonet %{buildroot}%{_kf5_datadir}/appdata/org.kde.%{name}.appdata.xml ||:
Rex Dieter 6e67fa5
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop ||:
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
Rex Dieter bf2d71f
%posttrans
Rex Dieter bf2d71f
update-desktop-database -q &> /dev/null ||:
Rex Dieter bf2d71f
Rex Dieter bf2d71f
%postun
Rex Dieter bf2d71f
if [ $1 -eq 0 ] ; then
Rex Dieter bf2d71f
update-desktop-database -q &> /dev/null ||:
Rex Dieter bf2d71f
fi
Rex Dieter bf2d71f
Rex Dieter 6e67fa5
%files
Rex Dieter 6e67fa5
%license COPYING*
Rex Dieter 6e67fa5
%doc README
Rex Dieter 6e67fa5
%{_kf5_bindir}/%{name}
Rex Dieter 6e67fa5
%{_kf5_bindir}/servicemenuinstallation
Rex Dieter 6e67fa5
%{_kf5_bindir}/servicemenudeinstallation
Rex Dieter 6e67fa5
%{_sysconfdir}/xdg/servicemenu.knsrc
Rex Dieter 6e67fa5
%{_kf5_libdir}/libkdeinit5_dolphin.so
Rex Dieter 6e67fa5
%{_kf5_datadir}/kservices5/kcmdolphin*.desktop
Rex Dieter 6e67fa5
%{_kf5_datadir}/config.kcfg/dolphin_*
Rex Dieter 6e67fa5
%{_datadir}/dbus-1/services/org.kde.dolphin.FileManager1.service
Rex Dieter 81dbd69
%{_kf5_datadir}/appdata/org.kde.%{name}.appdata.xml
Rex Dieter 6e67fa5
%{_kf5_datadir}/applications/org.kde.%{name}.desktop
Rex Dieter 6e67fa5
%{_kf5_datadir}/kservicetypes5/fileviewversioncontrolplugin.desktop
Rex Dieter 6e67fa5
%{_kf5_datadir}/kxmlgui5/%{name}/
Rex Dieter 03e7925
%lang(en) %{_kf5_docdir}/HTML/en/%{name}/
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
%post libs -p /sbin/ldconfig
Rex Dieter 6e67fa5
%postun libs -p /sbin/ldconfig
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
%files libs
Rex Dieter 6e67fa5
%{_kf5_libdir}/libdolphinprivate.so.*
Rex Dieter 6e67fa5
%{_kf5_libdir}/libdolphinvcs.so.*
Rex Dieter 03e7925
%{_kf5_qtplugindir}/kcm_*.so
Rex Dieter 2d94a2b
%{_kf5_datadir}/kxmlgui5/dolphinpart/
Rex Dieter 2d94a2b
%{_kf5_qtplugindir}/dolphinpart.so
Rex Dieter 2d94a2b
%{_kf5_datadir}/kservices5/dolphinpart.desktop
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
%files devel
Rex Dieter 6e67fa5
%{_includedir}/Dolphin/
Rex Dieter 6e67fa5
%{_includedir}/dolphin_export.h
Rex Dieter 6e67fa5
%{_kf5_libdir}/cmake/DolphinVcs/
Rex Dieter 6e67fa5
%{_kf5_libdir}/libdolphinvcs.so
Rex Dieter 6e67fa5
%{_datadir}/dbus-1/interfaces/org.freedesktop.FileManager1.xml
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
%changelog
Rex Dieter c795fb7
* Sun Mar 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.3-1
Rex Dieter c795fb7
- 15.12.3
Rex Dieter c795fb7
Rex Dieter dcd2a94
* Sun Feb 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.2-1
Rex Dieter dcd2a94
- 15.12.2
Rex Dieter dcd2a94
45d1c49
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.12.1-3
45d1c49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
45d1c49
Rex Dieter ba49ddd
* Mon Jan 18 2016 Rex Dieter <rdieter@fedoraproject.org> 15.12.1-2
Rex Dieter ba49ddd
- cosmetics, tighten BR: baloo-widgets, -BR: cmake
Rex Dieter ba49ddd
Rex Dieter 4c85408
* Mon Jan 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.1-1
Rex Dieter 4c85408
- 15.12.1
Rex Dieter 4c85408
Rex Dieter 03e7925
* Fri Jan 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.0-2
Rex Dieter 03e7925
- %kf5_kinit_requires (#1294982), cosmetics
Rex Dieter 03e7925
- libs: move remaining plugins here, drop (arch'd) dep on main pkg
Rex Dieter 03e7925
Rex Dieter 6739eae
* Sun Dec 20 2015 Rex Dieter <rdieter@fedoraproject.org> 15.12.0-1
Rex Dieter 6739eae
- 15.12.0
Rex Dieter 6739eae
Rex Dieter b39c9ef
* Tue Nov 17 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.08.3-1
Rex Dieter b39c9ef
- 15.08.3
Rex Dieter b39c9ef
Rex Dieter ede101c
* Tue Sep 15 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.08.1-1
Rex Dieter ede101c
- 15.08.1
Rex Dieter 2d94a2b
- cosmetics, move dolphinpart to -libs
Rex Dieter 2d94a2b
- relax BR on baloo-widgets
Rex Dieter ede101c
Rex Dieter 6e67fa5
* Mon Aug 31 2015 Daniel Vrátil <dvratil@redhat.com> - 15.08.0-1
Rex Dieter 6e67fa5
- Reviving Dolphin stand-alone package (#1258430)