X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgforth.git;a=blobdiff_plain;f=gforth.spec;h=ab450b1265e5d762138af2ebdaa0e9147cdd924a;hp=335c303c4bfaaf546ab934732287b9939888915f;hb=HEAD;hpb=6ff5da0d9f8b63866d658de989c100d3b64beed7 diff --git a/gforth.spec b/gforth.spec index 335c303..ab450b1 100644 --- a/gforth.spec +++ b/gforth.spec @@ -1,20 +1,25 @@ Summary: GNU Forth Language Summary(pl.UTF-8): Kompilator GNU Forth Name: gforth -Version: 0.6.2 -Release: 1 -License: GPL +Version: 0.7.3 +Release: 3 +License: GPL v3+ Group: Development/Languages Source0: http://ftp.gnu.org/gnu/gforth/%{name}-%{version}.tar.gz -# Source0-md5: 869112bd762b07fc4d2038a2d9965148 +# Source0-md5: ff484391e5cdf405867fcf96341820ab Patch0: %{name}-info.patch Patch1: %{name}-opt.patch -Patch2: %{name}-acfix.patch +URL: http://gnu.org/software/gforth/ BuildRequires: autoconf >= 2.54 BuildRequires: automake +BuildRequires: ffcall-devel +BuildRequires: libltdl-devel +BuildRequires: libtool BuildRequires: texinfo BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define skip_post_check_so .*%{_libdir}/gforth/%{version}/libcc-named/.* + %description Gforth is a fast and portable implementation of the ANS Forth language. It works nicely with the Emacs editor, offers some nice @@ -36,48 +41,49 @@ rozpowszechniany na Powszechnej Licencji Publicznej GNU. %setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 -rm -f doc/*.info* +%{__rm} doc/*.info* %build %{__aclocal} %{__autoconf} %configure -%{__make} +%{__make} -j1 -cd doc -makeinfo gforth.ds -makeinfo vmgen.texi +%{__make} info %install rm -rf $RPM_BUILD_ROOT %{__make} install \ - prefix=$RPM_BUILD_ROOT%{_prefix} \ - exec_prefix=$RPM_BUILD_ROOT%{_prefix} \ - mandir=$RPM_BUILD_ROOT%{_mandir} \ - infodir=$RPM_BUILD_ROOT%{_infodir} + DESTDIR=$RPM_BUILD_ROOT + +%{__rm} $RPM_BUILD_ROOT%{_libdir}/gforth/%{version}/libcc-named/*.{la,a} %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/postshell +%post -p /sbin/postshell -/usr/sbin/fix-info-dir -c %{_infodir} -%postun -p /sbin/postshell +%postun -p /sbin/postshell -/usr/sbin/fix-info-dir -c %{_infodir} %files %defattr(644,root,root,755) -%doc AUTHORS README NEWS BUGS ToDo -%attr(755,root,root) %{_bindir}/* +%doc AUTHORS BUGS NEWS NEWS.vmgen README README.vmgen ToDo +%attr(755,root,root) %{_bindir}/gforth* +%attr(755,root,root) %{_bindir}/vmgen* %dir %{_libdir}/gforth %dir %{_libdir}/gforth/%{version} -%attr (755,root,root) %{_libdir}/gforth/%{version}/gforth-ditc +%dir %{_libdir}/gforth/%{version}/libcc-named +%attr(755,root,root) %{_libdir}/gforth/%{version}/libcc-named/*.so* +%attr(755,root,root) %{_libdir}/gforth/%{version}/gforth-ditc %{_libdir}/gforth/%{version}/gforth.fi %dir %{_libdir}/gforth/site-forth -%{_infodir}/*.info* -%{_mandir}/man1/* +%{_includedir}/gforth +%{_infodir}/gforth.info* +%{_infodir}/vmgen.info* +%{_mandir}/man1/gforth.1* %{_datadir}/gforth