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