~vcs-imports/beagle/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Summary:     The Beagle Search Infrastructure
Name:        beagle
Version:     @VERSION@
Release:     1
License:     LGPL
Group:       Applications/Development
Source:      %{name}-%{version}.tar.gz
BuildRoot:   /var/tmp/%{name}-%{version}-root
BuildPrereq: evolution-sharp, mono-core
Requires:    evolution-sharp >= 0.4, mono-core
Prefix:	     /opt/gnome

%description
A general infrastructure for making your data easy to find. 

%prep
%setup -q

%build
./configure --prefix=%{_prefix} \
	--localstatedir=/var/lib \
	--datadir=%{_prefix}/share \
	--sysconfdir=%{_sysconfdir}
make

%install
rm -rf $RPM_BUILD_ROOT
MAKE=${MAKE:-make}
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"}
case "${RPM_COMMAND:-all}" in
install|all)
        make install DESTDIR=${DESTDIR}
        ;;
esac

%clean
rm -rf $RPM_BUILD_ROOT

%post

%files
%defattr(-,root,root)
%doc COPYING README
%{_prefix}/lib/beagle/*
%{_prefix}/bin/beagle*
%{_prefix}/bin/best
%{_prefix}/bin/searchomatic
%{_prefix}/lib/epiphany/extensions/*beagle*
%{_prefix}/lib/*beagle*
%{_prefix}/lib/pkgconfig/beagle*
%{_prefix}/man/man1/beagle*
%{_sysconfdir}/cron.daily/beagle-*
%{_sysconfdir}/beagle/*

%changelog
* Thu Aug 27 2004 Nat Friedman <nat@novell.com>
- initial packaging of 0.0.3