Rex Dieter 1b8934c
Rex Dieter 1b8934c
# uncomment to enable bootstrap mode
Rex Dieter 1b8934c
#global bootstrap 1
Rex Dieter 1b8934c
Rex Dieter 1b8934c
%if !0%{?bootstrap}
Rex Dieter 1b8934c
%global tests 1
Rex Dieter 1b8934c
%endif
Rex Dieter 1b8934c
Rex Dieter ba49ddd
Name:    dolphin
Rex Dieter ba49ddd
Summary: KDE File Manager
Rex Dieter c3b54f6
Version: 16.12.3
Rex Dieter c872d5f
Release: 1%{?dist}
Rex Dieter 6e67fa5
Rex Dieter ba49ddd
License: GPLv2+
Rex Dieter c195207
URL:     https://cgit.kde.org/%{name}.git/
Rex Dieter 6e67fa5
%global revision %(echo %{version} | cut -d. -f3)
Rex Dieter 1b8934c
%global majmin_ver %(echo %{version} | cut -d. -f1,2)
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
Rex Dieter 1b8934c
%if ! 0%{?bootstrap}
Rex Dieter 1b8934c
BuildRequires:  kf5-kactivities-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-baloo-devel
Rex Dieter 6e67fa5
BuildRequires:  kf5-kfilemetadata-devel
Rex Dieter 1b8934c
BuildRequires:  baloo-widgets-devel >= %{majmin_ver}
Rex Dieter 1b8934c
%endif
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
BuildRequires:  phonon-qt5-devel
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 8df44d5
Recommends:     kio-extras%{?_isa}
Rex Dieter 8df44d5
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 1b8934c
%{cmake_kf5} .. \
Rex Dieter 1b8934c
  -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
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 1b8934c
%if 0%{?tests}
Rex Dieter 1b8934c
export CTEST_OUTPUT_ON_FAILURE=1
Rex Dieter 1b8934c
#dbus-launch --exit-with-session \
Rex Dieter 1b8934c
xvfb-run -a \
Rex Dieter 1b8934c
make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||:
Rex Dieter 1b8934c
%endif
Rex Dieter 1b8934c
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 92e8e5d
%{_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 c3b54f6
* Wed Mar 08 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.3-1
Rex Dieter c3b54f6
- 16.12.3
Rex Dieter c3b54f6
Rex Dieter 230abd8
* Wed Feb 08 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.2-1
Rex Dieter 230abd8
- 16.12.2
Rex Dieter 230abd8
Rex Dieter c195207
* Tue Jan 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.1-1
Rex Dieter c195207
- 16.12.1, update URL
Rex Dieter c195207
Rex Dieter 1b8934c
* Mon Dec 26 2016 Rex Dieter <rdieter@math.unl.edu> - 16.12.0-1
Rex Dieter 1b8934c
- 16.12.0, support bootstrap, %%check: enable tests
Rex Dieter 1b8934c
Rex Dieter 407e6f7
* Wed Nov 30 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.3-1
Rex Dieter 407e6f7
- 16.08.3
Rex Dieter 407e6f7
Rex Dieter 36d0ebe
* Thu Oct 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.2-1
Rex Dieter 36d0ebe
- 16.08.2
Rex Dieter 36d0ebe
Rex Dieter c872d5f
* Tue Sep 06 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.1-1
Rex Dieter c872d5f
- 16.08.1
Rex Dieter c872d5f
Rex Dieter 636cd67
* Thu Sep 01 2016 Rex Dieter <rdieter@fedoraproject.org> 16.08.0-2
Rex Dieter 636cd67
- update URL (#1325154)
Rex Dieter 636cd67
Rex Dieter 6566346
* Fri Aug 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.0-1
Rex Dieter 6566346
- 16.08.0
Rex Dieter 6566346
Rex Dieter 8df44d5
* Fri Aug 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.07.90-2
Rex Dieter 8df44d5
- Recommends: kio-extras (#1366585)
Rex Dieter 8df44d5
Rex Dieter 43a6f47
* Sat Aug 06 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.07.90-1
Rex Dieter 43a6f47
- 16.07.90
Rex Dieter 43a6f47
Rex Dieter 97cddc7
* Fri Jul 29 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.07.80-1
Rex Dieter 97cddc7
- 16.07.80
Rex Dieter 97cddc7
Rex Dieter 1848c31
* Fri Jul 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.3-1
Rex Dieter 1848c31
- 16.04.3
Rex Dieter 1848c31
Rex Dieter b48c426
* Sun Jun 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.2-1
Rex Dieter b48c426
- 16.04.2
Rex Dieter b48c426
Rex Dieter 23f7c4d
* Sun May 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.1-1
Rex Dieter 23f7c4d
- 16.04.1
Rex Dieter 23f7c4d
Rex Dieter a6cebb9
* Mon Apr 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.0-1
Rex Dieter a6cebb9
- 16.04.0
Rex Dieter a6cebb9
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)