-Summary: A front end for testing other programs.
-Summary(pl): Platforma do testowania innych programów.
+Summary: A front end for testing other programs
+Summary(pl.UTF-8): Platforma do testowania innych programów
Name: dejagnu
-Version: 1.4.0
+Version: 1.4.4
Release: 1
+Epoch: 1
License: GPL
-Source0: ftp://ftp.gnu.org/gnu/dejagnu/snapshots/%{name}-%{version}.tar.gz
Group: Development/Tools
-Group(de): Entwicklung/Werkzeuge
-Group(fr): Development/Outils
-Group(pl): Programowanie/Narzêdzia
-Requires: tcl >= 8.0, expect >= 5.21
+Source0: ftp://ftp.gnu.org/gnu/dejagnu/%{name}-%{version}.tar.gz
+# Source0-md5: 053f18fd5d00873de365413cab17a666
+Patch0: %{name}-ac_fixes.patch
+BuildRequires: autoconf
+BuildRequires: automake
+Requires: tcl >= 8.0
+Requires: expect >= 5.21
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
output format of all tests (making it easier to integrate the testing
into software development).
-%description -l pl
-DejaGnu jest platform± bazuj±c± na Expect'ie i Tcl s³u¿±ca do testowania
-innych programów. DejaGnu umo¿liwia ³atwe tworzenie testów do niemal
-dowolnego programu, uruchamiania ich na ró¿nych platformach sprzêtowych oraz
-zapewnia jednolity format raportów z przebiegu testowania.
+%description -l pl.UTF-8
+DejaGnu jest platformą bazującą na Expect'ie i Tcl służąca do
+testowania innych programów. DejaGnu umożliwia łatwe tworzenie testów
+do niemal dowolnego programu, uruchamiania ich na różnych platformach
+sprzętowych oraz zapewnia jednolity format raportów z przebiegu
+testowania.
%prep
-%setup -q -n dejagnu-1.4
+%setup -q
+%patch0 -p1
%build
-%configure2_13
+rm -f missing
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
%{__make}
+
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}
-install -d $RPM_BUILD_ROOT%{_datadir}/dejagnu
-install -d $RPM_BUILD_ROOT%{_prefix}/doc/dejagnu-%{version}
-%{__make} DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+# %config site.exp
+%doc NEWS README AUTHORS ChangeLog doc/overview.* doc/README.Writers doc/ref* doc/user* doc/dejagnu* doc/html
%attr(755,root,root) %{_bindir}/runtest
-%attr(755,root,root) %{_datadir}/dejagnu/config.guess
+%dir %{_datadir}/dejagnu
%attr(755,root,root) %{_datadir}/dejagnu/runtest.exp
%attr(755,root,root) %{_datadir}/dejagnu/libexec/config.guess
%{_datadir}/dejagnu/[^crl]*
%{_datadir}/dejagnu/rsh.exp
%{_datadir}/dejagnu/libgloss.exp
%{_datadir}/dejagnu/config
-
-
-# %config site.exp
-
-%doc COPYING NEWS README AUTHORS INSTALL ChangeLog doc/overview
-
+%{_mandir}/man1/*
+%{_includedir}/dejagnu.h