/[smecontribs]/rpms/xapian-core/contribs8/xapian-core.spec
ViewVC logotype

Annotation of /rpms/xapian-core/contribs8/xapian-core.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Oct 20 02:00:49 2008 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: xapian-core-1_0_6-1_el5_sme
Import of xapian-core-1.0.6-1.src.rpm

1 slords 1.1 # $Id: pylucene.spec,v 1.3 2008/04/02 15:22:03 slords Exp $
2     # Authority: slords
3     # Name: Shad L. Lords
4    
5     Summary: The Xapian Probabilistic Information Retrieval Library
6     Name: xapian-core
7     Version: 1.0.6
8     Release: 1%{?dist}
9     License: GPLv2+
10     Group: Applications/Databases
11     URL: http://www.xapian.org/
12     Requires: %{name}-libs = %{version}
13     Source0: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
14     Patch0: multilib-devel-conflict-fix.patch
15     BuildRequires: autoconf automake libtool
16     BuildRequires: zlib-devel
17     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18    
19     %description
20     Xapian is an Open Source Probabilistic Information Retrieval Library. It
21     offers a highly adaptable toolkit that allows developers to easily add advanced
22     indexing and search facilities to applications
23    
24     %package libs
25     Summary: Xapian search engine libraries
26     Group: System Environment/Libraries
27    
28     %description libs
29     Xapian is an Open Source Probabilistic Information Retrieval framework. It
30     offers a highly adaptable toolkit that allows developers to easily add advanced
31     indexing and search facilities to applications. This package provides the
32     libraries for applications using Xapian functionality
33    
34     %package devel
35     Group: Development/Libraries
36     Summary: Files needed for building packages which use Xapian
37     Requires: %{name} = %{version}
38     Requires: %{name}-libs = %{version}
39    
40     %description devel
41     Xapian is an Open Source Probabilistic Information Retrieval framework. It
42     offers a highly adaptable toolkit that allows developers to easily add advanced
43     indexing and search facilities to applications. This package provides the
44     files needed for building packages which use Xapian
45    
46     %prep
47     %setup -q -n %{name}-%{version}
48     %patch0 -p1 -b .multilibfix
49    
50     %build
51     # FC6 (at least) has a patched libtool which knows not to set rpath for
52     # /usr/lib64, which upstream libtool fails to do currently. We can drop
53     # this "autoreconf --force" and the "BuildRequires:" for the autotools
54     # once upstream libtool is fixed. Note: this overwrites INSTALL, but
55     # that doesn't matter here as we don't package it.
56     autoreconf --force
57     %configure --disable-static
58     make %{?_smp_mflags}
59    
60     %install
61     rm -rf %{buildroot}
62     mkdir -p %{buildroot}
63     # makeinstall doesn't work properly with libtool built libraries
64     make DESTDIR=%{buildroot} install
65     find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
66     # Move the docs to the right place
67     mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_datadir}/doc/%{name}-devel-%{version}
68     # Copy HACKING now, as "%doc HACKING" would overwrite everything
69     cp HACKING %{buildroot}%{_datadir}/doc/%{name}-devel-%{version}
70     # Copy the rest while we are in this directory
71     mkdir -p %{buildroot}%{_datadir}/doc/%{name}-%{version}
72     cp AUTHORS ChangeLog COPYING NEWS PLATFORMS README %{buildroot}%{_datadir}/doc/%{name}-%{version}
73    
74     %post libs -p /sbin/ldconfig
75    
76     %postun libs -p /sbin/ldconfig
77    
78     %clean
79     rm -rf %{buildroot}
80    
81     %files
82     %defattr(-, root, root)
83     %{_bindir}/xapian-check
84     %{_bindir}/xapian-inspect
85     %{_bindir}/xapian-tcpsrv
86     %{_bindir}/xapian-progsrv
87     %{_bindir}/quartzcheck
88     %{_bindir}/quartzcompact
89     %{_bindir}/quartzdump
90     %{_bindir}/quest
91     %{_bindir}/delve
92     %{_bindir}/copydatabase
93     %{_bindir}/simpleindex
94     %{_bindir}/simplesearch
95     %{_bindir}/simpleexpand
96     %{_bindir}/xapian-compact
97     %doc %{_datadir}/doc/%{name}-%{version}
98     # man pages may be gzipped, hence the trailing wildcard.
99     %{_mandir}/man1/xapian-check.1*
100     %{_mandir}/man1/xapian-inspect.1*
101     %{_mandir}/man1/xapian-tcpsrv.1*
102     %{_mandir}/man1/xapian-progsrv.1*
103     %{_mandir}/man1/quartzcheck.1*
104     %{_mandir}/man1/quartzcompact.1*
105     %{_mandir}/man1/quartzdump.1*
106     %{_mandir}/man1/quest.1*
107     %{_mandir}/man1/delve.1*
108     %{_mandir}/man1/copydatabase.1*
109     %{_mandir}/man1/xapian-compact.1*
110    
111     %files libs
112     %defattr(-, root, root)
113     %{_libdir}/libxapian.so.*
114    
115     %files devel
116     %defattr(-, root, root)
117     %{_bindir}/xapian-config
118     %{_includedir}/xapian
119     %{_includedir}/xapian.h
120     %{_libdir}/libxapian.so
121     %{_datadir}/aclocal/xapian.m4
122     %doc %{_datadir}/doc/%{name}-devel-%{version}
123     # man pages may be gzipped, hence the trailing wildcard.
124     %{_mandir}/man1/xapian-config.1*
125    
126     %changelog
127     * Sun Mar 30 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.6-1
128     - Update to 1.0.6
129    
130     * Sat Feb 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.5-2
131     - Rebuild for gcc-4.3
132    
133     * Thu Dec 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.5-1
134     - Update to 1.0.5
135    
136     * Tue Oct 30 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.4-1
137     - Update to 1.0.4
138    
139     * Fri Oct 25 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-7
140     - Fix up multilib patch
141    
142     * Thu Oct 25 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-6
143     - Fix multilib conflict in devel package (RH #343471)
144    
145     * Tue Aug 21 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-5
146     - Rebuild for BuildID and ppc32 bug
147    
148     * Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-4
149     - Add disttag
150    
151     * Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-3
152     - Bump to avoid tag conflict
153    
154     * Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-2
155     - Add missing files
156     - Minor cleanups
157    
158     * Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-1
159     - Update to 1.0.2
160     - Fix License tag
161    
162     * Sat Jun 16 2007 Marco Pesenti Gritti <mpg@redhat.com> 1.0.1-1
163     - Update to 1.0.1
164    
165     * Tue May 8 2007 Marco Pesenti Gritti <mpg@redhat.com> 0.9.10-2.2.svn8397
166     - Initial build

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed