%define name Atlas-C++ %define version 0.5.2 %define release 1 %define libsuffix -0.5 Summary: The Atlas protocol C++ implementation Name: %{name} Version: %{version} Release: %{release} License: LGPL Group: System Environment/Libraries URL: http://www.worldforge.org/dev/eng/libraries/atlas_cpp Packager: Al Riddoch Vendor: WorldForge Distribution: Mason Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description This library implements the Atlas protocol, for use in client-server game applications. It is the standard implementation used by games written by the WorldForge project. This library is suitable for linking to either clients or servers. %package devel Summary: The Atlas protocol C++ implementation library headers and static libs. Group: Development/Libraries Requires: %{name} = %{version} %description devel This library implements the Atlas protocol, for use in client-server game applications. It is the standard implementation used by games written by the WorldForge project. This library is suitable for linking to either clients or servers. %prep %setup -q %build CXXFLAGS=$RPM_OPT_FLAGS %configure --enable-static make %install rm -rf $RPM_BUILD_ROOT %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_libdir}/lib*.so.* %doc AUTHORS COPYING HACKING NEWS README ROADMAP THANKS TODO ChangeLog %files devel %defattr(-,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %{_libdir}/lib*.a %{_libdir}/pkgconfig/* %{_includedir}/*