Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37578749
en ru br
ALT Linux repositórios
5.0: 0.6.5-alt1.M50.1
4.1: 0.5.10-alt0.M41.1

Group :: Ferramentas de Arquivo
RPM: strigi

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 


Name: strigi
Version: 0.6.5
Release: alt1.M50.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/

Packager: Andrey Rahmatullin <wrar at altlinux.ru>

Requires: lib%name = %version-%release

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

# RH

Patch1: strigi-0.6.2-multilib.patch

BuildRequires: cmake bzlib-devel gcc-c++ libclucene-devel libexiv2-devel
BuildRequires: libexpat-devel libqt4-devel libxml2-devel xml-utils

%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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009