]> git.pld-linux.org Git - packages/gforth.git/blobdiff - gforth.spec
- release 3
[packages/gforth.git] / gforth.spec
index d5663c054742dd3d9ccd91a06d5738ae4c0d72a7..ab450b1265e5d762138af2ebdaa0e9147cdd924a 100644 (file)
@@ -1,75 +1,89 @@
-Summary:     GNU Forth Language
-Summary(pl): Kompilator GNU Forth 
-Name:        gforth
-Version:     0.3.0
-Release:     2
-Copyright:   GPL
-Group:       Languages
-Source:      ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz 
-Patch0:      gforth-makefile.patch
-Buildroot:   /tmp/%{name}-%{version}-root
+Summary:       GNU Forth Language
+Summary(pl.UTF-8):     Kompilator GNU Forth
+Name:          gforth
+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: ff484391e5cdf405867fcf96341820ab
+Patch0:                %{name}-info.patch
+Patch1:                %{name}-opt.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
 features such as input completion and history and a powerful locals
 facility, and it even has (the beginnings of) a manual. Gforth employs
-traditional implementation techniques: its inner innerpreter is
-indirect or direct threaded.  Gforth is distributed under the GNU
-General Public license (see COPYING).
+traditional implementation techniques: its inner interpreter is
+indirect or direct threaded. Gforth is distributed under the GNU
+General Public License.
 
-%description -l pl
-Gforth jest szybk± i przenoszaln± implementacj± jêzyka ANS Forth.
-Dobrae wspólpracuje z edytorem Emacs oferuj±c takie cechy jak kompletowanie
-i historiê wprowadzania ci±gów znaków.
+%description -l pl.UTF-8
+Gforth jest szybką i przenośną implementacją języka ANS Forth. Dobrze
+współpracuje z edytorem Emacs, oferując takie cechy jak dopełnianie i
+historię wprowadzania ciągów znaków, ma także zaczątki podręcznika.
+Gforth wykorzystuje tradycyjne techniki implementacji: jego wewnętrzny
+interpreter jest pośrednio lub bezpośrednio wątkowany. Gforth jest
+rozpowszechniany na Powszechnej Licencji Publicznej GNU.
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+
+%{__rm} doc/*.info*
 
 %build
+%{__aclocal}
+%{__autoconf}
 %configure
 
-make
+%{__make} -j1
+
+%{__make} info
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr install
-strip $RPM_BUILD_ROOT%{_bindir}/*
-
-gzip -9nf $RPM_BUILD_ROOT%{_infodir}/gforth.info*
-
-%post
-/sbin/install-info %{_infodir}/gforth.info.gz /usr/info/dir \
---section "Programming:" --entry \
-"* Gforth: (gforth.info).                       The GNU ANS Forth."
 
-%preun
-/sbin/install-info --delete %{_infodir}/gforth.info.gz /usr/info/dir \
---section "Programming:" --entry \
-"* Gforth: (gforth.info).                       The GNU ANS Forth."
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gforth/%{version}/libcc-named/*.{la,a}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
-%attr(644,root,root,755)
-%doc README TAGS BUGS ToDo
-%attr(755,root,root) %{_bindir}/*
-%{_libdir}/gforth
-%{_infodir}/*info*
-%{_mandir}/man1/*
-%{_datadir}/gforth
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%changelog
-* Sun Nov 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.3.0-2]
-- added using $RPM_OPT_FLAGS during compile,
-- added %post, %preun with {un}registering info pages,
-- removed making htm and ps documentation (it can be generatred from
-  info pages by onyone in anytime).
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-* Wed Sep 23 1998 Wojciech "Sas" Ciêciwa <cieciwa@zarz.agh.edu.pl>
-  [0.3.0-1]
-- Building RPM.
+%files
+%defattr(644,root,root,755)
+%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}
+%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
+%{_includedir}/gforth
+%{_infodir}/gforth.info*
+%{_infodir}/vmgen.info*
+%{_mandir}/man1/gforth.1*
+%{_datadir}/gforth
This page took 0.034977 seconds and 4 git commands to generate.