docutils.spec 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. ##
  2. ## docutils.spec -- OpenPKG RPM Package Specification
  3. ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
  4. ## Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
  5. ##
  6. ## Permission to use, copy, modify, and distribute this software for
  7. ## any purpose with or without fee is hereby granted, provided that
  8. ## the above copyright notice and this permission notice appear in all
  9. ## copies.
  10. ##
  11. ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  12. ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  13. ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  14. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  15. ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  16. ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  17. ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  18. ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  19. ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  20. ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  21. ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  22. ## SUCH DAMAGE.
  23. ##
  24. # package information
  25. Name: docutils
  26. Summary: Toolset for Plain-Text to HTML/LaTeX Translation
  27. URL: http://docutils.sourceforge.net/
  28. Vendor: David Goodger et al.
  29. Packager: OpenPKG
  30. Distribution: OpenPKG
  31. Class: JUNK
  32. Group: Text
  33. License: PD with exceptions
  34. Version: 0.4
  35. Release: 20060110
  36. # list of sources
  37. Source0: http://osdn.dl.sourceforge.net/sourceforge/docutils/docutils-%{version}.tar.gz
  38. # build information
  39. Prefix: %{l_prefix}
  40. BuildRoot: %{l_buildroot}
  41. BuildPreReq: OpenPKG, openpkg >= 20040130, python
  42. PreReq: OpenPKG, openpkg >= 20040130, python
  43. AutoReq: no
  44. AutoReqProv: no
  45. %description
  46. The purpose of the Docutils project is to create a set of tools for
  47. processing plaintext documentation into useful formats, such as
  48. HTML, XML, and LaTeX. Includes reStructuredText, the easy to read,
  49. easy to use, what-you-see-is-what-you-get plaintext markup language
  50. %track
  51. prog docutils = {
  52. version = %{version}
  53. url = http://prdownloads.sourceforge.net/docutils/
  54. regex = docutils-(__VER__)\.tar\.gz
  55. }
  56. %prep
  57. %setup -q
  58. %build
  59. :
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. %{l_prefix}/bin/python setup.py install \
  63. --root=$RPM_BUILD_ROOT
  64. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  65. %files -f files
  66. %clean
  67. rm -rf $RPM_BUILD_ROOT