]> git.pld-linux.org Git - packages/Atlas-C++.git/blobdiff - Atlas-C++.spec
- added link patch
[packages/Atlas-C++.git] / Atlas-C++.spec
index d6037e847d526734d7bd361b5b7a566a3081ab81..3d91264d551a2222d28b666f396284dcff455097 100644 (file)
@@ -1,6 +1,5 @@
 # TODO:
 # add tutorial subpackage
-# check if atlas_convert should be in %files and in which package
 Summary:       C++ reference implementation of the Atlas protocol
 Summary(pl):   Implementacja protoko³u Atlas
 Name:          Atlas-C++
@@ -10,17 +9,20 @@ License:     LGPL
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/worldforge/%{name}-%{version}.tar.bz2
 # Source0-md5: 4b1d3094f17bb01a9460278897dc17cd
-BuildRequires: autoconf
+Patch0:                %{name}-link.patch
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
+BuildRequires: bzip2-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libtool >= 2:1.5
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Atlas-C++ is the current C++ implementation of the Atlas protocol, a
 communications layer designed to be used in the WorldForge MMORPG
 gaming system. This library is suitable for linking to either clients
-xor servers.
+or servers.
 
 %description -l pl
 Atlas-C++ jest implementacj± (w jêzyku C++) protoko³u Atlas, warstwy
@@ -33,6 +35,7 @@ Summary(pl):  Pliki nag
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      libstdc++-devel
+# libAtlasFilters additionally R: bzip2-devel,zlib-devel
 
 %description devel
 Atlas-C++ is the current C++ implementation of the Atlas protocol, a
@@ -74,6 +77,7 @@ Pakiet zawiera statyczne biblioteki Atlas-C++.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -100,17 +104,16 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_bindir}/atlas_convert
+%attr(755,root,root) %{_libdir}/libAtlas*.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
-#%attr(755,root,root) %{_bindir}/atlas-config
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libAtlas*.so
+%{_libdir}/libAtlas*.la
 %{_includedir}/Atlas*
-#%{_aclocaldir}/atlas.m4
 %{_pkgconfigdir}/atlascpp*.pc
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libAtlas*.a
This page took 0.031474 seconds and 4 git commands to generate.