Группа :: Работа с файлами
Пакет: recoll
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: recoll
Version: 1.3.3
Release: alt2.M24.1
%define pre %nil
Summary: Recoll is a personal full text search package
License: GPL
Group: File tools
Url: http://www.lesbonscomptes.com/recoll
Source0: %url/%name-%version%pre.tar.gz
Source1: recoll_ru.ts
Source2: recoll_ru.qm
Source3: recoll.desktop
Source4: embedSpaceFilters.tar.gz
Patch1: recoll_lowercase.patch
Patch2: recoll-1.0.14-emt-add_ru.patch
Patch3: recoll-1.0.15-emt-path.patch
Patch4: recoll-1.2.3-alt-defaults.patch
Packager: Michael Shigorin <mike at altlinux.org>
BuildRequires: fontconfig freetype2 gcc-c++ libqt3-devel libstdc++-devel libxapian-devel XFree86-devel zlib-devel
#BuildRequires: libqt3-settings
%{?!_desktopdir:%define _desktopdir %_datadir/applications}
%description
Recoll is a personal full text search package based on a very strong
backend (Xapian), for which it provides an easy to use, feature-rich,
easy administration interface.
Recommends: antiword catdoc xpdf-utils
%prep
%setup -q -n %name-%version%pre
#patch -p0
#patch2 -p1
#patch3 -p1
#patch4 -p1
tar -C filters -zxf %SOURCE4
%build
unset QTDIR || : ; . /etc/profile.d/qt3dir.sh ; PATH=$PATH:$QTDIR/bin
export CXXFLAGS="%optflags"
%configure
%make_build
%install
unset QTDIR || : ; . /etc/profile.d/qt3dir.sh ; PATH=$PATH:$QTDIR/bin
mkdir -p %buildroot%_menudir/
subst 's/openoffice/ooffice2/g' sampleconf/mimeconf
%makeinstall
install -pD %SOURCE3 %buildroot%_desktopdir/%name.desktop
cat >> %buildroot%_menudir/%name << EOF
?package(%name):\
needs="x11"\
section="Applications/File tools"\
title="Recoll"\
longtitle="Local file content search tool"\
command="%_bindir/%name"\
icon="%name.xpm"
EOF
%files
%_bindir/*
%_datadir/%name/
%_desktopdir/*
%_menudir/*
%_man1dir/*
%_man5dir/*
%doc ChangeLog README
%post
%update_menus
%postun
%clean_menus
# TODO:
# - icon
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.3.3
Release: alt2.M24.1
%define pre %nil
Summary: Recoll is a personal full text search package
License: GPL
Group: File tools
Url: http://www.lesbonscomptes.com/recoll
Source0: %url/%name-%version%pre.tar.gz
Source1: recoll_ru.ts
Source2: recoll_ru.qm
Source3: recoll.desktop
Source4: embedSpaceFilters.tar.gz
Patch1: recoll_lowercase.patch
Patch2: recoll-1.0.14-emt-add_ru.patch
Patch3: recoll-1.0.15-emt-path.patch
Patch4: recoll-1.2.3-alt-defaults.patch
Packager: Michael Shigorin <mike at altlinux.org>
BuildRequires: fontconfig freetype2 gcc-c++ libqt3-devel libstdc++-devel libxapian-devel XFree86-devel zlib-devel
#BuildRequires: libqt3-settings
%{?!_desktopdir:%define _desktopdir %_datadir/applications}
%description
Recoll is a personal full text search package based on a very strong
backend (Xapian), for which it provides an easy to use, feature-rich,
easy administration interface.
Recommends: antiword catdoc xpdf-utils
%prep
%setup -q -n %name-%version%pre
#patch -p0
#patch2 -p1
#patch3 -p1
#patch4 -p1
tar -C filters -zxf %SOURCE4
%build
unset QTDIR || : ; . /etc/profile.d/qt3dir.sh ; PATH=$PATH:$QTDIR/bin
export CXXFLAGS="%optflags"
%configure
%make_build
%install
unset QTDIR || : ; . /etc/profile.d/qt3dir.sh ; PATH=$PATH:$QTDIR/bin
mkdir -p %buildroot%_menudir/
subst 's/openoffice/ooffice2/g' sampleconf/mimeconf
%makeinstall
install -pD %SOURCE3 %buildroot%_desktopdir/%name.desktop
cat >> %buildroot%_menudir/%name << EOF
?package(%name):\
needs="x11"\
section="Applications/File tools"\
title="Recoll"\
longtitle="Local file content search tool"\
command="%_bindir/%name"\
icon="%name.xpm"
EOF
%files
%_bindir/*
%_datadir/%name/
%_desktopdir/*
%_menudir/*
%_man1dir/*
%_man5dir/*
%doc ChangeLog README
%post
%update_menus
%postun
%clean_menus
# TODO:
# - icon
%changelog
…
Полный changelog можно просмотреть здесь