]> git.pld-linux.org Git - packages/dejagnu.git/commitdiff
- regenerate ac/am files and use %%configure macro (added am_fixes aptch),
authorkloczek <kloczek@pld-linux.org>
Sun, 5 May 2002 12:13:18 +0000 (12:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- INSTALL removed from %doc and added gzipping %doc files,
- siplify %install and few cosmetics.

Changed files:
    dejagnu.spec -> 1.7

dejagnu.spec

index b2d98dff4dfe4c6d5382ab08fa97b9a7fb0c9c10..ad274b3f8678fd5a82a307da5b7182ad6c5b6300 100644 (file)
@@ -1,12 +1,16 @@
-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):   Platforma do testowania innych programów
 Name:          dejagnu
 Version:       1.4.0
 Release:       1
 License:       GPL
-Source0:       ftp://ftp.gnu.org/gnu/dejagnu/%{name}-%{version}.tar.gz
 Group:         Development/Tools
-Requires:      tcl >= 8.0, expect >= 5.21
+Source0:       ftp://ftp.gnu.org/gnu/dejagnu/%{name}-%{version}.tar.gz
+Patch0:                %{name}-am_fixes.patch
+BuildRewuires: autoconf
+BuildRewuires: automake
+Requires:      tcl >= 8.0
+Requires:      expect >= 5.21
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -26,24 +30,40 @@ testowania.
 
 %prep
 %setup -q -n dejagnu-1.4
+%patch0 -p1
 
 %build
-%configure2_13
+rm -f missing
+aclocal
+autoconf
+automake -a -c -f
+cd example/calc
+rm -f missing
+aclocal
+autoconf
+automake -a -c -f
+cd ../..
+%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
+#install -d$RPM_BUILD_ROOT{%{_datadir}/dejagnu,%{_prefix}/doc/dejagnu-%{version}}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf NEWS README AUTHORS ChangeLog
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+# %config site.exp
+%doc *.gz doc/overview
 %attr(755,root,root) %{_bindir}/runtest
+%dir %{_datadir}/dejagnu
 %attr(755,root,root) %{_datadir}/dejagnu/config.guess
 %attr(755,root,root) %{_datadir}/dejagnu/runtest.exp
 %attr(755,root,root) %{_datadir}/dejagnu/libexec/config.guess
@@ -53,7 +73,3 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/dejagnu/rsh.exp
 %{_datadir}/dejagnu/libgloss.exp
 %{_datadir}/dejagnu/config
-
-# %config site.exp
-
-%doc NEWS README AUTHORS INSTALL ChangeLog doc/overview
This page took 0.145684 seconds and 4 git commands to generate.