]> git.pld-linux.org Git - packages/Atlas-C++.git/blame - Atlas-C++.spec
- tabs in preamle
[packages/Atlas-C++.git] / Atlas-C++.spec
CommitLineData
17cd088a
MP
1# TODO:
2# add tutorial subpackage
39f3b93c 3Summary: C++ reference implementation of the Atlas protocol
b178ced7 4Summary(pl.UTF-8): Implementacja protokołu Atlas
39f3b93c 5Name: Atlas-C++
82aa15b3 6Version: 0.6.0
17cd088a 7Release: 0.2
82aa15b3 8Epoch: 1
39f3b93c 9License: LGPL
10Group: Libraries
bc234151 11Source0: http://dl.sourceforge.net/worldforge/%{name}-%{version}.tar.bz2
82aa15b3 12# Source0-md5: 1343d74747a831f2b7b080a51cb4747a
e6d5f0b3 13Patch0: %{name}-link.patch
1586ca0a 14BuildRequires: autoconf >= 2.50
39f3b93c 15BuildRequires: automake
1586ca0a 16BuildRequires: bzip2-devel
39f3b93c 17BuildRequires: libstdc++-devel
c9376cfa 18BuildRequires: libtool >= 2:1.5
1586ca0a 19BuildRequires: zlib-devel
39f3b93c 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Atlas-C++ is the current C++ implementation of the Atlas protocol, a
24communications layer designed to be used in the WorldForge MMORPG
25gaming system. This library is suitable for linking to either clients
0f5a646b 26or servers.
39f3b93c 27
e428b190
JR
28%description -l pl.UTF-8
29Atlas-C++ jest implementacją (w języku C++) protokołu Atlas, warstwy
30komunikacyjnej przeznaczonej do systemów WorldForge MMORPG. Bibliotekę
31tę przygotowano zarówno dla aplikacji klienckich, jak i serwerów.
39f3b93c 32
33%package devel
dc9631bc 34Summary: Header files for Atlas-C++ development
b178ced7 35Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki Atlas-C++
39f3b93c 36Group: Development/Libraries
30e9a1b0 37Requires: %{name} = %{epoch}:%{version}-%{release}
39f3b93c 38Requires: libstdc++-devel
e6d5f0b3 39# libAtlasFilters additionally R: bzip2-devel,zlib-devel
39f3b93c 40
41%description devel
42Atlas-C++ is the current C++ implementation of the Atlas protocol, a
43communications layer designed to be used in the WorldForge MMORPG
44gaming system. This library is suitable for linking to either clients
45or servers.
46
47This package contains the header files needed to develop programs that
48use these Atlas-C++
49
e428b190
JR
50%description devel -l pl.UTF-8
51Atlas-C++ jest implementacją (w języku C++) protokołu Atlas, warstwy
52komunikacyjnej przeznaczonej do systemów WorldForge MMORPG. Bibliotekę
53tę przygotowano zarówno dla aplikacji klienckich, jak i serwerów.
39f3b93c 54
e428b190
JR
55Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
56używających bibliotek Atlas-C++.
39f3b93c 57
58%package static
59Summary: Static libraries for Atlas-C++ development
b178ced7 60Summary(pl.UTF-8): Statyczne biblioteki Atlas-C++
39f3b93c 61Group: Development/Libraries
30e9a1b0 62Requires: %{name}-devel = %{epoch}:%{version}-%{release}
39f3b93c 63
64%description static
65Atlas-C++ is the current C++ implementation of the Atlas protocol, a
66communications layer designed to be used in the WorldForge MMORPG
67gaming system. This library is suitable for linking to either clients
68or servers.
69
70This package contains the static Atlas-C++ libraries.
71
e428b190
JR
72%description static -l pl.UTF-8
73Atlas-C++ jest implementacją (w języku C++) protokołu Atlas, warstwy
74komunikacyjnej przeznaczonej do systemów WorldForge MMORPG. Bibliotekę
75tę przygotowano zarówno dla aplikacji klienckich, jak i serwerów.
39f3b93c 76
77Pakiet 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
94rm -rf $RPM_BUILD_ROOT
95
fd38d28b
PG
96%{__make} install \
97 DESTDIR=$RPM_BUILD_ROOT
39f3b93c 98
39f3b93c 99%clean
100rm -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
This page took 0.078576 seconds and 4 git commands to generate.