]> git.pld-linux.org Git - packages/al.git/blobdiff - al.spec
- converted to UTF-8
[packages/al.git] / al.spec
diff --git a/al.spec b/al.spec
index 8b34f1653cef857acd84633b83d278e2ffacd260..ebafa3b5d462bafb971529d01078a0fe2f94f894 100644 (file)
--- a/al.spec
+++ b/al.spec
@@ -1,18 +1,24 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static libraries
+%bcond_with    tests           # perform "make check" (segfaults after tests)
+#
 Summary:       OSSP al - Assembly Line
-Summary(pl):   OSSP al - biblioteka Assembly Line
+Summary(pl.UTF-8):   OSSP al - biblioteka Assembly Line ("linii montażowej")
 Name:          al
-Version:       0.9.1
+Version:       0.9.3
 Release:       0.1
+Epoch:         0
 License:       distributable (see README)
 Group:         Libraries
-Source0:       ftp://ftp.ossp.org/pkg/lib/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: eba90e56fe7248466b66306a65868ae7
+Source0:       ftp://ftp.ossp.org/pkg/lib/al/%{name}-%{version}.tar.gz
+# Source0-md5: ef943a29d1fb89ed4fd5556844cbc542
 Patch0:                %{name}-ac.patch
 URL:           http://www.ossp.org/pkg/lib/al/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: ex-devel
 BuildRequires: libtool
-Requires(post,postun): /sbin/ldconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,45 +30,56 @@ semantical data attribution through by-chunk labeling. It also has
 convenient chunk traversal methods and optional OSSP ex based
 exception handling.
 
-#%%description -l pl
+%description -l pl.UTF-8
+OSSP al definiuje abstrakcyjne typy danych dla bufora danych, który
+może łączyć, przemieszczać i ucinać porcje danych w strumieniu, ale
+unika samego kopiowania. Została stworzona, aby obsługiwać wydajnie
+strumienie komunikacyjne pomiędzy modułami oprogramowania. Udostępnia
+w szczególności elastyczne semantyczne przypisywanie danych poprzez
+oznaczanie porcji. Ma także wygodne metody przechodzenia porcji i
+opcjonalną obsługę wyjątków w oparciu o OSSP ex.
 
 %package devel
 Summary:       OSSP al - Assembly Line - header files and development libraries
-Summary(pl):   OSSP al - biblioteka Assembly Line - pliki nag³ówkowe i biblioteki dla deweloperów
+Summary(pl.UTF-8):   OSSP al - biblioteka Assembly Line - pliki nagłówkowe i biblioteki dla deweloperów
 Group:         Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description devel
 OSSP al - Assembly Line - header files and development libraries.
 
-%description devel -l pl
-OSSP al - biblioteka Assembly Line - pliki nag³ówkowe i biblioteki dla
-deweloperów.
+%description devel -l pl.UTF-8
+OSSP al - biblioteka Assembly Line - pliki nagłówkowe i biblioteki dla
+deweloperów.
 
 %package static
 Summary:       OSSP al - Assembly Line - static libraries
-Summary(pl):   OSSP al - biblioteka Assembly Line - biblioteki statyczne
+Summary(pl.UTF-8):   OSSP al - biblioteka Assembly Line - biblioteki statyczne
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 
 %description static
 OSSP al - Assembly Line - static libraries.
 
-%description static -l pl
+%description static -l pl.UTF-8
 OSSP al - biblioteka Assembly Line - biblioteki statyczne.
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 
 %build
 mv -f aclocal.m4 acinclude.m4
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
-%configure
+%configure \
+       %{?debug:--enable-debug} \
+       --with-ex \
+       --enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no}
 %{__make}
-#%%{__make} check //segfaults after passing tests
+
+%{?with_tests:%{__make} check}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -73,9 +90,8 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
@@ -90,6 +106,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/*
 %{_mandir}/man3/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.a
+%endif
This page took 0.07222 seconds and 4 git commands to generate.