fpc-docs.spec 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Name: fpc-docs
  2. Version: 1.0.4
  3. Release: 1
  4. Copyright: GPL
  5. Group: Development/Languages
  6. Source: fpc-docs-1.0.4-src.tar.gz
  7. Summary: Free Pascal Compiler Documentation
  8. Packager: Peter Vreman ([email protected])
  9. URL: http://www.freepascal.org/
  10. BuildRoot: /tmp/fpc-docs-build
  11. %define fpcversion 1.0.4
  12. %define fpcdir /usr/lib/fpc/%{fpcversion}
  13. %define docdir /usr/doc/fpc-%{fpcversion}
  14. %define builddocdir %{buildroot}%{docdir}
  15. %description
  16. The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32bit
  17. Pascal Compiler. It comes with fully TP 7.0 compatible run-time library.
  18. Some extensions are added to the language, like function overloading. Shared
  19. libraries can be linked and created. Basic Delphi support is already
  20. implemented (classes,exceptions,ansistrings).
  21. This package contains the documentation in PDF format
  22. %prep
  23. %setup -c
  24. %build
  25. make -C docs pdf
  26. %install
  27. rm -rf %{buildroot}
  28. make -C docs pdfinstall DOCINSTALLDIR=%{builddocdir}
  29. %clean
  30. make -C docs clean
  31. rm -rf %{buildroot}
  32. %files
  33. /usr