]> git.pld-linux.org Git - packages/bc.git/blobdiff - bc.spec
- Added "Categories" entry
[packages/bc.git] / bc.spec
diff --git a/bc.spec b/bc.spec
index b4492815dafc78face707501e823349c11d2768b..156ecd0283fa326dcfe189e4f33045675e6db0a8 100644 (file)
--- a/bc.spec
+++ b/bc.spec
@@ -9,21 +9,25 @@ Summary(tr):  GNU hesap makinas
 Summary(uk):   GNU bc (ÍÏ×Á ÏÂÒÏÂËÉ ÞÉÓÅÌ) ÔÁ dc (ËÁÌØËÕÌÑÔÏÒ)
 Name:          bc
 Version:       1.06
-Release:       10
+Release:       13
 License:       GPL
 Group:         Applications/Math
 Source0:       ftp://ftp.gnu.org/pub/gnu/bc/%{name}-%{version}.tar.gz
+# Source0-md5: d44b5dddebd8a7a7309aea6c36fda117
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
+# Source1-md5: ae2cf58a4382d6a0bfeaab3a6a11bd30
 Source2:       bc.desktop
 Source3:       dc.desktop
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-readline.patch
+Patch2:                %{name}-flex.patch
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: bison
+BuildRequires: flex
 BuildRequires: ncurses-devel >= 5.2
 BuildRequires: readline-devel >= 4.2
-BuildRequires: flex
-BuildRequires: bison
+BuildRequires: texinfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -84,25 +88,31 @@ ileri yetenekleri vard
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p0
 
 %build
 %{__aclocal}
 %{__autoconf}
+%{__automake}
 %configure \
        --with-readline
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Numerics
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Numerics
 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Numerics/bc.desktop
 install %{SOURCE3} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Numerics/dc.desktop
 
 bzip2 -dc %{SOURCE1} | tar -xf - -C $RPM_BUILD_ROOT%{_mandir}
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
@@ -122,7 +132,4 @@ bzip2 -dc %{SOURCE1} | tar -xf - -C $RPM_BUILD_ROOT%{_mandir}
 %lang(ko) %{_mandir}/ko/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
 
-%{_infodir}/dc.info*
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%{_infodir}/*.info*
This page took 0.027893 seconds and 4 git commands to generate.