File eris.spec of Package eris
#
# spec file for package eris
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, 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 via http://bugs.opensuse.org/
#
Name: eris
Version: 1.3.23
Release: 0
%define soname 1_3-21
Summary: A WorldForge client library
License: GPL-2.0
Group: System/Libraries
Url: http://www.worldforge.org/dev/eng/libraries/eris
Source: http://downloads.sourceforge.net/worldforge/%{name}-%{version}.tar.bz2
BuildRequires: atlascpp-devel
BuildRequires: gcc-c++
BuildRequires: libsigc++2-devel
BuildRequires: mercator-devel
BuildRequires: pkgconfig
BuildRequires: skstream-devel
BuildRequires: wfmath-devel
BuildRequires: pkgconfig(glib-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Eris is designed to simplify client development (and avoid repeating the same
work several times), by providing a common system to deal with the back end
tasks.
%package -n liberis-%{soname}
Summary: A WorldForge client library
Group: System/Libraries
%description -n liberis-%{soname}
Eris is designed to simplify client development (and avoid repeating the same
work several times), by providing a common system to deal with the back end
tasks.
%package devel
Summary: A WorldForge client library headers and static libs
Group: Development/Libraries/C and C++
Requires: liberis-%{soname} = %{version}
%description devel
Eris is designed to simplify client development (and avoid repeating the same
work several times), by providing a common system to deal with the back end
tasks.
%prep
%setup -q
%build
export CXXFLAGS="%{optflags}"
%configure
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
%post -n liberis-%{soname} -p /sbin/ldconfig
%postun -n liberis-%{soname} -p /sbin/ldconfig
%files -n liberis-%{soname}
%defattr(-,root,root)
%doc AUTHORS COPYING
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_libdir}/pkgconfig/*
%{_includedir}/*
%changelog