]> git.pld-linux.org Git - packages/commoncpp2.git/blobdiff - commoncpp2.spec
- up to 1.6.2
[packages/commoncpp2.git] / commoncpp2.spec
index e6645aad5dc7bbfe9ecb10acd035f181f5f62830..dc2e472dc208bd7d4be8f65ff1cc8b7fed27f672 100644 (file)
@@ -1,18 +1,20 @@
 Summary:       A GNU package for creating portable C++ programs
-Summary(pl):   Pakiet GNU do tworzenia przeno¶nych programów w C++
+Summary(pl.UTF-8):     Pakiet GNU do tworzenia przenośnych programów w C++
 Name:          commoncpp2
-Version:       1.3.22
+Version:       1.6.2
 Release:       1
 License:       GPL
 Group:         Libraries
 Source0:       ftp://ftp.gnu.org/pub/gnu/commoncpp/%{name}-%{version}.tar.gz
-# Source0-md5: b5ae9f2763b7d3c452f81cc85accc271
-Patch0:                %{name}-Makefile.patch
+# Source0-md5: f564340284125bde66b43abb4aca2bf0
 URL:           http://www.gnu.org/software/commoncpp/
+BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: doxygen
 BuildRequires: libstdc++-devel
+BuildRequires: libtool
 BuildRequires: libxml2-devel
+BuildRequires: openssl-devel
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -26,18 +28,18 @@ libraries, threading, sockets, etc. GNU Common C++ "2" is small, and
 highly portable. GNU Common C++ "2" will support most Unix operating
 systems as well as Win32, in addition to GNU/Linux.
 
-%description -l pl
-Drugie g³ówne wydanie GNU Common C++. GNU Common C++ oferuje przeno¶ne
-abstrakcje us³ug systemowych takich jak w±tki, sieci i gniazda.
-Oferuje tak¿e poszczególne szkielety u¿yteczne do rozwijania
-przeno¶nych aplikacji C++ zawieraj±ce silnik trwa³ych obiektów,
-biblioteki matematyczne, w±tków, gniazd itd. GNU Common C++ jest ma³y
-i przeno¶ny. Oprócz GNU/Linuksa obs³uguje tak¿e wiêkszo¶æ uniksowych
-systemów operacyjnych oraz Win32.
+%description -l pl.UTF-8
+Drugie główne wydanie GNU Common C++. GNU Common C++ oferuje przenośne
+abstrakcje usług systemowych takich jak wątki, sieci i gniazda.
+Oferuje także poszczególne szkielety użyteczne do rozwijania
+przenośnych aplikacji C++ zawierające silnik trwałych obiektów,
+biblioteki matematyczne, wątków, gniazd itd. GNU Common C++ jest mały
+i przenośny. Oprócz GNU/Linuksa obsługuje także większość uniksowych
+systemów operacyjnych oraz Win32.
 
 %package devel
 Summary:       Header files for commoncpp2 library
-Summary(pl):   Pliki nag³ówkowe biblioteki commoncpp2
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki commoncpp2
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      libstdc++-devel
@@ -47,27 +49,32 @@ Requires:   zlib-devel
 %description devel
 Header files for commoncpp2 library.
 
-%description devel -l pl
-Pliki nag³ówkowe biblioteki commoncpp2.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki commoncpp2.
 
 %package static
 Summary:       Static commoncpp2 library
-Summary(pl):   Statyczna biblioteka commoncpp2
+Summary(pl.UTF-8):     Statyczna biblioteka commoncpp2
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static commoncpp2 library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna biblioteka commoncpp2.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%configure
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --with-openssl
 %{__make}
 
 %install
@@ -82,16 +89,18 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%post devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post devel    -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun devel  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING.addendum NEWS README TODO ChangeLog
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%ghost %{_libdir}/libccext2-1.6.so.0
+%ghost %{_libdir}/libccgnu2-1.6.so.0
 
 %files devel
 %defattr(644,root,root,755)
@@ -99,7 +108,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
-%{_includedir}/cc++2
+%{_includedir}/cc++
 %{_aclocaldir}/*.m4
 %{_pkgconfigdir}/*.pc
 %{_infodir}/*.info*
This page took 0.126667 seconds and 4 git commands to generate.