kfind/kfind.spec

125 lines
3.9 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: kfind
Version: 18.04.0
Release: 1mamba
Summary: KDE Frameworks 5 file search tool
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://download.kde.org/stable/applications/%{version}/src/kfind-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libkdelibs4support-devel
BuildRequires: libkguiaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-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: libqt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE Frameworks 5 file search tool.
%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 --with-man || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/kfind.categories
%{_bindir}/kfind
%{_datadir}/applications/org.kde.kfind.desktop
%lang(ca) %{_datadir}/doc/HTML/ca/kfind
%lang(de) %{_datadir}/doc/HTML/de/kfind
%lang(en) %{_datadir}/doc/HTML/en/kfind
%lang(es) %{_datadir}/doc/HTML/es/kfind
%lang(et) %{_datadir}/doc/HTML/et/kfind
%lang(fr) %{_datadir}/doc/HTML/fr/kfind
%lang(it) %{_datadir}/doc/HTML/it/kfind
%lang(lt) %{_datadir}/doc/HTML/lt/kfind
%lang(nl) %{_datadir}/doc/HTML/nl/kfind
%lang(pl) %{_datadir}/doc/HTML/pl/kfind
%lang(pt) %{_datadir}/doc/HTML/pt/kfind
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kfind
%lang(ru) %{_datadir}/doc/HTML/ru/kfind
%lang(sr) %{_datadir}/doc/HTML/sr/kfind
%lang(sv) %{_datadir}/doc/HTML/sv/kfind
%lang(uk) %{_datadir}/doc/HTML/uk/kfind
%{_datadir}/icons/hicolor/*/apps/kfind.png
%{_datadir}/metainfo/org.kde.kfind.appdata.xml
%{_mandir}/man1/kfind.1*
%doc COPYING COPYING.DOC
%changelog
* 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-2mamba
- automatic version update by autodist
* Fri Nov 10 2017 Automatic Build System <autodist@mambasoft.it> 17.08.3-1mamba
- automatic version update by autodist
* 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-1mamba
- package created using the webbuild interface