]> git.pld-linux.org Git - packages/bison.git/blobdiff - bison.spec
This commit was manufactured by cvs2git to create branch 'AC-branch'.
[packages/bison.git] / bison.spec
index ec1b196f39fce37508d1bfdc9cb97e7cce0d45a9..5256532d4d411d2e9743d241e232909fa8e33b6d 100644 (file)
@@ -8,18 +8,22 @@ Summary(ru):  Bison - 
 Summary(tr):   GNU ayrýþtýrýcý üreticisi
 Summary(uk):   Bison - ÇÅÎÅÒÁÔÏÒ ÐÁÒÓÅҦנGNU
 Name:          bison
-Version:       1.875
-Release:       5
+Version:       2.1
+Release:       1
 License:       GPL
 Group:         Development/Tools
-Source0:       ftp://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: b7f8027b249ebd4dd0cc948943a71af0
+Source0:       ftp://ftp.gnu.org/gnu/bison/%{name}-%{version}.tar.bz2
+# Source0-md5: ef3110077462b1140b2ae612626e8486
 Source1:       %{name}.1.pl
 Patch0:                %{name}-info.patch
-Patch1:                %{name}-unused.patch
+Patch1:                %{name}-pl.po-update.patch
 BuildRequires: automake
-BuildRequires: m4 >= 1.4
-BuildRequires: texinfo
+BuildRequires: flex
+BuildRequires: gettext-devel >= 0.12
+BuildRequires: m4 >= 1.4.3
+BuildRequires: texinfo >= 4.0
+Requires:      %{name}-runtime = %{version}-%{release}
+Requires:      m4 >= 1.4.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                pkgdatadir      %{_datadir}/bison
@@ -80,14 +84,26 @@ Bison - 
 ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÊÏÇÏ × ÐÒÏÃÅÓ¦ ËÏÍЦÌÑæ§. Bison ÐÏÔÒ¦ÂÅΠԦÌØËÉ ×
 ÓÉÓÔÅÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ.
 
+%package runtime
+Summary:       Runtime library for programs containing bison-generated parsers
+Summary(pl):   Biblioteka uruchomieniowa dla programów zawierajacych parsery bisonowe
+Group:         Libraries
+
+%description runtime
+Runtime library for internationalized programs containing
+bison-generated parsers.
+
+%description runtime -l pl
+Biblioteka uruchomieniowa dla umiêdzynarodowionych programów
+zawierajacych parsery wygenerowane przez bisona.
+
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
 
 %build
-rm -f config/config.sub
-cp /usr/share/automake/config.sub config/
+cp -f /usr/share/automake/config.sub config
 %configure
 %{__make} \
        pkgdatadir=%{pkgdatadir}
@@ -103,6 +119,7 @@ install -d $RPM_BUILD_ROOT%{_mandir}/pl/man1
 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/bison.1
 
 %find_lang %{name}
+%find_lang %{name}-runtime
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -115,9 +132,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/bison
+# would conflict with byacc (but is not 100% compatible)
+#%attr(755,root,root) %{_bindir}/yacc
 %{pkgdatadir}
 %{_libdir}/lib*.a
+%{_aclocaldir}/bison-i18n.m4
 %{_mandir}/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
 %{_infodir}/*.info*
+
+%files runtime -f %{name}-runtime.lang
+%defattr(644,root,root,755)
This page took 0.314519 seconds and 4 git commands to generate.