Name: eris
Version: 1.3.19
Release: 3%{?dist}
Summary: Client-side session layer for Atlas-C++
Group: Development/Libraries
# All files untagged except for Eris/Operations.{cpp,h} which is labeled
# LGPL with no version.
License: LGPLv2+
URL: http://worldforge.org/dev/eng/libraries/eris
Source0: http://downloads.sourceforge.net/worldforge/%{name}-%{version}.tar.bz2
# The following patch is essentiall upstream and should be dropped at the next release
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mercator-devel doxygen
BuildRequires: atlascpp-devel >= 0.5.98
BuildRequires: wfmath-devel >= 0.3.2
BuildRequires: skstream-devel >= 0.3.5
BuildRequires: libsigc++20-devel glib-devel
%description
A client side session layer for WorldForge; Eris manages much of the generic
work required to communicate with an Atlas server. Client developers can extend
Eris in a number of ways to rapidly add game and client specific functions, and
quickly tie game objects to whatever output representation they are using.
%package devel
Summary: Development files for Eris
Group: Development/Libraries
Requires: pkgconfig %{name} = %{version}-%{release} atlascpp-devel skstream-devel wfmath-devel mercator-devel libsigc++20-devel
%description devel
Libraries and header files for developing applications that use Eris.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
make doc
# Remove timestamps from the generated documentation to avoid
# multiarch conflicts
for file in docs/html/*.html ; do
sed -i -e 's/Generated on .* for Eris by/Generated for Eris by/' $file
done
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/lib%{name}-1.3.la
# They seem to hang sometimes.
%check
# Run tests in debug mode so asserts won't be skipped
sed -i -e 's/-DNDEBUG/-DDEBUG/' test/Makefile
make %{?_smp_mflags} check
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog CHANGES-1.4 COPYING NEWS README TODO
%{_libdir}/lib%{name}-1.3.so.*
%files devel
%defattr(-,root,root,-)
%doc docs/html/*
%{_includedir}/Eris-1.3
%{_libdir}/lib%{name}-1.3.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Sun Jan 22 2012 Bruno Wolff III <bruno@wolff.to> 1.3.19-3
- Rebuild for wfmath soname bump
* Sat Nov 19 2011 Bruno Wolff III <bruno@wolff.to> 1.3.19-1
- New upstream release
- This looks to be a bugfix release
* Sun May 22 2011 Bruno Wolff III <bruno@wolff.to> 1.3.18-3
- Fix paths in patch and apply it when building
* Sun May 22 2011 Bruno Wolff III <bruno@wolff.to> 1.3.18-2
- Fix incorrect inlining of getMod
* Sun May 15 2011 Bruno Wolff III <bruno@wolff.to> 1.3.18-1
- Upstream update to 1.3.18
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Jan 6 2011 Tom Callaway <spot@fedoraproject.org> - 1.3.16-1
- update to 1.3.16
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sun Mar 01 2009 Alexey Torkhov <atorkhov@gmail.com> - 1.3.14-2
- Adding mercator dep to -devel subpackage
- Reenabling the tests
* Fri Feb 27 2009 Alexey Torkhov <atorkhov@gmail.com> - 1.3.14-1
- Update to 1.3.14
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.13-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Feb 9 2008 Wart <wart at kobold.org> 1.3.13-2
- Rebuild for gcc 4.3
* Sun Dec 16 2007 Wart <wart at kobold.org> 1.3.13-1
- Update to 1.3.13
- Remove multiarch conflicts (BZ #341071)
* Sun Aug 19 2007 Wart <wart at kobold.org> 1.3.12-2
- License tag clarification
* Mon Jan 29 2007 Wart <wart at kobold.org> 1.3.12-1
- Update to 1.3.12
* Thu Oct 19 2006 Wart <wart at kobold.org> 1.3.11-9
- Rebuild for newer version of skstream
* Sun Aug 27 2006 Wart <wart at kobold.org> 1.3.11-8
- Rebuild for newer version of wfmath
* Thu Aug 17 2006 Wart <wart at kobold.org> 1.3.11-7
- Added missing -devel Requires: libsigc++20-devel
* Thu Jul 27 2006 Wart <wart at kobold.org> 1.3.11-6
- Disable 'make check' due to hanging tests in the fedora buildsys
* Thu Jul 27 2006 Wart <wart at kobold.org> 1.3.11-5
- Missed one other reference to Atlas-C++
* Thu Jul 27 2006 Wart <wart at kobold.org> 1.3.11-4
- Changed Atlas BR: to atlascpp.
* Thu Jul 27 2006 Wart <wart at kobold.org> 1.3.11-3
- Remove unnecessary comment
- Bump release to fix tagging problem.
* Fri Jul 14 2006 Wart <wart at kobold.org> 1.3.11-2
- Fixed changelog version string
- Removed BR: pkgconfig
- Added BR: glib-devel
* Fri Jul 7 2006 Wart <wart at kobold.org> 1.3.11-1
- Update to 1.3.11
* Wed Jun 14 2006 Wart <wart at kobold.org> 1.3.10-1
- Initial spec file for Fedora Extras