Accepting request 94211 from server:search

- avoid packaging files twice (forwarded request 94157 from coolo)

OBS-URL: https://build.opensuse.org/request/show/94211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xapian-core?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2011-12-01 11:27:36 +00:00 committed by Git OBS Bridge
commit 129755fbb7
2 changed files with 18 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 28 19:46:42 UTC 2011 - coolo@suse.com
- avoid packaging files twice
-------------------------------------------------------------------
Tue Sep 13 09:29:48 UTC 2011 - prusnak@opensuse.org

View File

@ -20,7 +20,7 @@
Name: xapian-core
Version: 1.2.7
Release: 1
License: GPLv2
License: GPL-2.0
Summary: The Xapian Probabilistic Information Retrieval Library
Url: http://www.xapian.org/
Group: Productivity/Databases/Servers
@ -38,7 +38,6 @@ offers a highly adaptable toolkit that allows developers to easily add advanced
indexing and search facilities to applications
%package -n libxapian22
Summary: Xapian search engine libraries
Group: Development/Libraries/C and C++
Provides: xapian-core-libs
@ -50,7 +49,6 @@ indexing and search facilities to applications. This package provides the
libraries for applications using Xapian functionality
%package -n libxapian-devel
Summary: Files needed for building packages which use Xapian
Group: Development/Libraries/C and C++
Requires: gcc-c++
@ -65,7 +63,6 @@ indexing and search facilities to applications. This package provides the
files needed for building packages which use Xapian
%package doc
Summary: Documentation for Xapian-core libraries
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
@ -77,7 +74,6 @@ indexing and search facilities to applications. This package provides the
files needed for building packages which use Xapian
%package examples
Summary: Examples for Xapian-core libraries
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
@ -100,18 +96,25 @@ make %{?_smp_mflags}
rm -rf examples/{.libs,.deps,.dirstamp,*.o,quest,delve,simplesearch,simpleexpand,simpleindex,copydatabase}
cp -vr examples %{buildroot}%{_docdir}/%{name}/
find . -name \*.spec -delete
fdupes %{buildroot}%{_defaultdocdir}/%{name}
install -m 644 AUTHORS COPYING ChangeLog INSTALL README NEWS HACKING PLATFORMS ChangeLog.examples %{buildroot}%{_docdir}/%{name}
fdupes %{buildroot}%{_docdir}/%{name}
%post -n libxapian22 -p /sbin/ldconfig
%postun -n libxapian22 -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL README NEWS HACKING PLATFORMS ChangeLog.examples
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/AUTHORS
%{_docdir}/%{name}/COPYING
%{_docdir}/%{name}/ChangeLog
%{_docdir}/%{name}/INSTALL
%{_docdir}/%{name}/README
%{_docdir}/%{name}/NEWS
%{_docdir}/%{name}/HACKING
%{_docdir}/%{name}/PLATFORMS
%{_docdir}/%{name}/ChangeLog.examples
%{_bindir}/xapian-tcpsrv
%{_bindir}/xapian-progsrv
%{_bindir}/quest