Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37526224
en ru br
Репозитории ALT
S:1.35.0-alt1
5.1: 1.12.0-alt4
4.1: 1.12.3-alt0.M41.1
4.0: 1.10.0-alt1
3.0:
+backports:1.3.3-alt2.M30.1
www.altlinux.org/Changes

Группа :: Работа с файлами
Пакет: recoll

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_with inotify
%def_with fam
%def_without lyx
%define pre %nil

Name: recoll
Version: 1.12.0
Release: alt4

Summary: A personal full text search package
License: %gpl2plus
Group: File tools

Url: http://www.recoll.org
Source0: %url/%name-%version%pre.tar.gz
Source1: recoll_ru.ts
Source2: recoll_ru.qm
Source3: recoll_uk.ts
Source4: recoll_uk.qm
Patch:recoll-1.12.0-alt-glibc210.patch
Packager: Michael Shigorin <mike at altlinux.org>

#BuildRequires: fontconfig freetype2 gcc-c++ libqt3-devel libqt3-settings libstdc++-devel libxapian-devel perl(Image/ExifTool.pm) xorg-x11-devel zlib-devel


# Automatically added by buildreq on Fri Aug 22 2008 (-bi)

#BuildRequires: aspell catdoc djvu-utils flac gcc-c++ libqt3-devel libqt3-settings groff-base id3lib-utils libXt-devel libaspell-devel libgamin-devel libwpd-tools libxapian-devel perl-Image-ExifTool unrtf unzip vorbis-tools xorg-cf-files xpdf-utils ImageMagick
BuildRequires: gcc-c++ libqt4-devel qt4-settings libXt-devel libaspell-devel xorg-cf-files ImageMagick
%{?_with_fam:BuildRequires: libfam-devel}
BuildRequires: libxapian-devel >= 0.9
BuildRequires: rpm-build-licenses
BuildRequires: perl-Image-ExifTool

%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 unrtf xpdf-utils ghostscript-utils

%prep
%setup -n %name-%version%pre
%patch -p1
subst 's/openoffice/ooffice/' sampleconf/mimeview
subst '/^Categories=/s/=/=Qt;/' desktop/*.desktop
# updated translations
cp -a %SOURCE1 %SOURCE2 qtgui/i18n/
cp -a %SOURCE3 %SOURCE4 qtgui/i18n/

%build
export CXXFLAGS="%optflags" PATH="$PATH:%_libdir/qt4/bin"
%configure %{subst_with inotify} %{subst_with fam}
%make_build
bzip2 --best --keep --force ChangeLog
for s in 128 96 72 64 36 32 24 22 16; do
   convert -depth 8 -resize ${s}x$s desktop/%name{.xcf,-$s.png}
done

%install
%make_install DESTDIR=%buildroot install
for s in 128 96 72 64 36 32 24 22 16; do
   install -D -m 0644 desktop/%name-$s.png %buildroot%_iconsdir/hicolor/${s}x$s/apps/%name.png
done

%add_findreq_skiplist %_datadir/%name/filters/xdg-open

%files
%_bindir/*
%_datadir/%name
%{?_without_lyx:%exclude %_datadir/%name/filters/rcllyx}
%_iconsdir/hicolor/*/apps/*
%_desktopdir/*
%_man1dir/*
%_man5dir/*
%doc ChangeLog.* README

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin