]> git.pld-linux.org Git - packages/bison.git/blobdiff - bison.spec
- updated to 2.6.4
[packages/bison.git] / bison.spec
index 2e68614d79a4bc59795d5d74a8731c6dacc90d57..8d7fed3f43279a5496cc8cef94e1fa4df0287b03 100644 (file)
@@ -8,22 +8,25 @@ Summary(ru.UTF-8):    Bison - генератор парсеров GNU
 Summary(tr.UTF-8):     GNU ayrıştırıcı üreticisi
 Summary(uk.UTF-8):     Bison - генератор парсерів GNU
 Name:          bison
-Version:       2.3
+Version:       2.6.4
 Release:       1
-License:       GPL
+License:       GPL v3+
 Group:         Development/Tools
-Source0:       ftp://ftp.gnu.org/gnu/bison/%{name}-%{version}.tar.bz2
-# Source0-md5: c18640c6ec31a169d351e3117ecce3ec
+Source0:       http://ftp.gnu.org/gnu/bison/%{name}-%{version}.tar.xz
+# Source0-md5: 8b2dc57eb9d2d6de4715d30de6b2ee07
 Source1:       %{name}.1.pl
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-pl.po-update.patch
-BuildRequires: automake
+URL:           http://gnu.org/software/bison/
+BuildRequires: automake >= 1:1.11.1
 BuildRequires: flex
-BuildRequires: gettext-devel >= 0.12
-BuildRequires: m4 >= 1.4.3
+BuildRequires: gettext-devel >= 0.18
+BuildRequires: m4 >= 1.4.6
+BuildRequires: tar >= 1:1.22
 BuildRequires: texinfo >= 4.0
+BuildRequires: xz
 Requires:      %{name}-runtime = %{version}-%{release}
-Requires:      m4 >= 1.4.3
+Requires:      m4 >= 1.4.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                pkgdatadir      %{_datadir}/bison
@@ -102,11 +105,12 @@ zawierajacych parsery wygenerowane przez bisona.
 %patch0 -p1
 %patch1 -p1
 
-rm -f po/stamp-po
+%{__rm} po/stamp-po
 
 %build
 cp -f /usr/share/automake/config.sub config
-%configure
+%configure \
+       --disable-silent-rules
 %{__make} \
        pkgdatadir=%{pkgdatadir}
 
@@ -126,11 +130,11 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/bison.1
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
@@ -139,11 +143,11 @@ rm -rf $RPM_BUILD_ROOT
 # would conflict with byacc (but is not 100% compatible)
 #%attr(755,root,root) %{_bindir}/yacc
 %{pkgdatadir}
-%{_libdir}/lib*.a
+%{_libdir}/liby.a
 %{_aclocaldir}/bison-i18n.m4
-%{_mandir}/man1/*
-%lang(pl) %{_mandir}/pl/man1/*
-%{_infodir}/*.info*
+%{_mandir}/man1/bison.1*
+%lang(pl) %{_mandir}/pl/man1/bison.1*
+%{_infodir}/bison.info*
 
 %files runtime -f %{name}-runtime.lang
 %defattr(644,root,root,755)
This page took 0.558902 seconds and 4 git commands to generate.