Summary: GNU autoconf - source configuration tools
Summary(pl): GNU autoconf - narzêdzie do automatycznego konfigurowania ¼róde³
Name: autounit
-Version: 0.05
+Version: 0.10.2
Release: 1
License: GPL
-Group: Development/Building
-Group(pl): Programowanie/Budowanie
+Group: Development/Tools
Source0: http://www.recursism.com/projects/autounit/%{name}-%{version}.tar.gz
+Patch0: %{name}-info.patch
+Patch1: %{name}-no_html_doc.patch
URL: http://www.recursism.com/projects/autounit/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: glib-devel
+BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-#%define _libdir %{_datadir}
-
%description
-GNU Autounit's goal is to provide a common unit testing framework for application developers who use GNU Autoconf already in their projects but do not currently use a unit testing framework.
+GNU Autounit's goal is to provide a common unit testing framework for
+application developers who use GNU Autoconf already in their projects
+but do not currently use a unit testing framework.
%description -l pl
-Celem programu GNU Autounit jest dostarczenie popularnego systemu testów
-dla developerów aplikacji ju¿ u¿ywaj±cych programu GNU Autoconf w ich
-projektach ale aktualnie nie u¿ywaj±cych programów testuj±cych.
+Celem programu GNU Autounit jest dostarczenie popularnego systemu
+testów dla developerów aplikacji ju¿ u¿ywaj±cych programu GNU Autoconf
+w ich projektach ale aktualnie nie u¿ywaj±cych programów testuj±cych.
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%build
+rm -f missing
+libtoolize --copy --force
+autoheader
+aclocal
+autoconf
+automake -a -c
%configure
%{__make}
%{__make} install DESTDIR=$RPM_BUILD_ROOT
+gzip -9nf AUTHORS ChangeLog NEWS README
+
%post
[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
%files
%defattr(644,root,root,755)
-FIXME
+%doc *.gz
+%{_libdir}/libau-c-unit.a
+%{_includedir}/c-unit
+%{_infodir}/*info*