3 # - finish crawl system
4 # - separtate CLI utilities
6 %include /usr/lib/rpm/macros.mono
9 %bcond_with epiphany # don't build epiphany extension
10 %bcond_with evolution # don't include evolution support
12 Summary: Beagle - An indexing subsystem
13 Summary(pl): Beagle - podsystem indeksuj±cy
19 Source0: http://ftp.gnome.org/pub/gnome/sources/beagle/0.2/%{name}-%{version}.tar.bz2
20 # Source0-md5: faa236b812db1a8ee72c58d2cb810010
21 Patch0: %{name}-desktop.patch
22 Patch1: %{name}-crawl.patch
23 URL: http://beaglewiki.org/Main_Page
24 BuildRequires: autoconf >= 2.52
25 BuildRequires: automake
26 %{?with_evolution:BuildRequires: dotnet-evolution-sharp-devel >= 0.10.2}
27 BuildRequires: dotnet-gmime-sharp-devel >= 2.1.19
28 BuildRequires: dotnet-gsf-sharp-devel >= 0.7
29 #BuildRequires: dotnet-gst-sharp-devel
30 BuildRequires: dotnet-gtk-sharp2-gnome-devel >= 2.3.90
31 %{?with_epiphany:BuildRequires: epiphany-devel >= 1.8}
32 BuildRequires: gnome-vfs2-devel
33 BuildRequires: gtk+2-devel >= 2:2.6.0
34 BuildRequires: gtk-doc
35 BuildRequires: libexif-devel >= 0.5.0
36 BuildRequires: libgnome-devel
37 BuildRequires: libpng-devel
38 BuildRequires: libtool
39 BuildRequires: libxml2-devel >= 2.6.19
40 BuildRequires: mono-csharp >= 1.1.10
41 BuildRequires: mozilla-devel
42 BuildRequires: pkgconfig
43 BuildRequires: python-devel
44 BuildRequires: sqlite-devel
45 BuildRequires: wv-devel >= 1.0.0
47 Requires: %{name}-libs = %{version}-%{release}
48 Requires: dotnet-gmime-sharp >= 2.1.19
49 %{?with_epiphany:Requires: epiphany-extensions}
50 Requires: gtk+2 >= 2:2.6.0
53 ExcludeArch: alpha i386 sparc sparc64
54 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57 Beagle is an indexing sub-system and search aggregator built on top of
61 Beagle jest podsystemem indeksuj±cym i wyszukuj±cym zbudowanym na
65 Summary: Beagle libraries
66 Summary(pl): Bibiloteki Beagle
72 %description libs -l pl
76 Summary: Beagle development files
77 Summary(pl): Pliki programistyczne Beagle
78 Group: Development/Libraries
79 Requires: %{name}-libs = %{version}-%{release}
82 Beagle development files.
84 %description devel -l pl
85 Pliki programistyczne Beagle.
88 Summary: Beagle static libraries
89 Summary(pl): Statyczne biblioteki Beagle
90 Group: Development/Libraries
91 Requires: %{name}-devel = %{version}-%{release}
94 Beagle static libraries.
96 %description static -l pl
97 Statyczne biblioteki Beagle.
100 Summary: Beagle crawl system
101 Summary(pl): System przeszukuj±cy beagle-crawl
102 Group: Applications/System
104 %description crawl-system
107 %description crawl-system -l pl
108 System przeszukuj±cy beagle-crawl.
110 %package -n epiphany-extension-beagle
111 Summary: Epiphany extension - beagle
112 Summary(pl): Rozszerzenie dla Epiphany - beagle
113 Group: X11/Applications/Networking
114 Requires: %{name} = %{version}-%{release}
115 Requires: epiphany >= 1.2.1
117 %description -n epiphany-extension-beagle
118 Epiphany extension that allows Beagle to index every page the user
121 %description -n epiphany-extension-beagle -l pl
122 Rozszerzenie dla Epiphany sprawiaj±ce, ¿e Beagle indeksuje ka¿d±
125 %package -n python-%{name}
126 Summary: Beagle Python bindings
127 Summary(pl): Wi±zania jêzyka Python dla Beagle
128 Group: Libraries/Python
129 Requires: %{name} = %{version}-%{release}
130 %pyrequires_eq python-libs
132 %description -n python-%{name}
133 Beagle Python bindings.
135 %description -n python-%{name} -l pl
136 Wi±zania jêzyka Python dla Beagle.
151 --with-html-dir=%{_gtkdocdir} \
152 --%{!?with_epiphany:dis}%{?with_epiphany:en}able-epiphany-extension \
153 --%{!?with_evolution:dis}%{?with_evolution:en}able-evolution-sharp
156 MOZILLA_HOME=%{_libdir}/mozilla \
157 pythondir=%{py_sitedir}
160 rm -rf $RPM_BUILD_ROOT
163 DESTDIR=$RPM_BUILD_ROOT \
164 pythondir=%{py_sitedir}
167 rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/1.8/extensions/*.la \
168 $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
170 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la}
171 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
173 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
178 rm -rf $RPM_BUILD_ROOT
180 %post libs -p /sbin/ldconfig
181 %postun libs -p /sbin/ldconfig
183 %files -f %{name}.lang
184 %defattr(644,root,root,755)
185 %doc AUTHORS COPYING ChangeLog NEWS README
186 %attr(755,root,root) %{_bindir}/*
187 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
189 %{_libdir}/%{name}/Filters
190 %attr(755,root,root) %{_libdir}/%{name}/*.exe
191 %{_libdir}/%{name}/*.dll*
193 %attr(755,root,root) %{_libdir}/%{name}/beagled-index-helper
196 %{_desktopdir}/*.desktop
200 %defattr(644,root,root,755)
201 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
202 %dir %{_libdir}/%{name}
205 %defattr(644,root,root,755)
206 %attr(755,root,root) %{_libdir}/*.so
207 %{_includedir}/libbeagle
213 %defattr(644,root,root,755)
218 %defattr(644,root,root,755)
219 %attr(750,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.daily/*
220 %attr(750,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/*
221 %attr(755,root,root) %{_sbindir}/*
222 %{_libdir}/beagle-crawl-system
225 %files -n epiphany-extension-beagle
226 %defattr(644,root,root,755)
227 %doc epiphany-extension/README
228 %attr(755,root,root) %{_libdir}/epiphany/1.8/extensions/libbeagleextension.so*
229 %{_libdir}/epiphany/1.8/extensions/*.xml
232 %files -n python-%{name}
233 %defattr(644,root,root,755)
234 %attr(755,root,root) %{py_sitedir}/*.so