3 %bcond_without static_libs # don't build static libraries
4 %bcond_with tests # perform "make check" (segfaults after tests)
6 Summary: OSSP al - Assembly Line
7 Summary(pl): OSSP al - biblioteka Assembly Line ("linii monta¿owej")
12 License: distributable (see README)
14 Source0: ftp://ftp.ossp.org/pkg/lib/al/%{name}-%{version}.tar.gz
15 # Source0-md5: ef943a29d1fb89ed4fd5556844cbc542
16 Patch0: %{name}-ac.patch
17 URL: http://www.ossp.org/pkg/lib/al/
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: ex-devel
21 BuildRequires: libtool
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 OSSP al defines an abstract data type of a data buffer that can
26 assemble, move and truncate chunks of data in a stream but avoids
27 actual copying. It was built to deal efficiently with communication
28 streams between software modules. It especially provides flexible
29 semantical data attribution through by-chunk labeling. It also has
30 convenient chunk traversal methods and optional OSSP ex based
34 OSSP al definiuje abstrakcyjne typy danych dla bufora danych, który
35 mo¿e ³±czyæ, przemieszczaæ i ucinaæ porcje danych w strumieniu, ale
36 unika samego kopiowania. Zosta³a stworzona, aby obs³ugiwaæ wydajnie
37 strumienie komunikacyjne pomiêdzy modu³ami oprogramowania. Udostêpnia
38 w szczególno¶ci elastyczne semantyczne przypisywanie danych poprzez
39 oznaczanie porcji. Ma tak¿e wygodne metody przechodzenia porcji i
40 opcjonaln± obs³ugê wyj±tków w oparciu o OSSP ex.
43 Summary: OSSP al - Assembly Line - header files and development libraries
44 Summary(pl): OSSP al - biblioteka Assembly Line - pliki nag³ówkowe i biblioteki dla deweloperów
45 Group: Development/Libraries
46 Requires: %{name} = %{epoch}:%{version}-%{release}
49 OSSP al - Assembly Line - header files and development libraries.
51 %description devel -l pl
52 OSSP al - biblioteka Assembly Line - pliki nag³ówkowe i biblioteki dla
56 Summary: OSSP al - Assembly Line - static libraries
57 Summary(pl): OSSP al - biblioteka Assembly Line - biblioteki statyczne
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
62 OSSP al - Assembly Line - static libraries.
64 %description static -l pl
65 OSSP al - biblioteka Assembly Line - biblioteki statyczne.
72 mv -f aclocal.m4 acinclude.m4
77 %{?debug:--enable-debug} \
79 --enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no}
82 %{?with_tests:%{__make} check}
85 rm -rf $RPM_BUILD_ROOT
88 DESTDIR=$RPM_BUILD_ROOT
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 %defattr(644,root,root,755)
98 %doc AUTHORS ChangeLog README THANKS TODO
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_bindir}/*
104 %attr(755,root,root) %{_libdir}/lib*.so
109 %if %{with static_libs}
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/lib*.a