Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF
recoll
recoll.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File recoll.spec of Package recoll
# # spec file for package recoll # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define recollchm_version 0.8.4.1+git Name: recoll Version: 1.37.5 Release: 0 Summary: Full text search tool License: GPL-2.0-or-later URL: https://www.recoll.org Source: https://www.recoll.org/%{name}-%{version}.tar.gz Patch0: stop-recoll-truncating-metadata-to-150.patch BuildRequires: bison BuildRequires: chmlib-devel BuildRequires: hicolor-icon-theme BuildRequires: libxapian-devel BuildRequires: libxslt-devel BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: update-desktop-files BuildRequires: xapian-core BuildRequires: wv-devel BuildRequires: wv2-devel BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5PrintSupport) BuildRequires: cmake(Qt5WebEngineWidgets) BuildRequires: cmake(Qt5Xml) Requires: awk Requires: python3 # Default requires for recoll itself Requires: sed # https://www.lesbonscomptes.com/recoll/features.html#doctypes # Requires for the helpers. Requires: exiftool Requires: libxslt-tools Requires: poppler-tools Requires: perl-Image-ExifTool Requires: antiword Requires: libwpd-tools Requires: ghostscript Requires: djvulibre Requires: python3-six Requires: python3-chardet Requires: python3-lxml Requires: python3-icalendar Requires: python3-libxml2-python Requires: python3-mutagen Requires: python3-pylzma Requires: python3-zipp Requires: python3-rarfile Requires: unrar Requires: unrtf Requires: unzip Requires: wv # Recommends for the helpers. Recommends: python3-djvulibre Recommends: python3-future Recommends: texlive-detex-bin Recommends: texlive-collection-fontsrecommended Recommends: texlive-collection-latexrecommended Recommends: texlive-collection-luatex Recommends: texlive-collection-xetex Recommends: texlive-xdvi-bin Recommends: texlive-extratools Recommends: lyx Recommends: xmlto Recommends: pstotext Recommends: libxslt-python Suggests: kio_recoll %description Recoll is a personal full text search tool based on Xapian. Features: * Qt-based GUI. * Searches most common document types, emails and their attachments. * Query facilities, with boolean searches, phrases, proximity, wildcards, filter on file types and directory tree. * Multi-language and multi-character set with Unicode based internals. %prep %autosetup -p1 # Fix shebang #sed -i '1s|%{_bindir}/env python|%{_bindir}/python|' filters/* %build export QMAKE=qmake-qt5 %configure \ --enable-python-module \ --enable-x11mon \ --disable-webkit \ --enable-webengine \ --without-fam \ --disable-python-aspell \ --with-aspell=no %make_build %install %make_install make install-man DESTDIR=$RPM_BUILD_ROOT # Unneeded rm -r %{buildroot}%{_includedir}/recoll rm %{buildroot}%{_libdir}/librecoll.{la,so} # rpmlint # E: env-script-interpreter sed -i 's|#!%{_bindir}/env python3|#!%{_bindir}/python3|' %{buildroot}%{_datadir}/recoll/filters/*.py sed -i 's|#!%{_bindir}/env python3|#!%{_bindir}/python3|' %{buildroot}%{_datadir}/recoll/filters/rcl* sed -i 's|#!%{_bindir}/env python3|#!%{_bindir}/python3|' %{buildroot}%{python3_sitearch}/recoll/rclconfig.py # W: non-executable-script chmod +x %{buildroot}%{_datadir}/recoll/filters/rclconfig.py chmod +x %{buildroot}%{python3_sitearch}/recoll/rclconfig.py %ldconfig_scriptlets %files %license COPYING %doc README %{_bindir}/recoll %{_bindir}/recollindex %{_datadir}/applications/recoll-searchgui.desktop %{_datadir}/icons/hicolor/48x48/apps/recoll.png %{_datadir}/metainfo/recoll.appdata.xml %{_datadir}/pixmaps/recoll.png %{_datadir}/recoll/ %{_libdir}/librecoll-%{version}.so %{_mandir}/man1/recoll.1%{?ext_man} %{_mandir}/man1/recollindex.1%{?ext_man} %{_mandir}/man1/recollq.1%{?ext_man} %{_mandir}/man5/recoll.conf.5%{?ext_man} %{python3_sitearch}/Recoll-%{version}-py%{python3_version}.egg-info/ %{python3_sitearch}/recoll/ %{python3_sitearch}/recollchm-%{recollchm_version}-py%{python3_version}.egg-info/ %{python3_sitearch}/recollchm/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor