automake.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. ##
  2. ## automake.spec -- OpenPKG RPM Specification
  3. ## Copyright (c) 2000-2001 Cable & Wireless Deutschland GmbH
  4. ## Copyright (c) 2000-2001 Ralf S. Engelschall <rse@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. %define V_real 1.5
  25. %define V_here 1.5
  26. # package information
  27. Name: automake
  28. Summary: Automatic Makefile Generation Tools
  29. Group: Development
  30. URL: http://sources.redhat.com/automake/
  31. Vendor: Free Software Foundation
  32. Packager: rse@openpkg.org
  33. Distribution: OpenPKG
  34. License: GPL
  35. Version: %{V_here}
  36. Release: 1
  37. # list of sources
  38. #Source0: ftp://sourceware.cygnus.com/pub/automake/automake-%{V_real}.tar.gz
  39. Source0: ftp://ftp.gnu.org/gnu/automake/automake-%{V_real}.tar.gz
  40. # build information
  41. Prefix: %{l_prefix}
  42. BuildRoot: %{l_buildroot}
  43. BuildPreReq: OpenPKG, openpkg >= 0.9-30, perl
  44. PreReq: OpenPKG, openpkg >= 0.9-30, perl
  45. AutoReq: no
  46. AutoReqProv: no
  47. %description
  48. Automake is a tool for automatically generating Makefiles compliant
  49. with the GNU Coding Standards.
  50. %prep
  51. %setup -q -n automake-%{V_real}
  52. %build
  53. PATH="%{l_prefix}/bin:$PATH"; export PATH
  54. CC="%{l_cc}" \
  55. CFLAGS="%{l_cflags -O}" \
  56. ./configure \
  57. --prefix=%{l_prefix}
  58. %{l_make} %{l_mflags}
  59. %install
  60. rm -rf $RPM_BUILD_ROOT
  61. %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
  62. rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
  63. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  64. %files -f files
  65. %clean
  66. rm -rf $RPM_BUILD_ROOT