]>
Commit | Line | Data |
---|---|---|
1abc875a ER |
1 | # TODO |
2 | # - compile errors: | |
3 | # atlas_convert.cpp: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const' | |
39f3b93c | 4 | Summary: C++ reference implementation of the Atlas protocol |
43eee486 | 5 | Summary(pl.UTF-8): Implementacja protokołu Atlas |
39f3b93c | 6 | Name: Atlas-C++ |
1abc875a ER |
7 | Version: 0.5.98 |
8 | Release: 0.1 | |
39f3b93c | 9 | License: LGPL |
10 | Group: Libraries | |
1abc875a ER |
11 | #Source0: ftp://ftp.worldforge.org/pub/worldforge/libs/Atlas-C++/%{name}-%{version}.tar.bz2 |
12 | Source0: http://dl.sourceforge.net/worldforge/%{name}-%{version}.tar.bz2 | |
13 | # Source0-md5: 7e0c05793bfa16085d3d82dd4a7aed41 | |
14 | URL: http://worldforge.org/ | |
39f3b93c | 15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
0e669e13 | 17 | BuildRequires: libtool >= 2:1.5 |
39f3b93c | 18 | BuildRequires: libstdc++-devel |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | Atlas-C++ is the current C++ implementation of the Atlas protocol, a | |
23 | communications layer designed to be used in the WorldForge MMORPG | |
24 | gaming system. This library is suitable for linking to either clients | |
e75e64ec | 25 | xor servers. |
39f3b93c | 26 | |
43eee486 JR |
27 | %description -l pl.UTF-8 |
28 | Atlas-C++ jest implementacją (w języku C++) protokołu Atlas, warstwy | |
29 | komunikacyjnej przeznaczonej do systemów WorldForge MMORPG. Bibliotekę | |
30 | tę przygotowano zarówno dla aplikacji klienckich, jak i serwerów. | |
39f3b93c | 31 | |
32 | %package devel | |
dc9631bc | 33 | Summary: Header files for Atlas-C++ development |
43eee486 | 34 | Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki Atlas-C++ |
39f3b93c | 35 | Group: Development/Libraries |
0e669e13 | 36 | Requires: %{name} = %{version}-%{release} |
39f3b93c | 37 | Requires: libstdc++-devel |
38 | ||
39 | %description devel | |
40 | Atlas-C++ is the current C++ implementation of the Atlas protocol, a | |
41 | communications layer designed to be used in the WorldForge MMORPG | |
42 | gaming system. This library is suitable for linking to either clients | |
43 | or servers. | |
44 | ||
45 | This package contains the header files needed to develop programs that | |
46 | use these Atlas-C++ | |
47 | ||
43eee486 JR |
48 | %description devel -l pl.UTF-8 |
49 | Atlas-C++ jest implementacją (w języku C++) protokołu Atlas, warstwy | |
50 | komunikacyjnej przeznaczonej do systemów WorldForge MMORPG. Bibliotekę | |
51 | tę przygotowano zarówno dla aplikacji klienckich, jak i serwerów. | |
39f3b93c | 52 | |
43eee486 JR |
53 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów |
54 | używających bibliotek Atlas-C++. | |
39f3b93c | 55 | |
56 | %package static | |
57 | Summary: Static libraries for Atlas-C++ development | |
43eee486 | 58 | Summary(pl.UTF-8): Statyczne biblioteki Atlas-C++ |
39f3b93c | 59 | Group: Development/Libraries |
0e669e13 | 60 | Requires: %{name}-devel = %{version}-%{release} |
39f3b93c | 61 | |
62 | %description static | |
63 | Atlas-C++ is the current C++ implementation of the Atlas protocol, a | |
64 | communications layer designed to be used in the WorldForge MMORPG | |
65 | gaming system. This library is suitable for linking to either clients | |
66 | or servers. | |
67 | ||
68 | This package contains the static Atlas-C++ libraries. | |
69 | ||
43eee486 JR |
70 | %description static -l pl.UTF-8 |
71 | Atlas-C++ jest implementacją (w języku C++) protokołu Atlas, warstwy | |
72 | komunikacyjnej przeznaczonej do systemów WorldForge MMORPG. Bibliotekę | |
73 | tę przygotowano zarówno dla aplikacji klienckich, jak i serwerów. | |
39f3b93c | 74 | |
75 | Pakiet zawiera statyczne biblioteki Atlas-C++. | |
76 | ||
77 | %prep | |
78 | %setup -q | |
79 | ||
80 | %build | |
0e669e13 | 81 | %{__libtoolize} |
d5405f07 | 82 | %{__aclocal} |
83 | %{__autoheader} | |
8c1481aa | 84 | %{__autoconf} |
0e669e13 | 85 | %{__automake} |
87c72eb7 | 86 | %configure \ |
87 | --enable-static | |
39f3b93c | 88 | %{__make} |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
fd38d28b PG |
93 | %{__make} install \ |
94 | DESTDIR=$RPM_BUILD_ROOT | |
39f3b93c | 95 | |
39f3b93c | 96 | %clean |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
dc9631bc JB |
99 | %post -p /sbin/ldconfig |
100 | %postun -p /sbin/ldconfig | |
101 | ||
39f3b93c | 102 | %files |
103 | %defattr(644,root,root,755) | |
b155f063 | 104 | %doc AUTHORS ChangeLog NEWS README |
39f3b93c | 105 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
106 | ||
107 | %files devel | |
108 | %defattr(644,root,root,755) | |
967fa3b2 ER |
109 | %attr(755,root,root) %{_bindir}/atlas_convert |
110 | #%attr(755,root,root) %{_bindir}/atlas-config | |
87c72eb7 | 111 | %attr(755,root,root) %{_libdir}/lib*.so |
0e669e13 JB |
112 | %{_libdir}/lib*.la |
113 | %{_includedir}/Atlas* | |
967fa3b2 | 114 | #%{_aclocaldir}/atlas.m4 |
87c72eb7 | 115 | %{_pkgconfigdir}/atlascpp*.pc |
39f3b93c | 116 | |
117 | %files static | |
118 | %defattr(644,root,root,755) | |
119 | %{_libdir}/lib*.a |