dolphin/dolphin.spec

162 lines
4.8 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: dolphin
Version: 16.04.3
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: libgcc
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: libkdelibs4support-devel
BuildRequires: libkguiaddons-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: libkunitconversion-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
Requires: kio
Requires: kio-extras
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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
exit 0
%postun -n lib%{name}
/sbin/ldconfig
exit 0
%files
%defattr(-,root,root)
%{_sysconfdir}/xdg/servicemenu.knsrc
%{_bindir}/dolphin
%{_bindir}/servicemenudeinstallation
%{_bindir}/servicemenuinstallation
%{_datadir}/appdata/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
%doc COPYING.DOC
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libdolphinprivate.so.*
%{_libdir}/libdolphinvcs.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_export.h
%dir %{_libdir}/cmake/DolphinVcs
%{_libdir}/cmake/DolphinVcs/*.cmake
%{_libdir}/libdolphinvcs.so
%{_libdir}/libkdeinit5_dolphin.so
%changelog
* 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