]> git.pld-linux.org Git - packages/Atlas-C++.git/blobdiff - Atlas-C++.spec
- added link patch
[packages/Atlas-C++.git] / Atlas-C++.spec
index e8c1c068cd4fb7c08cd962acfe61d197445ad0ab..3d91264d551a2222d28b666f396284dcff455097 100644 (file)
@@ -1,22 +1,21 @@
+# TODO:
+# add tutorial subpackage
 Summary:       C++ reference implementation of the Atlas protocol
 Summary(pl):   Implementacja protoko³u Atlas
 Name:          Atlas-C++
-Version:       0.4.4
-Release:       1
+Version:       0.6.0rc2
+Release:       0.2
 License:       LGPL
 Group:         Libraries
-Group(de):     Libraries
-Group(es):     Bibliotecas
-Group(fr):     Librairies
-Group(pl):     Biblioteki
-Group(pt_BR):  Bibliotecas
-Group(ru):     âÉÂÌÉÏÔÅËÉ
-Group(uk):     â¦Â̦ÏÔÅËÉ
-Source0:       ftp://victor.worldforge.org/pub/worldforge/libs/Atlas-C++/%{name}-%{version}.tar.gz
-BuildRequires: autoconf
+Source0:       http://dl.sourceforge.net/worldforge/%{name}-%{version}.tar.bz2
+# Source0-md5: 4b1d3094f17bb01a9460278897dc17cd
+Patch0:                %{name}-link.patch
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
-BuildRequires: libtool
+BuildRequires: bzip2-devel
 BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:1.5
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,17 +30,12 @@ komunikacyjnej przeznaczonej do system
 tê przygotowano zarówno dla aplikacji klienckich, jak i serwerów.
 
 %package devel
-Summary:       Header files and libraries for Atlas-C++ development
+Summary:       Header files for Atlas-C++ development
+Summary(pl):   Pliki nag³ówkowe do biblioteki Atlas-C++
 Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(es):     Desarrollo/Bibliotecas
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
-Group(pt_BR):  Desenvolvimento/Bibliotecas
-Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-Requires:      %{name} = %{version}
+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
@@ -62,15 +56,9 @@ u
 
 %package static
 Summary:       Static libraries for Atlas-C++ development
+Summary(pl):   Statyczne biblioteki Atlas-C++
 Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(es):     Desarrollo/Bibliotecas
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
-Group(pt_BR):  Desenvolvimento/Bibliotecas
-Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Atlas-C++ is the current C++ implementation of the Atlas protocol, a
@@ -89,40 +77,43 @@ Pakiet zawiera statyczne biblioteki Atlas-C++.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-aclocal
-autoheader
-libtoolize --automake --copy --force
-automake --add-missing --copy --gnu --force
-autoconf
-%configure
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure \
+       --enable-static
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf AUTHORS ChangeLog NEWS README
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc *.gz
-%{_libdir}/lib*.so.1
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%doc AUTHORS ChangeLog NEWS README
+%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
-%{_includedir}/Atlas
-%attr(755,root,root) %{_libdir}/lib*.la
-%{_libdir}/lib*.so
-%{_aclocaldir}/atlas.m4
+%attr(755,root,root) %{_libdir}/libAtlas*.so
+%{_libdir}/libAtlas*.la
+%{_includedir}/Atlas*
+%{_pkgconfigdir}/atlascpp*.pc
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libAtlas*.a
This page took 0.069346 seconds and 4 git commands to generate.