Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37517210
en ru br
Репозитории ALT
5.1: 0.7.2-alt0.M51.1
4.1: 0.5.10-alt0.M41.1
www.altlinux.org/Changes

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

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


Name: strigi
Version: 0.7.2
Release: alt0.M51.1

Summary: The fastest and smallest desktop searching program
License: LGPL2+
Group: File tools
#Url: http://strigi.sourceforge.net/
Url: http://www.vandenoever.info/software/strigi/

Requires: lib%name = %version-%release
Requires: libclucene >= %{get_version libclucene}

Source0: %name-%version.tar.bz2
Source1: %name.watch
Source2: strigi-daemon.desktop
Source3: strigiclient.desktop

# RH

Patch1: strigi-0.6.2-multilib.patch

BuildRequires(pre): libclucene-devel
BuildRequires: cmake bzlib-devel gcc-c++ libexiv2-devel
BuildRequires: libexpat-devel libqt4-devel libxml2-devel xml-utils cppunit-devel
BuildRequires: libclucene-devel >= 0.9.21

%description
Strigi is a daemon which uses a very fast and efficient crawler that can
index data on your harddrive. Indexing operations are performed without
hammering your system, this makes Strigi the fastest and smallest
desktop searching program.


%package -n lib%name
Summary: %name shared library
Group: System/Libraries

%description -n lib%name
Strigi is a daemon which uses a very fast and efficient crawler that can
index data on your harddrive. Indexing operations are performed without
hammering your system, this makes Strigi the fastest and smallest
desktop searching program.

This package contains %name shared library.


%package -n lib%name-devel
Summary: %name development library and headers
Group: Development/C++
Requires: lib%name = %version

%description -n lib%name-devel
Strigi is a daemon which uses a very fast and efficient crawler that can
index data on your harddrive. Indexing operations are performed without
hammering your system, this makes Strigi the fastest and smallest
desktop searching program.

This package contains %name development library and headers.


%prep
%setup
%patch1 -p1

%build
mkdir -p build
pushd build
cmake ../ \
-DCMAKE_INSTALL_PREFIX=%_prefix \
%ifarch x86_64
       -DLIB_SUFFIX=64 \
%endif
-DCMAKE_SKIP_RPATH=YES \
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DCMAKE_BUILD_TYPE="Release" \
-DENABLE_DBUS:BOOL=ON
# -DENABLE_INOTIFY:BOOL=OFF \
%make_build VERBOSE=1
popd

%install
pushd build
%makeinstall DESTDIR=%buildroot
popd

mkdir -p %buildroot/{%_desktopdir,%_sysconfdir/xdg/autostart}
install -m0644 %SOURCE2 %buildroot/%_sysconfdir/xdg/autostart/
install -m0644 %SOURCE3 %buildroot/%_desktopdir/


%files
%_bindir/*
%_datadir/dbus-1/services/*
%_datadir/%name/
%dir %_libdir/%name/
%_libdir/%name/*.so
%_sysconfdir/xdg/autostart/*.desktop
%_desktopdir/*.desktop
%doc AUTHORS ChangeLog README README.win32 TODO TODOMONDAY

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_libdir/*.so
%_includedir/%name/
%_pkgconfigdir/*.pc
%dir %_libdir/%name/
%_libdir/%name/*.cmake

%changelog

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

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