]> git.pld-linux.org Git - packages/bc.git/blobdiff - bc.spec
This commit was manufactured by cvs2git to create branch 'TEST'.
[packages/bc.git] / bc.spec
diff --git a/bc.spec b/bc.spec
index ee43884160d08771ffde538ff51e99c21313084e..a37d480e01a75a67d4efece6b66f1794859b99fd 100644 (file)
--- a/bc.spec
+++ b/bc.spec
@@ -9,23 +9,24 @@ Summary(tr):  GNU hesap makinas
 Summary(uk):   GNU bc (ÍÏ×Á ÏÂÒÏÂËÉ ÞÉÓÅÌ) ÔÁ dc (ËÁÌØËÕÌÑÔÏÒ)
 Name:          bc
 Version:       1.06
-Release:       12
+Release:       14
 License:       GPL
 Group:         Applications/Math
 Source0:       ftp://ftp.gnu.org/pub/gnu/bc/%{name}-%{version}.tar.gz
-# Source0-md5: d44b5dddebd8a7a7309aea6c36fda117
+# Source0-md5: d44b5dddebd8a7a7309aea6c36fda117
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
-# Source1-md5: ae2cf58a4382d6a0bfeaab3a6a11bd30
+# 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)
 
@@ -87,10 +88,12 @@ ileri yetenekleri vard
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p0
 
 %build
 %{__aclocal}
 %{__autoconf}
+%{__automake}
 %configure \
        --with-readline
 %{__make}
@@ -98,14 +101,19 @@ ileri yetenekleri vard
 %install
 rm -rf $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
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 bzip2 -dc %{SOURCE1} | tar -xf - -C $RPM_BUILD_ROOT%{_mandir}
 
+install -d $RPM_BUILD_ROOT%{_desktopdir}
+
+install %{SOURCE2} %{SOURCE3} \
+       $RPM_BUILD_ROOT%{_desktopdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
@@ -116,8 +124,8 @@ bzip2 -dc %{SOURCE1} | tar -xf - -C $RPM_BUILD_ROOT%{_mandir}
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog FAQ NEWS README
 %attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*
 %{_mandir}/man1/*
-%{_applnkdir}/Scientific/Numerics/*
 %lang(es) %{_mandir}/es/man1/*
 %lang(fi) %{_mandir}/fi/man1/*
 %lang(hu) %{_mandir}/hu/man1/*
@@ -126,6 +134,3 @@ bzip2 -dc %{SOURCE1} | tar -xf - -C $RPM_BUILD_ROOT%{_mandir}
 %lang(pl) %{_mandir}/pl/man1/*
 
 %{_infodir}/*.info*
-
-%clean
-rm -rf $RPM_BUILD_ROOT
This page took 0.06569 seconds and 4 git commands to generate.