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}
a7047df
#global tests 1
Rex Dieter 1b8934c
%endif
Rex Dieter 1b8934c
Rex Dieter ba49ddd
Name:    dolphin
Rex Dieter ba49ddd
Summary: KDE File Manager
ad657a4
Version: 18.12.1
dc61964
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:  qt5-qtbase-devel
Rex Dieter 28066a6
Rex Dieter 28066a6
BuildRequires:  extra-cmake-modules
Rex Dieter bf2d71f
BuildRequires:  kf5-rpm-macros
Rex Dieter 28066a6
BuildRequires:  cmake(KF5DocTools)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5Init)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5KCMUtils)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5NewStuff)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5CoreAddons)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5I18n)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5DBusAddons)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5Bookmarks)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5Config)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5KIO)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5Parts)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5Solid)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5IconThemes)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5Completion)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5TextWidgets)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5Notifications)
Rex Dieter 28066a6
BuildRequires:  cmake(KF5Crash)
Rex Dieter 28066a6
Rex Dieter 28066a6
BuildRequires:  phonon-qt5-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 28066a6
%if 0%{?tests}
Rex Dieter 28066a6
BuildRequires: xorg-x11-server-Xvfb
Rex Dieter 28066a6
# for %%check
Rex Dieter 6e67fa5
BuildRequires:  libappstream-glib
Rex Dieter 28066a6
%endif
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 28066a6
# translations moved here
Rex Dieter 28066a6
Conflicts: kde-l10n < 17.03
Rex Dieter 28066a6
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 28066a6
Requires:       %{name} = %{version}-%{release}
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
d9ed7ab
%autosetup -n %{name}-%{version} -p1
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
abaac03
%make_build -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 63f6aa7
%find_lang dolphin --with-html
Rex Dieter 28066a6
Rex Dieter 6e67fa5
Rex Dieter 6e67fa5
%check
ed3e3f9
appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/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
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 28066a6
%files -f dolphin.lang
Rex Dieter 6e67fa5
%license COPYING*
Rex Dieter 6e67fa5
%doc README
d668ae8
%{_kf5_sysconfdir}/xdg/dolphin.*
d668ae8
%{_kf5_bindir}/dolphin
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
ed3e3f9
%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml
Rex Dieter 6e67fa5
%{_kf5_datadir}/applications/org.kde.%{name}.desktop
Rex Dieter 6e67fa5
%{_kf5_datadir}/kservicetypes5/fileviewversioncontrolplugin.desktop
d75c101
#{_kf5_datadir}/kxmlgui5/%{name}/
5b3fa05
%lang(fi) %{_datadir}/locale/fi/LC_SCRIPTS/dolphin/
Rex Dieter 6e67fa5
abaac03
%ldconfig_scriptlets libs
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
1eb488c
#{_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
ad657a4
* Tue Jan 08 2019 Rex Dieter <rdieter@fedoraproject.org> - 18.12.1-1
ad657a4
- 18.12.1
ad657a4
0ff8faf
* Sat Dec 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.12.0-1
0ff8faf
- 18.12.0
0ff8faf
d02aeb2
* Tue Nov 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.08.3-1
d02aeb2
- 18.08.3
d02aeb2
e16b28e
* Wed Oct 10 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.08.2-1
e16b28e
- 18.08.2
e16b28e
6892663
* Fri Sep 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.08.1-1
6892663
- 18.08.1
6892663
0cfecef
* Wed Aug 15 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.08.0-1
0cfecef
- 18.08.0
0cfecef
4aeb997
* Thu Jul 12 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.04.3-1
4aeb997
- 18.04.3
4aeb997
0d94d7a
* Tue Jun 05 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.04.2-1
0d94d7a
- 18.04.2
0d94d7a
a3db1e1
* Tue May 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.04.1-1
a3db1e1
- 18.04.1
a3db1e1
c1ec634
* Sat Apr 14 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.04.0-1
c1ec634
- 18.04.0
c1ec634
dc61964
* Tue Mar 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 17.12.3-1
dc61964
- 17.12.3
dc61964
6b93040
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 17.12.2-2
6b93040
- Escape macros in %%changelog
6b93040
048cdf7
* Tue Feb 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 17.12.2-1
048cdf7
- 17.12.2
048cdf7
013909f
* Thu Jan 11 2018 Rex Dieter <rdieter@fedoraproject.org> - 17.12.1-1
013909f
- 17.12.1
013909f
ed3e3f9
* Tue Dec 12 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.12.0-1
ed3e3f9
- 17.12.0
ed3e3f9
f3cd41e
* Wed Nov 08 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.08.3-1
f3cd41e
- 17.08.3
f3cd41e
c0e030d
* Wed Oct 11 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.08.2-1
c0e030d
- 17.08.2
c0e030d
1330faa
* Tue Sep 05 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.08.1-1
1330faa
- 17.08.1
1330faa
afb5281
* Sat Aug 26 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.08.0-1
afb5281
- 17.08.0
afb5281
d4cd2bd
* Sun Aug 06 2017 Björn Esser <besser82@fedoraproject.org> - 17.04.3-2
d4cd2bd
- Rebuilt for AutoReq cmake-filesystem
d4cd2bd
5a2422c
* Fri Jul 28 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.3-1
5a2422c
- 17.04.3
5a2422c
161b1bb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 17.04.2-2
161b1bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
161b1bb
Rex Dieter 1d230ae
* Thu Jun 15 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.2-1
Rex Dieter 1d230ae
- 17.04.2
Rex Dieter 1d230ae
Rex Dieter dacbbd5
* Wed May 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.1-1
Rex Dieter dacbbd5
- 17.04.1
Rex Dieter dacbbd5
Rex Dieter 63f6aa7
* Sat Apr 22 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.0-2
Rex Dieter 63f6aa7
- use %%find_lang for HTML handbooks
Rex Dieter 63f6aa7
Rex Dieter 28066a6
* Fri Apr 14 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.0-1
Rex Dieter 28066a6
- 17.04.0, +translations, cmake-style kf5 deps
Rex Dieter 28066a6
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
6b93040
- %%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)