]> git.pld-linux.org Git - packages/bc.git/blobdiff - bc.spec
- Added BR: texinfo
[packages/bc.git] / bc.spec
diff --git a/bc.spec b/bc.spec
index 01bf012b7fdfc07d3ee662b706a547076a3fe45a..346a3a1981295eaec7e35a4262427fcf9411614f 100644 (file)
--- a/bc.spec
+++ b/bc.spec
@@ -9,11 +9,13 @@ Summary(tr):  GNU hesap makinas
 Summary(uk):   GNU bc (ÍÏ×Á ÏÂÒÏÂËÉ ÞÉÓÅÌ) ÔÁ dc (ËÁÌØËÕÌÑÔÏÒ)
 Name:          bc
 Version:       1.06
-Release:       9
+Release:       10
 License:       GPL
 Group:         Applications/Math
 Source0:       ftp://ftp.gnu.org/pub/gnu/bc/%{name}-%{version}.tar.gz
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
+Source2:       bc.desktop
+Source3:       dc.desktop
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-readline.patch
 BuildRequires: autoconf
@@ -22,6 +24,7 @@ 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
@@ -95,6 +98,10 @@ 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
+
 bzip2 -dc %{SOURCE1} | tar -xf - -C $RPM_BUILD_ROOT%{_mandir}
 
 %post
@@ -108,6 +115,7 @@ bzip2 -dc %{SOURCE1} | tar -xf - -C $RPM_BUILD_ROOT%{_mandir}
 %doc AUTHORS ChangeLog FAQ NEWS README
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
+%{_applnkdir}/Scientific/Numerics/*
 %lang(es) %{_mandir}/es/man1/*
 %lang(fi) %{_mandir}/fi/man1/*
 %lang(hu) %{_mandir}/hu/man1/*
@@ -115,7 +123,7 @@ bzip2 -dc %{SOURCE1} | tar -xf - -C $RPM_BUILD_ROOT%{_mandir}
 %lang(ko) %{_mandir}/ko/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
 
-%{_infodir}/dc.info*
+%{_infodir}/*.info*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.034402 seconds and 4 git commands to generate.