forked from pool/xapian-core
This commit is contained in:
parent
0926779a2b
commit
76c0caa7d6
@ -1,9 +0,0 @@
|
||||
#This line is mandatory to access the configuration functions
|
||||
from Config import *
|
||||
|
||||
addFilter("xapian-core.* no-changelogname-tag")
|
||||
addFilter("xapian-core.* no-dependency-on xapian-core")
|
||||
addFilter("xapian-core.* source-or-patch-not-bzipped")
|
||||
addFilter("xapian-core.* zero-length.*")
|
||||
addFilter("xapian-core.* package-with-huge-docs.*")
|
||||
addFilter("libxapian15.* no-changelogname-tag")
|
@ -10,7 +10,6 @@ Summary: The Xapian Probabilistic Information Retrieval Library
|
||||
Url: http://www.xapian.org/
|
||||
Group: Productivity/Databases/Servers
|
||||
Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}-rpmlintrc
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libuuid-devel
|
||||
@ -80,10 +79,7 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
%makeinstall docdatadir=%{_docdir}/%{name}
|
||||
rm -rf examples/{.libs,.deps,.dirstamp,*.o,quest,delve,simplesearch,simpleexpand,simpleindex,copydatabase}
|
||||
cp -vr \
|
||||
AUTHORS COPYING ChangeLog ChangeLog.examples \
|
||||
HACKING INSTALL NEWS PLATFORMS README examples \
|
||||
%{buildroot}%{_docdir}/%{name}/
|
||||
cp -vr ChangeLog.examples HACKING NEWS PLATFORMS examples %{buildroot}%{_docdir}/%{name}/
|
||||
find . -name \*.spec -delete
|
||||
fdupes %{buildroot}%{_defaultdocdir}/%{name}
|
||||
|
||||
@ -96,6 +92,7 @@ rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS COPYING ChangeLog INSTALL README
|
||||
%{_bindir}/xapian-tcpsrv
|
||||
%{_bindir}/xapian-progsrv
|
||||
%{_bindir}/quest
|
||||
@ -146,15 +143,10 @@ rm -rf %{buildroot}
|
||||
%doc %{_docdir}/%{name}/*.html
|
||||
%doc %{_docdir}/%{name}/apidoc*
|
||||
%dir %{_docdir}/%{name}/
|
||||
%doc %{_docdir}/%{name}/AUTHORS
|
||||
%doc %{_docdir}/%{name}/COPYING
|
||||
%doc %{_docdir}/%{name}/ChangeLog
|
||||
%doc %{_docdir}/%{name}/ChangeLog.examples
|
||||
%doc %{_docdir}/%{name}/HACKING
|
||||
%doc %{_docdir}/%{name}/INSTALL
|
||||
%doc %{_docdir}/%{name}/NEWS
|
||||
%doc %{_docdir}/%{name}/PLATFORMS
|
||||
%doc %{_docdir}/%{name}/README
|
||||
|
||||
%files examples
|
||||
%defattr(-, root, root)
|
||||
|
Loading…
x
Reference in New Issue
Block a user