File: eris.spec

package info (click to toggle)
eris 1.2.1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,360 kB
  • ctags: 1,348
  • sloc: sh: 8,289; cpp: 7,576; perl: 287; ansic: 172; makefile: 143
file content (109 lines) | stat: -rw-r--r-- 3,842 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
%define name eris
%define version 1.2.1
%define release 1
%define libsuffix -1.2

Summary: A WorldForge client library.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Group: System Environment/Libraries
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Requires: Atlas-C++ >= 0.4.93 wfmath >= 0.3.2 skstream > 0.3
BuildRequires: Atlas-C++-devel >= 0.4.93 wfmath-devel >= 0.3.2 skstream-devel > 0.3 libsigc++-devel libstdc++-devel

%description
Eris is designed to simplify client development (and avoid repeating the same
work several times), by providing a common system to deal with the back end
tasks.

%package devel
Summary: A WorldForge client library headers and static libs.
Group: Development/Libraries
Requires: %{name} = %{version} Atlas-C++-devel wfmath-devel skstream-devel libsigc++-devel libstdc++-devel

%description devel
Eris is designed to simplify client development (and avoid repeating the same
work several times), by providing a common system to deal with the back end
tasks.

%package poll-glib
Summary: Headers to poll eris connections using glibs poll code.
Group: Development/Libraries
Requires: glib2

%description poll-glib
Eris is designed to simplify client development (and avoid repeating the same
work several times), by providing a common system to deal with the back end
tasks. These headers allow code handling network connections for Eris
to be integrated into glib in a glib or gtk+ based application.

%prep
%setup

%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

%files devel
%defattr(-,root,root)
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_libdir}/lib*.a
%{_libdir}/pkgconfig/eris%{libsuffix}.pc
%{_includedir}/Eris%{libsuffix}/Eris/ArgumentDispatcher.h
%{_includedir}/Eris%{libsuffix}/Eris/atlas_utils.h
%{_includedir}/Eris%{libsuffix}/Eris/Avatar.h
%{_includedir}/Eris%{libsuffix}/Eris/BaseConnection.h
%{_includedir}/Eris%{libsuffix}/Eris/ClassDispatcher.h
%{_includedir}/Eris%{libsuffix}/Eris/Connection.h
%{_includedir}/Eris%{libsuffix}/Eris/DebugDispatcher.h
%{_includedir}/Eris%{libsuffix}/Eris/Dispatcher.h
%{_includedir}/Eris%{libsuffix}/Eris/EncapDispatcher.h
%{_includedir}/Eris%{libsuffix}/Eris/Entity.h
%{_includedir}/Eris%{libsuffix}/Eris/Exceptions.h
%{_includedir}/Eris%{libsuffix}/Eris/Factory.h
%{_includedir}/Eris%{libsuffix}/Eris/IdDispatcher.h
%{_includedir}/Eris%{libsuffix}/Eris/Lobby.h
%{_includedir}/Eris%{libsuffix}/Eris/Log.h
%{_includedir}/Eris%{libsuffix}/Eris/Metaserver.h
%{_includedir}/Eris%{libsuffix}/Eris/OpDispatcher.h
%{_includedir}/Eris%{libsuffix}/Eris/Person.h
%{_includedir}/Eris%{libsuffix}/Eris/Player.h
%{_includedir}/Eris%{libsuffix}/Eris/PollDefault.h
%{_includedir}/Eris%{libsuffix}/Eris/Poll.h
%{_includedir}/Eris%{libsuffix}/Eris/Property.h
%{_includedir}/Eris%{libsuffix}/Eris/Room.h
%{_includedir}/Eris%{libsuffix}/Eris/ServerInfo.h
%{_includedir}/Eris%{libsuffix}/Eris/SignalDispatcher.h
%{_includedir}/Eris%{libsuffix}/Eris/Timeout.h
%{_includedir}/Eris%{libsuffix}/Eris/Timestamp.h
%{_includedir}/Eris%{libsuffix}/Eris/TypeDispatcher.h
%{_includedir}/Eris%{libsuffix}/Eris/typeService.h
%{_includedir}/Eris%{libsuffix}/Eris/TypeInfo.h
%{_includedir}/Eris%{libsuffix}/Eris/Types.h
%{_includedir}/Eris%{libsuffix}/Eris/Utils.h
%{_includedir}/Eris%{libsuffix}/Eris/Wait.h
%{_includedir}/Eris%{libsuffix}/Eris/World.h

%files poll-glib
%defattr(-,root,root)
%{_libdir}/pkgconfig/eris-poll-glib%{libsuffix}.pc
%{_includedir}/Eris%{libsuffix}/Eris/PollGlibFD.h
%{_includedir}/Eris%{libsuffix}/Eris/PollGlib.h
%{_includedir}/Eris%{libsuffix}/Eris/PollGlibSource.h
%{_includedir}/Eris%{libsuffix}/Eris/PollGlibVersion.h