Michael Thomas 5e78cde
Name:           atlascpp
83e89a8
Version:        0.6.2
b0b705e
Release:        4%{?dist}
Michael Thomas 5e78cde
Summary:        WorldForge message protocol library
Michael Thomas 5e78cde
Michael Thomas 5e78cde
Group:          Development/Libraries
Michael Thomas 8202e7e
License:        LGPLv2+
Alexey Torkhov ca2ff7d
URL:            http://worldforge.org/dev/eng/libraries/atlas_cpp
83e89a8
Source0:        http://downloads.sourceforge.net/sourceforge/worldforge/Atlas-C++-%{version}.tar.bz2
Alexey Torkhov ca2ff7d
Patch1:         atlascpp-0.6.1-gcc44.patch
c56d5f5
Patch2:         atlascpp-0.6.2-Werror.patch
Michael Thomas 5e78cde
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Michael Thomas 5e78cde
Michael Thomas 5e78cde
BuildRequires:  doxygen zlib-devel bzip2-devel
Michael Thomas 5e78cde
# Provide the other name that this package is commonly known by
Michael Thomas 5e78cde
Provides:       Atlas-C++
Michael Thomas 5e78cde
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%description
Michael Thomas 5e78cde
Atlas-C++ is the perhaps the most important library in the entire WorldForge
Michael Thomas 5e78cde
project, since nearly every other module requires it. Atlas-C++ provides a
Michael Thomas 5e78cde
native implementation of the entire Atlas specification including negotiation,
Michael Thomas 5e78cde
message encode and decode and the overlying Objects layer.
Michael Thomas 5e78cde
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%package devel
Michael Thomas 5e78cde
Summary:        Development files for Atlas-C++
Michael Thomas 5e78cde
Group:   Development/Libraries
Michael Thomas 5e78cde
Requires: pkgconfig %{name} = %{version}-%{release}
Alexey Torkhov 4bd2e0d
# Atlas-C++ includes simple tutorial that uses skstream
Alexey Torkhov 4bd2e0d
Requires:       skstream-devel
Michael Thomas 5e78cde
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%description devel
Michael Thomas 5e78cde
Libraries and header files for developing applications that use Atlas-C++
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%prep
Michael Thomas 5e78cde
%setup -q -n Atlas-C++-%{version}
Alexey Torkhov ca2ff7d
%patch1 -p1
c56d5f5
%patch2 -p0
Michael Thomas 5e78cde
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%build
Michael Thomas 5e78cde
%configure
Michael Thomas 5e78cde
Michael Thomas 5e78cde
# simple hack to remove -Werror from the test suite, which causes
Michael Thomas 5e78cde
# it to fail.
Michael Thomas 5e78cde
sed -i -e 's#-Werror##' benchmark/Makefile
Michael Thomas 5e78cde
sed -i -e 's#-Werror##' tests/Objects/Makefile
Michael Thomas 5e78cde
Michael Thomas 5e78cde
make %{?_smp_mflags}
Michael Thomas 5e78cde
make docs
Michael Thomas 5e78cde
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%install
Michael Thomas 5e78cde
rm -rf $RPM_BUILD_ROOT
Michael Thomas 5e78cde
make install DESTDIR=$RPM_BUILD_ROOT
Michael Thomas 5e78cde
Michael Thomas 5e78cde
rm -f $RPM_BUILD_ROOT%{_libdir}/libAtlas*-0.6.la
Michael Thomas 5e78cde
Michael Thomas 5e78cde
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
Michael Thomas 5e78cde
install -p -m 0644 doc/man/man3/Atlas*.3 $RPM_BUILD_ROOT%{_mandir}/man3/
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%check
Alexey Torkhov 67f18ed
# Run tests in debug mode so asserts won't be skipped
Alexey Torkhov 67f18ed
sed -i -e 's/-DNDEBUG/-DDEBUG/' tests/Makefile
Alexey Torkhov 67f18ed
make %{?_smp_mflags} check
Michael Thomas 5e78cde
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%clean
Michael Thomas bc4bb30
rm -rf $RPM_BUILD_ROOT
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%post -p /sbin/ldconfig
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%postun -p /sbin/ldconfig
Michael Thomas 5e78cde
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%files
Michael Thomas 5e78cde
%defattr(-,root,root,-)
Michael Thomas 5e78cde
%doc AUTHORS COPYING ChangeLog README ROADMAP THANKS TODO
Michael Thomas 5e78cde
%{_libdir}/libAtlas*-0.6.so.*
Michael Thomas 5e78cde
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%files devel
Michael Thomas 5e78cde
%defattr(-,root,root,-)
Michael Thomas 5e78cde
%doc HACKING doc/html/
Michael Thomas 5e78cde
%{_bindir}/atlas_convert
Michael Thomas 5e78cde
%{_includedir}/Atlas-C++-0.6
Michael Thomas 5e78cde
%{_libdir}/libAtlas*-0.6.so
Michael Thomas 5e78cde
%{_libdir}/pkgconfig/*.pc
Michael Thomas 5e78cde
%{_mandir}/man3/Atlas*
Michael Thomas 5e78cde
Michael Thomas 5e78cde
%changelog
b0b705e
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-4
b0b705e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b0b705e
167f2d8
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-3
167f2d8
- Rebuilt for c++ ABI breakage
167f2d8
e49ce4a
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
e49ce4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e49ce4a
83e89a8
* Sat May 07 2011 Bruno Wolff III <bruno@wolff.to> 0.6.2-1
83e89a8
- Upstream update to 0.6.2
83e89a8
33069cf
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-8
33069cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
33069cf
f85fede
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-7
f85fede
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f85fede
Alexey Torkhov 67f18ed
* Sun Mar 01 2009 Alexey Torkhov <atorkhov@gmail.com> - 0.6.1-6
Alexey Torkhov 67f18ed
- Moving skstream dependency to -devel subpackage
Alexey Torkhov 67f18ed
- Actually perform the tests
Alexey Torkhov 67f18ed
Alexey Torkhov ca2ff7d
* Sat Feb 28 2009 Alexey Torkhov <atorkhov@gmail.com> - 0.6.1-5
Alexey Torkhov ca2ff7d
- Rebuilt for skstream update
Alexey Torkhov ca2ff7d
ea94444
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-4
ea94444
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ea94444
Michael Thomas bc4bb30
* Sat Feb 9 2008 Wart <wart at kobold.org> 0.6.1-3
Michael Thomas bc4bb30
- Rebuild for gcc 4.3
Michael Thomas bc4bb30
Michael Thomas 6df1c0c
* Sun Dec 16 2007 Wart <wart at kobold.org> 0.6.1-2
Michael Thomas 6df1c0c
- Rebuild to fix multiarch-conflicts (BZ #340691)
Michael Thomas 6df1c0c
Michael Thomas d76391c
* Sat Nov 24 2007 Wart <wart at kobold.org> 0.6.1-1
Michael Thomas d76391c
- Update to 0.6.1
Michael Thomas d76391c
- Better download URL
Michael Thomas d76391c
Michael Thomas 8202e7e
* Wed Aug 15 2007 Wart <wart at kobold.org> 0.6.0-4
Michael Thomas 8202e7e
- License tag clarification
Michael Thomas 8202e7e
Michael Thomas b63e090
* Sun Aug 27 2006 Wart <wart at kobold.org> 0.6.0-3
Michael Thomas b63e090
- Rebuild for FC-6
Michael Thomas b63e090
Michael Thomas 5e78cde
* Fri Jul 14 2006 Wart <wart at kobold.org> 0.6.0-2
Michael Thomas 5e78cde
- Add missing Requires: pkgconfig to -devel subpackage
Michael Thomas 5e78cde
- Include man pages
Michael Thomas 5e78cde
- Update license to match actual license (LGPL, not GPL)
Michael Thomas 5e78cde
- Added patch to fix interlibrary dependencies
Michael Thomas 5e78cde
- Change name to atlascpp to prevent confusion with the existing atlas package
Michael Thomas 5e78cde
Michael Thomas 5e78cde
* Wed Jun 14 2006 Wart <wart at kobold.org> 0.6.0-1
Michael Thomas 5e78cde
- Initial spec file for Fedora Extras