From 89dc0409431a2158d6d4512cb8b9d9fd3fea0dd4 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 17:23:25 +0100 Subject: [PATCH] automatic version update by autodist [release 1.19.12-1mamba;Tue Apr 29 2014] --- README.md | 12 +++ recoll-1.9.0-security_mktemp.patch | 48 ++++++++++ recoll.spec | 147 +++++++++++++++++++++++++++++ 3 files changed, 207 insertions(+) create mode 100644 recoll-1.9.0-security_mktemp.patch create mode 100644 recoll.spec diff --git a/README.md b/README.md index 8c2f7fb..7cec031 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,14 @@ # recoll +Recoll is a personal full text search tool for Unix/Linux. +It is based on the very strong Xapian backend, for which it provides an easy to use, feature-rich, easy administration, QT graphical interface. + +Features: +* Easy installation, few dependancies. + No database daemon, web server, desktop environment or exotic language necessary. +* Will run on most unix-based systems. +* QT-based GUI. +* Supports most common document types. +* Powerful 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. + diff --git a/recoll-1.9.0-security_mktemp.patch b/recoll-1.9.0-security_mktemp.patch new file mode 100644 index 0000000..6411c3c --- /dev/null +++ b/recoll-1.9.0-security_mktemp.patch @@ -0,0 +1,48 @@ +diff -ur -F'^f' recoll-1.9.0/filters.orig/rcllyx recoll-1.9.0/filters/rcllyx +--- recoll-1.9.0/filters.orig/rcllyx 2007-02-06 16:08:22.000000000 +0100 ++++ recoll-1.9.0/filters/rcllyx 2007-04-25 19:00:12.000000000 +0200 +@@ -107,8 +107,10 @@ fi + ttdir=/tmp + fi + +-tmpdir=$ttdir/rcllyx_tmp$$ +-mkdir $tmpdir || exit 1 ++tmpdir=`mktemp -d $ttdir/rcllyx.XXXXXX` || ++ { echo "Cannot create directory \`$tmpdir'. Aborting." >&2; exit 1; } ++trap 'ret=$?; rm -rf $tmpdir && exit $ret' 0 ++trap '(exit 0); exit' 1 2 13 15 + mkdir $tmpdir/rcllyxtmp || exit 1 + + cleanup() +diff -ur -F'^f' recoll-1.9.0/filters.orig/rclsoff recoll-1.9.0/filters/rclsoff +--- recoll-1.9.0/filters.orig/rclsoff 2007-02-06 16:08:23.000000000 +0100 ++++ recoll-1.9.0/filters/rclsoff 2007-04-25 18:55:17.000000000 +0200 +@@ -100,8 +100,10 @@ fi + else + ttdir=/tmp + fi +-tmpdir=$ttdir/rclsoff_tmp$$ +-mkdir $tmpdir || exit 1 ++tmpdir=`mktemp -d $ttdir/rclsoff.XXXXXX` || ++ { echo "Cannot create directory \`$tmpdir'. Aborting." >&2; exit 1; } ++trap 'ret=$?; rm -rf $tmpdir && exit $ret' 0 ++trap '(exit 0); exit' 1 2 13 15 + mkdir $tmpdir/rclsofftmp || exit 1 + + cleanup() +diff -ur -F'^f' recoll-1.9.0/filters.orig/rclkwd recoll-1.9.0/filters/rclkwd +--- recoll-1.9.0/filters.orig/rclkwd 2007-02-06 16:08:22.000000000 +0100 ++++ recoll-1.9.0/filters/rclkwd 2007-04-25 19:00:12.000000000 +0200 +@@ -102,8 +102,10 @@ fi + else + ttdir=/tmp + fi +-tmpdir=$ttdir/rclkwd_tmp$$ +-mkdir $tmpdir || exit 1 ++tmpdir=`mktemp -d $ttdir/rclkwd.XXXXXX` || ++ { echo "Cannot create directory \`$tmpdir'. Aborting." >&2; exit 1; } ++trap 'ret=$?; rm -rf $tmpdir && exit $ret' 0 ++trap '(exit 0); exit' 1 2 13 15 + mkdir $tmpdir/rclkwdtmp || exit 1 + + cleanup() diff --git a/recoll.spec b/recoll.spec new file mode 100644 index 0000000..ef13d47 --- /dev/null +++ b/recoll.spec @@ -0,0 +1,147 @@ +Name: recoll +Epoch: 1 +Version: 1.19.12 +Release: 1mamba +Summary: A personal full text search tool for Unix/Linux +Group: Graphical Desktop/Applications/Databases +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://www.lesbonscomptes.com/recoll +Source: http://www.lesbonscomptes.com/recoll/recoll-%{version}.tar.gz +Patch: %{name}-1.9.0-security_mktemp.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libICE-devel +BuildRequires: libqt-devel +BuildRequires: libSM-devel +BuildRequires: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libxapian-devel +BuildRequires: libXext-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: libxapian-devel >= 1.2 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Recoll is a personal full text search tool for Unix/Linux. +It is based on the very strong Xapian backend, for which it provides an easy to use, feature-rich, easy administration, QT graphical interface. + +Features: +* Easy installation, few dependancies. + No database daemon, web server, desktop environment or exotic language necessary. +* Will run on most unix-based systems. +* QT-based GUI. +* Supports most common document types. +* Powerful 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 +%setup -q +%patch -p1 +rm -f filters/*~ + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/%{name}* +%dir %{_libdir}/recoll +%{_libdir}/recoll/librecoll.so.* +%{_datadir}/%{name} +%{_datadir}/applications/%{name}*.desktop +%{_datadir}/icons/hicolor/*/apps/%{name}*.png +%{_datadir}/pixmaps/recoll.png +%{python_sitearch}/Recoll-1.0-py*.egg-info +%dir %{python_sitearch}/recoll +%{python_sitearch}/recoll/* +#%{python_sitearch}/recoll.so +%{_mandir}/man1/* +%{_mandir}/man5/* +%doc COPYING +#ChangeLog README + +%changelog +* Tue Apr 29 2014 Automatic Build System 1.19.12-1mamba +- automatic version update by autodist + +* Sat Nov 23 2013 Automatic Build System 1.19.9-1mamba +- automatic update by autodist + +* Mon Jul 08 2013 Automatic Build System 1.19.5-1mamba +- automatic version update by autodist + +* Mon May 20 2013 Automatic Build System 1.19.2-1mamba +- automatic version update by autodist + +* Sun Apr 28 2013 Automatic Build System 1.18.2-1mamba +- update to 1.18.2 + +* Sun Nov 04 2012 Automatic Build System 1.18.003-1mamba +- automatic version update by autodist + +* Tue Oct 30 2012 Automatic Build System 1.18.002-1mamba +- automatic version update by autodist + +* Tue Sep 04 2012 Silvan Calarco 1.17.3-2mamba +- rebuilt with libxapian 1.2.12 + +* Wed Jun 13 2012 Automatic Build System 1.17.3-1mamba +- automatic version update by autodist + +* Mon Jun 20 2011 Automatic Build System 1.15.9-1mamba +- automatic update by autodist + +* Fri May 20 2011 Automatic Build System 1.15.8-1mamba +- automatic update by autodist + +* Mon Mar 14 2011 Automatic Build System 1.15.5-1mamba +- automatic update by autodist + +* Thu Feb 24 2011 Automatic Build System 1.15.2-1mamba +- automatic update by autodist + +* Thu Feb 10 2011 Automatic Build System 1.15.1-1mamba +- automatic update by autodist + +* Sat Nov 27 2010 Automatic Build System 1.14.3-1mamba +- automatic update by autodist + +* Mon Sep 27 2010 Automatic Build System 1.14.0-1mamba +- automatic update by autodist + +* Tue Jun 22 2010 Automatic Build System 1.13.04-1mamba +- automatic update by autodist + +* Thu Feb 11 2010 Automatic Build System 1.13.00-1mamba +- automatic update by autodist + +* Fri Nov 20 2009 Automatic Build System 1.12.3-1mamba +- automatic update by autodist + +* Tue Oct 27 2009 Automatic Build System 1.12.2-1mamba +- automatic update by autodist + +* Thu Feb 19 2009 Silvan Calarco 1.12.0-1mamba +- automatic update by autodist + +* Tue Nov 18 2008 Silvan Calarco 1.11.0-1mamba +- automatic update by autodist + +* Sat Nov 17 2007 Stefano Cotta Ramusino 1.9.0-1mamba +- update to 1.9.0 + +* Wed Apr 25 2007 Stefano Cotta Ramusino 1.8.1-1mamba +- package created by autospec