File benno-lib.spec of Package benno-lib

#
# spec file for package benno-lib
#
# Copyright (c) 2012,2013,2017,2018 FSP Computer & Netzwerke, Schotten, Germany
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments to stefan.schaefer@fsproductions.de
#

# norootforbuild

Name:         benno-lib
Version:      2.10.0
Release:      1
Group:        Productivity/Networking/Email/Servers
Summary:      Email Archive - Benno MailArchiv Core libraries from external sources
License:      AGPL-3.0
Autoreqprov:  on
URL:          http://www.benno-mailarchiv.de
Source:       %{name}-%{version}.tar.bz2
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Requires:     java >= 1.7.0
BuildArch:    noarch
Source1:      README.SUSE

%description
Benno MailArchiv Core libraries from external sources

Using Benno MailArchiv is not free of charge. It is possible to get a
30 day evaluation license for testing.

For further information about licensing have a look at:
http://www.benno-mailarchiv.de or 
http://www.fsproductions.de (Benno MailArchiv Partner)

Authors:
--------
    Martin Werthmoeller <mw@lw-systems.de>
    Stefan Schaefer <stefan.schaefer@fsproductions.de>

%prep
%setup -n %{name}-%{version}

%build


%install
export NO_BRP_CHECK_BYTECODE_VERSION=true
mkdir -p %{buildroot}
rm -rf install
mv * %{buildroot}
mkdir %{buildroot}%{_defaultdocdir}
mv %{buildroot}/usr/share/doc/%{name} %{buildroot}/%{_defaultdocdir}
rm -f %{buildroot}/%{_defaultdocdir}/copyright
%{__cp} %{S:1} %{buildroot}%{_defaultdocdir}/%{name}/README.SUSE

%files
%defattr(-,root,root)
%dir /opt/benno
%dir /opt/benno/lib
%attr(0644,root,root) /opt/benno/lib/*
%dir %doc %{_defaultdocdir}/%{name}
%doc %{_defaultdocdir}/%{name}/*

%changelog
openSUSE Build Service is sponsored by