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

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

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


Revision 1.4 - (show annotations) (download)
Wed Feb 24 17:37:52 2010 UTC (14 years, 2 months ago) by slords
Branch: MAIN
Changes since 1.3: +99 -34 lines
Initial import

1 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
2 %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
3 %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
4
5 Name: xapian-bindings
6 Version: 1.0.17
7 Release: 3%{?dist}
8 Summary: Bindings for the Xapian Probabilistic Information Retrieval Library
9
10 Group: Development/Libraries
11 License: GPLv2+
12 URL: http://www.xapian.org/
13 Source0: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
14 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16 BuildRequires: python-devel >= 2.2
17 BuildRequires: ruby-devel ruby
18 BuildRequires: xapian-core-devel == %{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. This package provides the
24 files needed for scripts which use Xapian
25
26 %package python
27 Group: Development/Libraries
28 Summary: Files needed for developing Python scripts which use Xapian
29 Obsoletes: pyxapian
30
31 %description python
32 Xapian is an Open Source Probabilistic Information Retrieval framework. It
33 offers a highly adaptable toolkit that allows developers to easily add advanced
34 indexing and search facilities to applications. This package provides the
35 files needed for developing Python scripts which use Xapian
36
37 %package ruby
38 Group: Development/Libraries
39 Summary: Files needed for developing Ruby scripts which use Xapian
40
41 %description ruby
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 developing Ruby scripts which use Xapian
46
47 %prep
48 %setup -q
49
50 %build
51 %configure --with-python --with-ruby
52 make %{?_smp_mflags} V=1
53
54 %install
55 rm -rf %{buildroot}
56 make install DESTDIR=%{buildroot} INSTALL='install -p'
57
58 # Remove the dev docs, we pick them up below
59 rm -rf %{buildroot}%{_datadir}/doc/%{name}
60
61 %clean
62 rm -rf %{buildroot}
63
64 %files python
65 %defattr(-, root, root)
66 %doc AUTHORS ChangeLog COPYING NEWS README
67 %doc python/docs/examples
68 %{python_sitearch}/*
69
70 %files ruby
71 %defattr(-, root, root)
72 %doc AUTHORS ChangeLog COPYING NEWS README
73 %doc ruby/docs/rdocs ruby/docs/examples
74 %{ruby_sitearch}/_xapian.so
75 %{ruby_sitelib}/xapian.rb
76
77 %changelog
78 * Sat Jan 9 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.17-3
79 - Updated to the new python sysarch spec file reqs
80
81 * Wed Dec 2 2009 Peter Robinson<pbrobinson@gmail.com> 1.0.17-2
82 - Drop upstreamed patch
83
84 * Wed Dec 2 2009 Peter Robinson<pbrobinson@gmail.com> 1.0.17-1
85 - Update to 1.0.17
86
87 * Sat Sep 19 2009 Peter Robinson<pbrobinson@gmail.com> 1.0.16-1
88 - Update to 1.0.16, some spec file cleanups
89
90 * Sun Sep 6 2009 Peter Robinson<pbrobinson@gmail.com> 1.0.15-2
91 - Patch to fix python bindings build
92
93 * Thu Aug 27 2009 Peter Robinson<pbrobinson@gmail.com> 1.0.15-1
94 - Update to 1.0.15
95
96 * Wed Jul 29 2009 Peter Robinson<pbrobinson@gmail.com> 1.0.14-1
97 - Update to 1.0.14
98
99 * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-2
100 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
101
102 * Fri Jun 5 2009 Peter Robinson<pbrobinson@gmail.com> 1.0.13-1
103 - Update to 1.0.13
104
105 * Sun Apr 19 2009 Peter Robinson<pbrobinson@gmail.com> 1.0.12-1
106 - Update to 1.0.12
107
108 * Tue Apr 07 2009 Peter Robinson<pbrobinson@gmail.com> 1.0.11-2
109 - Obsolete pyxapian
110
111 * Mon Apr 06 2009 Peter Robinson<pbrobinson@gmail.com> 1.0.11-1
112 - Update to 1.0.11
113
114 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-3
115 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
116
117 * Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.0.9-2
118 - Rebuild for Python 2.6
119
120 * Sat Nov 29 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.9-1
121 - Update to 1.0.9
122
123 * Sat Oct 11 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.8-1
124 - Update to 1.0.8
125
126 * Mon Jul 28 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.7-2
127 - Enable ruby bindings RH #456951, patch by Scott Seago
128
129 * Sun Jul 20 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.7-1
130 - Update to 1.0.7
131
132 * Sun Mar 30 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.6-1
133 - Update to 1.0.6
134
135 * Sat Feb 09 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.5-2
136 - Rebuild for gcc-4.3
137
138 * Thu Dec 27 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.5-1
139 - Update to 1.0.5
140
141 * Tue Oct 30 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.4-1
142 - Update to 1.0.4
143
144 * Thu Aug 16 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-4
145 - License is GPLv2+ not GPLv2
146
147 * Sun Aug 12 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-3
148 - Remove vendor tag RH #251832
149
150 * Wed Aug 08 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-2
151 - Fix license tag
152 - Minor cleanups
153 - Add disttag
154
155 * Fri Jul 13 2007 Marco Pesenti Gritti <mpg@redhat.com> - 1.0.2-1
156 - Update to 1.0.2
157
158 * Tue Jun 19 2007 Marco Pesenti Gritti <mpg@redhat.com> 1.0.1-2
159 - Remove req on xapian-bindings
160
161 * Mon Jun 18 2007 Marco Pesenti Gritti <mpg@redhat.com> 1.0.1-1
162 - Initial build

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