]> git.pld-linux.org Git - packages/commoncpp2.git/blobdiff - commoncpp2.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/commoncpp2.git] / commoncpp2.spec
index 3a5378b60757489b4e9fc6f62cd0cd8129eda607..ac98f3339e1760d78f68936eee4d0dd20aa75834 100644 (file)
@@ -1,18 +1,18 @@
 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.5.3
+Version:       1.6.1
 Release:       1
 License:       GPL
 Group:         Libraries
 Source0:       ftp://ftp.gnu.org/pub/gnu/commoncpp/%{name}-%{version}.tar.gz
-# Source0-md5: 559c6cb2e1fbbaa6d1856d037e3722b2
-Patch0:                %{name}-Makefile.patch
+# Source0-md5: 2ebd8eb80996515be0385378da783091
 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
@@ -28,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
@@ -49,29 +49,30 @@ 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
+%{__libtoolize}
 %{__aclocal} -I m4
-%{__automake}
 %{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --with-openssl
 %{__make}
@@ -88,11 +89,11 @@ 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)
This page took 0.056706 seconds and 4 git commands to generate.