dolphin/dolphin.spec

255 lines
8.5 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: dolphin
Version: 18.04.2
Release: 1mamba
Summary: KDE Frameworks 5 File Manager
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/applications/%{version}/src/dolphin-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libattica5-devel
BuildRequires: libbaloo-devel
BuildRequires: libbaloo-widgets-devel
BuildRequires: libgcc
BuildRequires: libkactivities5-devel
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcmutils-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libkfilemetadata-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknewstuff-devel
BuildRequires: libknotifications-devel
BuildRequires: libkparts-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libphonon-qt5-devel
BuildRequires: libqt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
Provides: kdeplasma-folderview
Obsoletes: kdeplasma-folderview
Requires: kio
Requires: kio-extras
Provides: dolphin4
Obsoletes: dolphin4
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE Frameworks 5 File Manager.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
exit 0
%postun -n lib%{name}
/sbin/ldconfig
exit 0
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/servicemenu.knsrc
%{_bindir}/dolphin
%{_bindir}/servicemenudeinstallation
%{_bindir}/servicemenuinstallation
%{_datadir}/metainfo/org.kde.dolphin.appdata.xml
%{_datadir}/applications/org.kde.dolphin.desktop
%{_datadir}/config.kcfg/*.kcfg
%{_datadir}/dbus-1/interfaces/org.freedesktop.FileManager1.xml
%{_datadir}/dbus-1/services/org.kde.dolphin.FileManager1.service
%dir %{_datadir}/doc/HTML/en/dolphin
%{_datadir}/doc/HTML/en/dolphin/*
%{_datadir}/kservices5/*.desktop
%{_kde5_servicetypesdir}/fileviewversioncontrolplugin.desktop
#%{_datadir}/kxmlgui5/dolphin/dolphinui.rc
#%{_datadir}/kxmlgui5/dolphinpart/dolphinpart.rc
%lang(fi) %{_datadir}/locale/fi/LC_SCRIPTS/dolphin/dolphin.js
%doc %lang(ca) %{_datadir}/doc/HTML/ca/dolphin
%doc %lang(de) %{_datadir}/doc/HTML/de/dolphin
%doc %lang(es) %{_datadir}/doc/HTML/es/dolphin
%doc %lang(it) %{_datadir}/doc/HTML/it/dolphin
%doc %lang(nl) %{_datadir}/doc/HTML/nl/dolphin
%doc %lang(pt) %{_datadir}/doc/HTML/pt/dolphin
%doc %lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/dolphin
%doc %lang(sr) %{_datadir}/doc/HTML/sr/dolphin
%doc %lang(sv) %{_datadir}/doc/HTML/sv/dolphin
%doc %lang(uk) %{_datadir}/doc/HTML/uk/dolphin
%doc COPYING.DOC
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libdolphinprivate.so.*
%{_libdir}/libdolphinvcs.so.*
%{_libdir}/libkdeinit5_dolphin.so
%{_libdir}/qt5/plugins/dolphinpart.so
%{_libdir}/qt5/plugins/kcm_dolphin*.so
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root
%dir %{_includedir}/Dolphin
%{_includedir}/Dolphin/*
%{_includedir}/dolphin*.h
%dir %{_libdir}/cmake/DolphinVcs
%{_libdir}/cmake/DolphinVcs/*.cmake
%{_libdir}/libdolphinvcs.so
%changelog
* Thu Jun 07 2018 Automatic Build System <autodist@mambasoft.it> 18.04.2-1mamba
- automatic version update by autodist
* Thu May 10 2018 Automatic Build System <autodist@mambasoft.it> 18.04.1-1mamba
- automatic version update by autodist
* Sat Apr 21 2018 Automatic Build System <autodist@mambasoft.it> 18.04.0-1mamba
- automatic version update by autodist
* Thu Mar 08 2018 Automatic Build System <autodist@mambasoft.it> 17.12.3-1mamba
- automatic version update by autodist
* Fri Feb 09 2018 Automatic Build System <autodist@mambasoft.it> 17.12.2-1mamba
- automatic version update by autodist
* Thu Jan 11 2018 Automatic Build System <autodist@mambasoft.it> 17.12.1-1mamba
- automatic version update by autodist
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 17.12.0-1mamba
- automatic version update by autodist
* Fri Nov 10 2017 Automatic Build System <autodist@mambasoft.it> 17.08.3-1mamba
- automatic version update by autodist
* Tue Oct 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 17.08.2-2mamba
- provide and obsolete dolphin4
* Thu Oct 12 2017 Automatic Build System <autodist@mambasoft.it> 17.08.2-1mamba
- automatic version update by autodist
* Wed Oct 11 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 17.08.1-2mamba
- provide/obsolete kdeplasma-folderview formerly from kde-baseapps
* Fri Sep 08 2017 Automatic Build System <autodist@mambasoft.it> 17.08.1-1mamba
- automatic version update by autodist
* Fri Aug 25 2017 Automatic Build System <autodist@mambasoft.it> 17.08.0-1mamba
- automatic version update by autodist
* Sun Aug 06 2017 Automatic Build System <autodist@mambasoft.it> 17.04.3-1mamba
- automatic version update by autodist
* Sun Jun 25 2017 Automatic Build System <autodist@mambasoft.it> 17.04.2-1mamba
- automatic version update by autodist
* Fri Mar 10 2017 Automatic Build System <autodist@mambasoft.it> 16.12.3-1mamba
- automatic version update by autodist
* Fri Feb 10 2017 Automatic Build System <autodist@mambasoft.it> 16.12.2-1mamba
- automatic version update by autodist
* Fri Jan 13 2017 Automatic Build System <autodist@mambasoft.it> 16.12.1-1mamba
- automatic version update by autodist
* Sun Dec 18 2016 Automatic Build System <autodist@mambasoft.it> 16.12.0-1mamba
- automatic version update by autodist
* Thu Nov 10 2016 Automatic Build System <autodist@mambasoft.it> 16.08.3-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 16.08.2-1mamba
- automatic version update by autodist
* Sat Sep 17 2016 Davide Madrisan <davide.madrisan@gmail.com> 16.08.1-2mamba
- move libkdeinit5_dolphin.so to lib%{name}
* Thu Sep 08 2016 Automatic Build System <autodist@mambasoft.it> 16.08.1-1mamba
- automatic version update by autodist
* Sun Aug 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.08.0-2mamba
- rebuilt with libbaloo-widgets
* Sat Aug 27 2016 Automatic Build System <autodist@mambasoft.it> 16.08.0-1mamba
- automatic version update by autodist
* Tue Jul 12 2016 Automatic Build System <autodist@mambasoft.it> 16.04.3-1mamba
- automatic version update by autodist
* Tue Jun 14 2016 Automatic Build System <autodist@mambasoft.it> 16.04.2-1mamba
- automatic version update by autodist
* Wed May 11 2016 Automatic Build System <autodist@mambasoft.it> 16.04.1-1mamba
- automatic version update by autodist
* Sat May 07 2016 Automatic Build System <autodist@mambasoft.it> 16.04.0-1mamba
- automatic version update by autodist
* Tue Mar 15 2016 Automatic Build System <autodist@mambasoft.it> 15.12.3-1mamba
- automatic version update by autodist
* Tue Feb 16 2016 Automatic Build System <autodist@mambasoft.it> 15.12.2-1mamba
- automatic version update by autodist
* Tue Jan 12 2016 Automatic Build System <autodist@mambasoft.it> 15.12.1-1mamba
- automatic version update by autodist
* Sat Dec 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 15.12.0-1mamba
- package created using the webbuild interface