]> git.pld-linux.org Git - packages/dalc.git/commitdiff
- BuilRequires for libstdc++-devel is back, dalc-0_1-1
authorkloczek <kloczek@pld-linux.org>
Fri, 24 Nov 2000 16:02:42 +0000 (16:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added ac_am patch with complet automake, autoconf, autoheader, libtool
  suit.

Changed files:
    dalc.spec -> 1.5

dalc.spec

index 1f7b804c9d040396a042080847ff16b8d6fe69bf..f0419d268db9c2c40a1f3353d4c708f2aacd06b8 100644 (file)
--- a/dalc.spec
+++ b/dalc.spec
@@ -8,7 +8,11 @@ Group:         Applications/Math
 Group(de):     Applikationen/Mathematik
 Group(pl):     Aplikacje/Matematyczne
 Source0:       http://linuxberg.iol.it/files/console/scientific/%{name}-%{version}.tgz
-Patch0:                %{name}-fixincludes.patch
+Patch0:                %{name}-ac_am.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: libstdc++-devel
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,22 +27,23 @@ Dalc ma du
 %patch0 -p1
 
 %build
-%{__make} CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} \
-       -DVIEWER=\\\"xv\\\" -DCONVERTER=\\\"ppmtogif\\\" -I%{_includedir}/ncurses" \
+automake -a -c
+autoheader
+aclocal
+autoconf
+libtoolize --copy --force
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_bindir}}
-
 %{__make} install \
-        BINDIR=$RPM_BUILD_ROOT%{_bindir} \
-        MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
This page took 0.036274 seconds and 4 git commands to generate.