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

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

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


Revision 1.5 - (show annotations) (download)
Wed Feb 24 16:41:23 2010 UTC (14 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +4 -0 lines
Update spec

1 # $Id: xapian-core.spec,v 1.3 2008/11/25 16:20:36 slords Exp $
2 # Authority: slords
3 # Name: Shad L. Lords
4
5 Name: xapian-core
6 Version: 1.0.17
7 Release: 1%{?dist}
8 Summary: The Xapian Probabilistic Information Retrieval Library
9
10 Group: Applications/Databases
11 License: GPLv2+
12 URL: http://www.xapian.org/
13 Source0: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
14 Patch0: multilib-devel-conflict-fix.patch
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16
17 BuildRequires: zlib-devel
18 Requires: %{name}-libs = %{version}
19
20 %description
21 Xapian is an Open Source Probabilistic Information Retrieval Library. It
22 offers a highly adaptable toolkit that allows developers to easily add advanced
23 indexing and search facilities to applications
24
25 %package libs
26 Summary: Xapian search engine libraries
27 Group: System Environment/Libraries
28
29 %description libs
30 Xapian is an Open Source Probabilistic Information Retrieval framework. It
31 offers a highly adaptable toolkit that allows developers to easily add advanced
32 indexing and search facilities to applications. This package provides the
33 libraries for applications using Xapian functionality
34
35 %package devel
36 Group: Development/Libraries
37 Summary: Files needed for building packages which use Xapian
38 Requires: %{name} = %{version}
39 Requires: %{name}-libs = %{version}
40
41 %description devel
42 Xapian is an Open Source Probabilistic Information Retrieval framework. It
43 offers a highly adaptable toolkit that allows developers to easily add advanced
44 indexing and search facilities to applications. This package provides the
45 files needed for building packages which use Xapian
46
47 %prep
48 %setup -q
49 %patch0 -p1 -b .multilibfix
50
51 %build
52 %configure --disable-static
53
54 # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
55 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
56 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
57
58 make %{?_smp_mflags} V=1
59
60 %install
61 rm -rf %{buildroot}
62 make install DESTDIR=%{buildroot} INSTALL='install -p'
63
64 # Remove libtool archives
65 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
66
67 # Remove the dev docs, we pick them up below
68 rm -rf %{buildroot}%{_datadir}/doc/%{name}
69
70 %post libs -p /sbin/ldconfig
71
72 %postun libs -p /sbin/ldconfig
73
74 %clean
75 rm -rf %{buildroot}
76
77 %files
78 %defattr(-, root, root)
79 %doc AUTHORS ChangeLog COPYING NEWS README
80 %{_bindir}/xapian-check
81 %{_bindir}/xapian-inspect
82 %{_bindir}/xapian-tcpsrv
83 %{_bindir}/xapian-progsrv
84 %{_bindir}/quartzcheck
85 %{_bindir}/quartzcompact
86 %{_bindir}/quartzdump
87 %{_bindir}/quest
88 %{_bindir}/delve
89 %{_bindir}/copydatabase
90 %{_bindir}/simpleindex
91 %{_bindir}/simplesearch
92 %{_bindir}/simpleexpand
93 %{_bindir}/xapian-compact
94 # man pages may be gzipped, hence the trailing wildcard.
95 %{_mandir}/man1/xapian-check.1*
96 %{_mandir}/man1/xapian-inspect.1*
97 %{_mandir}/man1/xapian-tcpsrv.1*
98 %{_mandir}/man1/xapian-progsrv.1*
99 %{_mandir}/man1/quartzcheck.1*
100 %{_mandir}/man1/quartzcompact.1*
101 %{_mandir}/man1/quartzdump.1*
102 %{_mandir}/man1/quest.1*
103 %{_mandir}/man1/delve.1*
104 %{_mandir}/man1/copydatabase.1*
105 %{_mandir}/man1/xapian-compact.1*
106
107 %files libs
108 %defattr(-, root, root)
109 %{_libdir}/libxapian.so.*
110
111 %files devel
112 %defattr(-, root, root)
113 %doc HACKING PLATFORMS docs/*html docs/apidoc docs/*pdf
114 %{_bindir}/xapian-config
115 %{_includedir}/xapian
116 %{_includedir}/xapian.h
117 %{_libdir}/libxapian.so
118 %{_datadir}/aclocal/xapian.m4
119 # man pages may be gzipped, hence the trailing wildcard.
120 %{_mandir}/man1/xapian-config.1*
121
122 %changelog
123 * Wed Dec 2 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.17-1
124 - Update to 1.0.17
125
126 * Sun Sep 19 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.16-1
127 - Update to 1.0.16, some spec file cleanups
128
129 * Thu Aug 27 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.15-1
130 - Update to 1.0.15
131
132 * Wed Jul 29 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.14-1
133 - Update to 1.0.14
134
135 * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-2
136 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
137
138 * Fri Jun 5 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.13-1
139 - Update to 1.0.13
140
141 * Sun Apr 12 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.12-1
142 - Update to 1.0.12
143
144 * Mon Apr 06 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.11-1
145 - Update to 1.0.11
146
147 * Wed Mar 04 2009 Caolán McNamara <caolanm@redhat.com> - 1.0.9-4
148 - include stdio.h for rename, fix bare #elif, EOF -> -1 for getopt
149
150 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-3
151 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
152
153 * Fri Dec 05 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.9-2
154 - Fix build
155
156 * Sat Nov 29 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.9-1
157 - Update to 1.0.9
158
159 * Sat Oct 11 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.8-1
160 - Update to 1.0.8
161
162 * Sun Jul 20 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.7-1
163 - Update to 1.0.7
164
165 * Sun Mar 30 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.6-1
166 - Update to 1.0.6
167
168 * Sat Feb 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.5-2
169 - Rebuild for gcc-4.3
170
171 * Thu Dec 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.5-1
172 - Update to 1.0.5
173
174 * Tue Oct 30 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.4-1
175 - Update to 1.0.4
176
177 * Fri Oct 25 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-7
178 - Fix up multilib patch
179
180 * Thu Oct 25 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-6
181 - Fix multilib conflict in devel package (RH #343471)
182
183 * Tue Aug 21 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-5
184 - Rebuild for BuildID and ppc32 bug
185
186 * Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-4
187 - Add disttag
188
189 * Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-3
190 - Bump to avoid tag conflict
191
192 * Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-2
193 - Add missing files
194 - Minor cleanups
195
196 * Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-1
197 - Update to 1.0.2
198 - Fix License tag
199
200 * Sat Jun 16 2007 Marco Pesenti Gritti <mpg@redhat.com> 1.0.1-1
201 - Update to 1.0.1
202
203 * Tue May 8 2007 Marco Pesenti Gritti <mpg@redhat.com> 0.9.10-2.2.svn8397
204 - Initial build

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