diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..602fa4b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dolphin-15.08.0.tar.xz diff --git a/dead.package b/dead.package deleted file mode 100644 index 01848aa..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Obsolete package and will be replaced by d3lphin. \ No newline at end of file diff --git a/dolphin.spec b/dolphin.spec new file mode 100644 index 0000000..7fbd5bd --- /dev/null +++ b/dolphin.spec @@ -0,0 +1,129 @@ +Name: dolphin +Summary: KDE File Manager +Version: 15.08.0 +Release: 1%{?dist} + +License: GPLv2+ +URL: https://projects.kde.org/projects/kde/applications/%{name} +%global revision %(echo %{version} | cut -d. -f3) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz + +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: extra-cmake-modules +BuildRequires: qt5-qtbase-devel +BuildRequires: kf5-kdoctools-devel +BuildRequires: kf5-kinit-devel +BuildRequires: kf5-kcmutils-devel +BuildRequires: kf5-knewstuff-devel +BuildRequires: kf5-kcoreaddons-devel +BuildRequires: kf5-ki18n-devel +BuildRequires: kf5-kdbusaddons-devel +BuildRequires: kf5-kbookmarks-devel +BuildRequires: kf5-kconfig-devel +BuildRequires: kf5-kio-devel +BuildRequires: kf5-kparts-devel +BuildRequires: kf5-solid-devel +BuildRequires: kf5-kiconthemes-devel +BuildRequires: kf5-kcompletion-devel +BuildRequires: kf5-ktexteditor-devel +BuildRequires: kf5-kwindowsystem-devel +BuildRequires: kf5-knotifications-devel +BuildRequires: kf5-kactivities-devel + +BuildRequires: kf5-baloo-devel +BuildRequires: kf5-kfilemetadata-devel + +BuildRequires: phonon-qt5-devel + +BuildRequires: baloo-widgets >= %{version} + +BuildRequires: libappstream-glib + +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description +%{summary}. + +%package libs +Summary: Dolphin runtime libraries +%description libs +%{summary}. + +%package devel +Summary: Developer files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires: qt5-qtbase-devel +Requires: kf5-kio-devel +%description devel +%{summary}. + +%prep +%setup -q -n %{name}-%{version} + + +%build +mkdir %{_target_platform} +pushd %{_target_platform} +%{cmake_kf5} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + + +%check +appstream-util validate-relax --nonet %{buildroot}%{_kf5_datadir}/appdata/%{name}.appdata.xml ||: +desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop ||: + + +%files +%license COPYING* +%doc README +%{_kf5_bindir}/%{name} +%{_kf5_bindir}/servicemenuinstallation +%{_kf5_bindir}/servicemenudeinstallation +%{_sysconfdir}/xdg/servicemenu.knsrc +%{_kf5_libdir}/libkdeinit5_dolphin.so +%{_kf5_qtplugindir}/dolphinpart.so +%{_kf5_datadir}/kservices5/dolphinpart.desktop +%{_kf5_qtplugindir}/kcm_*.so +%{_kf5_datadir}/kservices5/kcmdolphin*.desktop +%{_kf5_datadir}/appdata/%{name}.appdata.xml +%{_kf5_datadir}/config.kcfg/dolphin_* +%{_datadir}/dbus-1/services/org.kde.dolphin.FileManager1.service +%{_kf5_datadir}/applications/org.kde.%{name}.desktop +%{_kf5_datadir}/kservicetypes5/fileviewversioncontrolplugin.desktop +%{_kf5_datadir}/kxmlgui5/dolphinpart/ +%{_kf5_datadir}/kxmlgui5/%{name}/ +%{_kf5_docdir}/HTML/en/%{name}/ + +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig + +%files libs +%{_kf5_libdir}/libdolphinprivate.so.* +%{_kf5_libdir}/libdolphinvcs.so.* + +%files devel +%{_includedir}/Dolphin/ +%{_includedir}/dolphin_export.h +%{_kf5_libdir}/cmake/DolphinVcs/ +%{_kf5_libdir}/libdolphinprivate.so +%{_kf5_libdir}/libdolphinvcs.so +%{_datadir}/dbus-1/interfaces/org.freedesktop.FileManager1.xml + + + +%changelog +* Mon Aug 31 2015 Daniel Vrátil - 15.08.0-1 +- Reviving Dolphin stand-alone package (#1258430) diff --git a/sources b/sources new file mode 100644 index 0000000..1660bc1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +11760d094c2c3e3fff0e89b81d4db118 dolphin-15.08.0.tar.xz