--- /dev/null
+Summary: OSSP al - Assembly Line
+Summary(pl): OSSP al - biblioteka Assembly Line
+Name: al
+Version: 0.9.1
+Release: 0.1
+License: distributable (see README)
+Group: Libraries
+Source0: ftp://ftp.ossp.org/pkg/lib/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: eba90e56fe7248466b66306a65868ae7
+Patch0: %{name}-ac.patch
+URL: http://www.ossp.org/pkg/lib/%{name}/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+Requires(post,postun): /sbin/ldconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OSSP al defines an abstract data type of a data buffer that can
+assemble, move and truncate chunks of data in a stream but avoids
+actual copying. It was built to deal efficiently with communication
+streams between software modules. It especially provides flexible
+semantical data attribution through by-chunk labeling. It also has
+convenient chunk traversal methods and optional OSSP ex based
+exception handling.
+
+#%%description -l pl
+
+%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
+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.
+
+%package static
+Summary: OSSP al - Assembly Line - static libraries
+Summary(pl): 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
+OSSP al - biblioteka Assembly Line - biblioteki statyczne.
+
+%prep
+%setup -q
+%patch -p1
+
+%build
+mv -f aclocal.m4 acinclude.m4
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%configure
+%{__make}
+#%%{__make} check //segfaults after passing tests
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__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 AUTHORS ChangeLog README THANKS TODO
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/*
+%{_mandir}/man3/*
+
+%files static
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.a