/[collab-maint]/deb-maint/pinot/trunk/pinot.spec
ViewVC logotype

Contents of /deb-maint/pinot/trunk/pinot.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12334 - (show annotations) (download)
Mon Feb 2 16:36:15 2009 UTC (4 years, 3 months ago) by hanska-guest
File size: 3874 byte(s)
New upstream release
1 # pinot.spec. Generated from pinot.spec.in by configure.
2 %if 0%{?suse_version}
3 # SuSE
4 %define pftotext_pkg xpdf-tools
5 %define dbus_pkg dbus-1-glib
6 %if 0%{?suse_version} > 1010
7 %define dbus_dev_pkg dbus-1-glib-devel
8 %else
9 %define dbus_dev_pkg dbus-1-devel
10 %endif
11 %else
12 # Fedora and anything else
13 %define pftotext_pkg poppler-utils
14 %define dbus_pkg dbus-glib
15 %define dbus_dev_pkg dbus-devel
16 %endif
17
18 Summary: Personal search and metasearch tool
19 Name: pinot
20 Version: 0.90
21 Release: 1%{?dist}
22 License: GPL
23 Group: Applications/Internet
24 Source: %{name}-%{version}.tar.gz
25 URL: http://pinot.berlios.de/
26 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
27 Requires: xapian-core-libs >= 1.0.4, libtextcat >= 2.2, sqlite >= 3.3.1, libcurl >= 7.13, gmime >= 2.1
28 Requires: gtkmm24 >= 2.10, libxml++ >= 2.12, %{dbus_pkg} >= 0.60, shared-mime-info
29 Requires: taglib >= 1.4, libexif >= 0.6, unzip, antiword, unrtf, %{pftotext_pkg}
30 #Suggests: xapian-omega
31 BuildRequires: xapian-core-devel >= 1.0.4, libtextcat-devel >= 2.2, sqlite-devel >= 3.3.1, libcurl-devel >= 7.13, gmime-devel >= 2.1, boost-devel >= 1.32
32 BuildRequires: gtkmm24-devel >= 2.10, libxml++-devel >= 2.12, %{dbus_dev_pkg} >= 0.60, gettext-devel, desktop-file-utils
33 BuildRequires: taglib-devel >= 1.4, libexif-devel >= 0.6
34 BuildRequires: gcc-c++
35 %if 0%{?_with_soap:1}
36 BuildRequires: gsoap >= 2.7.9e
37 %endif
38 %if 0%{?_with_xesam_glib:1}
39 BuildRequires: xesam-glib >= 0.3.0
40 %endif
41 # These used to be independant packages
42 Obsoletes: pinot-audio-docs
43 Obsoletes: pinot-omega
44
45 %description
46 Pinot is a D-Bus service that crawls, indexes your documents and monitors them
47 for changes, as well as a GTK-based user interface that enables to query
48 the index built by the service and your favourite Web engines, and display and
49 analyze the results.
50
51 %package deskbar
52 Summary: Pinot plugin for DeskbarApplet
53 Group: Applications/Internet
54 Requires: %{name} = %{version}
55 Requires: deskbar-applet
56
57 %description deskbar
58 The included plugin enables Deskbar to search documents indexed by Pinot.
59
60 %prep
61 %setup -q
62
63 %build
64 %configure %{?_with_soap:--enable-soap=yes} %{?_with_xesam_glib:--enable-xesam-glib=yes} %{?_with_debug:--enable-debug=yes}
65 make %{?_smp_mflags}
66
67 %install
68 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
69 make install DESTDIR=$RPM_BUILD_ROOT
70 %find_lang %{name}
71
72 %post
73 touch --no-create %{_datadir}/icons/hicolor
74 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
75 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
76 fi
77
78 %postun
79 touch --no-create %{_datadir}/icons/hicolor
80 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
81 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
82 fi
83
84 %clean
85 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
86
87 %files -f %{name}.lang
88 %defattr(-, root, root, -)
89 %doc AUTHORS ChangeLog ChangeLog-dijon COPYING FAQ NEWS README TODO
90 %config(noreplace) %{_sysconfdir}/pinot/
91 %{_bindir}/pinot
92 %{_bindir}/pinot-dbus-daemon
93 %{_bindir}/pinot-index
94 %{_bindir}/pinot-label
95 %{_bindir}/pinot-prefs
96 %{_bindir}/pinot-search
97 %{_libdir}/pinot/filters/libexifimagefilter.so*
98 %{_libdir}/pinot/filters/libexternalfilter.so*
99 %{_libdir}/pinot/filters/libmboxfilter.so*
100 %{_libdir}/pinot/filters/libtaglibfilter.so*
101 %{_libdir}/pinot/backends/lib*backend.so*
102 %{_datadir}/dbus-1/services/de.berlios.Pinot.service
103 %{_datadir}/pinot/
104 %{_datadir}/icons/hicolor/48x48/apps/pinot.png
105 %{_datadir}/icons/hicolor/32x32/apps/pinot.png
106 %{_datadir}/icons/hicolor/24x24/apps/pinot.png
107 %{_datadir}/icons/hicolor/22x22/apps/pinot.png
108 %{_datadir}/icons/hicolor/16x16/apps/pinot.png
109 %{_sysconfdir}/xdg/autostart/*.desktop
110 %{_datadir}/applications/*.desktop
111 %{_mandir}/man1/pinot*
112
113 %files deskbar
114 %defattr(-,root,root,-)
115 %{_libdir}/deskbar-applet/handlers/pinot-*
116 %{_libdir}/deskbar-applet/modules-2.20-compatible/pinot-*
117
118 %changelog
119

  ViewVC Help
Powered by ViewVC 1.1.5