source: projects/specs/trunk/x/xapian-core/xapian-core-vl.spec @ 6890

Revision 6890, 4.2 KB checked in by Takemikaduchi, 12 years ago (diff)

GNOME-3.6.0 & Cinnamon-1.6.1

Line 
1Summary: The Xapian Probabilistic Information Retrieval Library
2Name: xapian-core
3Version: 1.2.12
4Release: 1%{_dist_release}
5License: GPL
6Group: Applications/Databases
7Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
8URL: http://xapian.org/
9
10BuildRequires: gcc-c++ zlib-devel libuuid-devel
11
12Requires: %{name}-libs = %{version}
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16
17Vendor:         Project Vine
18Distribution:   Vine Linux
19
20%description
21Xapian is an Open Source Probabilistic Information Retrieval Library. It
22offers a highly adaptable toolkit that allows developers to easily add advanced
23indexing and search facilities to applications.
24
25%package libs
26Summary: Xapian search engine libraries.
27Group: System Environment/Libraries
28
29%description libs
30Xapian is an Open Source Probabilistic Information Retrieval framework. It
31offers a highly adaptable toolkit that allows developers to easily add advanced
32indexing and search facilities to applications. This package provides the
33libraries for applications using Xapian functionality.
34
35%package devel
36Group: Development/Libraries
37Summary: Files needed for building packages which use Xapian.
38Requires: %{name}-libs = %{version}
39
40%description devel
41Xapian is an Open Source Probabilistic Information Retrieval framework. It
42offers a highly adaptable toolkit that allows developers to easily add advanced
43indexing and search facilities to applications. This package provides the
44files needed for building packages which use Xapian.
45
46%prep
47%setup -q -n %{name}-%{version}
48
49%build
50# As of 1.1.0, Xapian uses libtool 2.2.x which allows us to override libtool's
51# sometimes conservative take on which directories are in the default dynamic
52# linker search path, so we no longer incorrectly try to set rpath for
53# /usr/lib64.  Hence there's no longer a need to run "autoreconf --force" here
54# and it's better not to as it avoids having to cope with incompatibilities
55# with older versions of the autotools which older distros have.
56#autoreconf --force
57%configure
58make
59
60%install
61[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
62mkdir -p %{buildroot}
63# makeinstall doesn't work properly with libtool built libraries
64make DESTDIR=%{buildroot} install
65# Move the docs to the right place
66mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_datadir}/doc/%{name}-devel-%{version}
67# Copy HACKING now, as "%doc HACKING" would overwrite everything
68cp HACKING %{buildroot}%{_datadir}/doc/%{name}-devel-%{version}
69# Copy the rest while we are in this directory
70mkdir -p %{buildroot}%{_datadir}/doc/%{name}-%{version}
71cp AUTHORS ChangeLog ChangeLog.examples COPYING NEWS PLATFORMS README %{buildroot}%{_datadir}/doc/%{name}-%{version}
72
73%post libs -p /sbin/ldconfig
74
75%postun libs -p /sbin/ldconfig
76
77%clean
78[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
79
80%files
81%defattr(-, root, root)
82%{_bindir}/xapian-tcpsrv
83%{_bindir}/xapian-progsrv
84%{_bindir}/quest
85%{_bindir}/delve
86%{_bindir}/copydatabase
87%{_bindir}/simpleindex
88%{_bindir}/simplesearch
89%{_bindir}/simpleexpand
90%{_bindir}/xapian-check
91%{_bindir}/xapian-chert-update
92%{_bindir}/xapian-compact
93%{_bindir}/xapian-inspect
94%{_bindir}/xapian-replicate
95%{_bindir}/xapian-replicate-server
96%{_bindir}/xapian-metadata
97%doc %{_datadir}/doc/%{name}-%{version}
98# man pages may be gzipped, hence the trailing wildcard.
99%{_mandir}/man1/xapian-tcpsrv.1*
100%{_mandir}/man1/xapian-progsrv.1*
101%{_mandir}/man1/quest.1*
102%{_mandir}/man1/delve.1*
103%{_mandir}/man1/copydatabase.1*
104%{_mandir}/man1/xapian-check.1*
105%{_mandir}/man1/xapian-chert-update.1*
106%{_mandir}/man1/xapian-compact.1*
107%{_mandir}/man1/xapian-inspect.1*
108%{_mandir}/man1/xapian-replicate.1*
109%{_mandir}/man1/xapian-replicate-server.1*
110%{_mandir}/man1/xapian-metadata.1*
111
112%files libs
113%defattr(-, root, root)
114%{_libdir}/libxapian*.so.*
115
116%files devel
117%defattr(-, root, root)
118%{_bindir}/xapian-config
119%{_includedir}/xapian
120%{_includedir}/xapian.h
121%{_libdir}/libxapian*.so
122%{_libdir}/libxapian*.a
123%{_libdir}/libxapian*.la
124%{_libdir}/cmake/xapian
125%{_datadir}/aclocal/xapian*.m4
126%doc %{_datadir}/doc/%{name}-devel-%{version}
127# man pages may be gzipped, hence the trailing wildcard.
128%{_mandir}/man1/xapian-config.1*
129
130%changelog
131* Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp>  1.2.12-1
132- initial build
Note: See TracBrowser for help on using the repository browser.