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

Revision 9073, 4.4 KB checked in by Takemikaduchi, 9 years ago (diff)

GNOME 3.14.1

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