Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games:WorldForge
atlas-cpp
libatlascpp-0_7-0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libatlascpp-0_7-0.spec of Package atlas-cpp
# # spec file for package Atlas-C++ # # Copyright (c) 2017 Erik Ogenvik # Copyright (c) 2005 Kai Blin # Based ont the FC4 specfile copyright (c) Al Riddoch # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # __norootforbuild Summary: The Atlas protocol C++ implementation Name: libatlascpp-0_7-0 Version: 1518015143.c72abc1 Release: 0 License: LGPL-2.1+ URL: https://www.worldforge.org/index.php/components/atlas-cpp Vendor: WorldForge Source0: atlas-cpp-%{version}.tar.xz BuildRequires: zlib-devel BuildRequires: cmake %if 0%{?leap_version} == 420300 BuildRequires: gcc7-c++ %else BuildRequires: gcc-c++ %endif %if 0%{?fedora_version} BuildRequires: bzip2-devel %else BuildRequires: libbz2-devel %endif %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: glibc-all-langpacks %endif %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. %if 0%{?suse_version} %debug_package %endif %package devel Summary: The Atlas protocol C++ implementation library headers and static libs Group: Development/Libraries/C and C++ Requires: %{name} = %{version} libstdc++-devel %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 -n atlas-cpp-%{version} %build %if 0%{?leap_version} == 420300 export CC=gcc-7 export CXX=/usr/bin/g++-7 %endif cmake -DCMAKE_CXX_FLAGS="%{optflags}" \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DBUILD_SHARED_LIBS=ON \ . %{__make} %{?_smp_mflags} %install %{__make} DESTDIR=%{buildroot} install %check %{__make} %{?jobs:-j%jobs} check %post ldconfig %postun ldconfig %files %{_libdir}/lib*.so.* %doc AUTHORS COPYING NEWS README.md ChangeLog TODO %files devel %{_bindir}/* %{_libdir}/pkgconfig/* %{_libdir}/cmake/Atlas %{_libdir}/lib*.so %{_includedir}/* %{_mandir}/man1/* %changelog * Sun Mar 5 2017 Erik Ogenvik <erik@ogenvik.org> 0.7.0 First packaged version.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor