File: atlas-cpp.spec.in

package info (click to toggle)
atlas-cpp 0.5.98-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,652 kB
  • ctags: 2,284
  • sloc: sh: 8,305; cpp: 6,372; python: 1,471; makefile: 216
file content (63 lines) | stat: -rw-r--r-- 1,657 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
%define name @PACKAGE@
%define version @VERSION@
%define release 1
%define libsuffix @ATLAS_LIB_SUFFIX@

Summary: The Atlas protocol C++ implementation
Name: %{name}06
Version: %{version}
Release: %{release}
License: LGPL
Group: System Environment/Libraries
URL: http://www.worldforge.org/dev/eng/libraries/atlas_cpp
Packager: Al Riddoch <alriddoch@zepler.org>
Vendor: WorldForge
Distribution: Mason
Source: Atlas-C++-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libstdc++-devel

%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} 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-C++-%{version}

%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 NEWS README THANKS ChangeLog TODO HACKING ROADMAP

%files devel
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_libdir}/lib*.a
%{_libdir}/pkgconfig/*
%{_includedir}/*