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

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

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

Revision 1.3 by slords, Tue Nov 25 16:20:36 2008 UTC Revision 1.4 by slords, Wed Feb 24 16:36:10 2010 UTC
# Line 1  Line 1 
1  # $Id: xapian-core.spec,v 1.1 2008/10/20 02:00:49 slords Exp $  Name:          xapian-core
2  # Authority: slords  Version:       1.0.17
3  # Name: Shad L. Lords  Release:       1%{?dist}
4    Summary:       The Xapian Probabilistic Information Retrieval Library
5  Summary: The Xapian Probabilistic Information Retrieval Library  
6  Name: xapian-core  Group:         Applications/Databases
7  Version: 1.0.6  License:       GPLv2+
8  Release: 1%{?dist}  URL:           http://www.xapian.org/
9  License: GPLv2+  Source0:       http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
10  Group: Applications/Databases  Patch0:        multilib-devel-conflict-fix.patch
11  URL: http://www.xapian.org/  BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12  Requires: %{name}-libs = %{version}  
 Source0: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz  
 Patch0: multilib-devel-conflict-fix.patch  
 BuildRequires: autoconf automake libtool  
13  BuildRequires: zlib-devel  BuildRequires: zlib-devel
14  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  Requires:      %{name}-libs = %{version}
15    
16  %description  %description
17  Xapian is an Open Source Probabilistic Information Retrieval Library. It  Xapian is an Open Source Probabilistic Information Retrieval Library. It
# Line 22  offers a highly adaptable toolkit that a Line 19  offers a highly adaptable toolkit that a
19  indexing and search facilities to applications  indexing and search facilities to applications
20    
21  %package libs  %package libs
22  Summary: Xapian search engine libraries  Summary:       Xapian search engine libraries
23  Group: System Environment/Libraries  Group:         System Environment/Libraries
24    
25  %description libs  %description libs
26  Xapian is an Open Source Probabilistic Information Retrieval framework. It  Xapian is an Open Source Probabilistic Information Retrieval framework. It
# Line 32  indexing and search facilities to applic Line 29  indexing and search facilities to applic
29  libraries for applications using Xapian functionality  libraries for applications using Xapian functionality
30    
31  %package devel  %package devel
32  Group: Development/Libraries  Group:         Development/Libraries
33  Summary: Files needed for building packages which use Xapian  Summary:       Files needed for building packages which use Xapian
34  Requires: %{name} = %{version}  Requires:      %{name} = %{version}
35  Requires: %{name}-libs = %{version}  Requires:      %{name}-libs = %{version}
36    
37  %description devel  %description devel
38  Xapian is an Open Source Probabilistic Information Retrieval framework. It  Xapian is an Open Source Probabilistic Information Retrieval framework. It
# Line 44  indexing and search facilities to applic Line 41  indexing and search facilities to applic
41  files needed for building packages which use Xapian  files needed for building packages which use Xapian
42    
43  %prep  %prep
44  %setup -q -n %{name}-%{version}  %setup -q
45  %patch0 -p1 -b .multilibfix  %patch0 -p1 -b .multilibfix
46    
47  %build  %build
 # FC6 (at least) has a patched libtool which knows not to set rpath for  
 # /usr/lib64, which upstream libtool fails to do currently.  We can drop  
 # this "autoreconf --force" and the "BuildRequires:" for the autotools  
 # once upstream libtool is fixed.  Note: this overwrites INSTALL, but  
 # that doesn't matter here as we don't package it.  
 autoreconf --force  
48  %configure --disable-static  %configure --disable-static
49  make %{?_smp_mflags}  
50    # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
51    sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
52    sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
53    
54    make %{?_smp_mflags} V=1
55    
56  %install  %install
57  rm -rf %{buildroot}  rm -rf %{buildroot}
58  mkdir -p %{buildroot}  make install DESTDIR=%{buildroot} INSTALL='install -p'
59  # makeinstall doesn't work properly with libtool built libraries  
60  make DESTDIR=%{buildroot} install  # Remove libtool archives
61  find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'  find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
62  # Move the docs to the right place  
63  mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_datadir}/doc/%{name}-devel-%{version}  # Remove the dev docs, we pick them up below
64  # Copy HACKING now, as "%doc HACKING" would overwrite everything  rm -rf %{buildroot}%{_datadir}/doc/%{name}
 cp HACKING %{buildroot}%{_datadir}/doc/%{name}-devel-%{version}  
 # Copy the rest while we are in this directory  
 mkdir -p %{buildroot}%{_datadir}/doc/%{name}-%{version}  
 cp AUTHORS ChangeLog COPYING NEWS PLATFORMS README %{buildroot}%{_datadir}/doc/%{name}-%{version}  
65    
66  %post libs -p /sbin/ldconfig  %post libs -p /sbin/ldconfig
67    
# Line 80  rm -rf %{buildroot} Line 72  rm -rf %{buildroot}
72    
73  %files  %files
74  %defattr(-, root, root)  %defattr(-, root, root)
75    %doc AUTHORS ChangeLog COPYING NEWS README
76  %{_bindir}/xapian-check  %{_bindir}/xapian-check
77  %{_bindir}/xapian-inspect  %{_bindir}/xapian-inspect
78  %{_bindir}/xapian-tcpsrv  %{_bindir}/xapian-tcpsrv
# Line 94  rm -rf %{buildroot} Line 87  rm -rf %{buildroot}
87  %{_bindir}/simplesearch  %{_bindir}/simplesearch
88  %{_bindir}/simpleexpand  %{_bindir}/simpleexpand
89  %{_bindir}/xapian-compact  %{_bindir}/xapian-compact
 %doc %{_datadir}/doc/%{name}-%{version}  
90  # man pages may be gzipped, hence the trailing wildcard.  # man pages may be gzipped, hence the trailing wildcard.
91  %{_mandir}/man1/xapian-check.1*  %{_mandir}/man1/xapian-check.1*
92  %{_mandir}/man1/xapian-inspect.1*  %{_mandir}/man1/xapian-inspect.1*
# Line 114  rm -rf %{buildroot} Line 106  rm -rf %{buildroot}
106    
107  %files devel  %files devel
108  %defattr(-, root, root)  %defattr(-, root, root)
109    %doc HACKING PLATFORMS docs/*html docs/apidoc docs/*pdf
110  %{_bindir}/xapian-config  %{_bindir}/xapian-config
111  %{_includedir}/xapian  %{_includedir}/xapian
112  %{_includedir}/xapian.h  %{_includedir}/xapian.h
113  %{_libdir}/libxapian.so  %{_libdir}/libxapian.so
114  %{_datadir}/aclocal/xapian.m4  %{_datadir}/aclocal/xapian.m4
 %doc %{_datadir}/doc/%{name}-devel-%{version}  
115  # man pages may be gzipped, hence the trailing wildcard.  # man pages may be gzipped, hence the trailing wildcard.
116  %{_mandir}/man1/xapian-config.1*  %{_mandir}/man1/xapian-config.1*
117    
118  %changelog  %changelog
119    * Wed Dec  2 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.17-1
120    - Update to 1.0.17
121    
122    * Sun Sep 19 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.16-1
123    - Update to 1.0.16, some spec file cleanups
124    
125    * Thu Aug 27 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.15-1
126    - Update to 1.0.15
127    
128    * Wed Jul 29 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.14-1
129    - Update to 1.0.14
130    
131    * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-2
132    - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
133    
134    * Fri Jun  5 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.13-1
135    - Update to 1.0.13
136    
137    * Sun Apr 12 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.12-1
138    - Update to 1.0.12
139    
140    * Mon Apr 06 2009 Peter Robinson <pbrobinson@gmail.com> - 1.0.11-1
141    - Update to 1.0.11
142    
143    * Wed Mar 04 2009 Caolán McNamara <caolanm@redhat.com> - 1.0.9-4
144    - include stdio.h for rename, fix bare #elif, EOF -> -1 for getopt
145    
146    * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-3
147    - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
148    
149    * Fri Dec 05 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.9-2
150    - Fix build
151    
152    * Sat Nov 29 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.9-1
153    - Update to 1.0.9
154    
155    * Sat Oct 11 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.8-1
156    - Update to 1.0.8
157    
158    * Sun Jul 20 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.7-1
159    - Update to 1.0.7
160    
161  * Sun Mar 30 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.6-1  * Sun Mar 30 2008 Adel Gadllah <adel.gadllah@gmail.com> 1.0.6-1
162  - Update to 1.0.6  - Update to 1.0.6
163    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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