pkgconfig-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: A tool for determining compilation options.
  3. Summary(ja): コンパイルオプションを決定するためのツール
  4. Name: pkgconfig
  5. Version: 0.23
  6. Release: 5%{?_dist_release}
  7. Epoch: 1
  8. License: GPL
  9. Group: Development/Tools
  10. Source: http://pkgconfig.freedesktop.org/releases/pkg-config-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. %description
  13. The pkgconfig tool determines compilation options. For each required
  14. library, it reads the configuration file and outputs the necessary
  15. compiler and linker flags.
  16. %description -l ja
  17. pkgconfigは、コンパイルオプションを決定するツールです。それぞれ必
  18. 要なライブラリ向けにその設定ファイルを読み込み、必要なコンパイラ
  19. フラグとリンカフラグを出力します。
  20. ## to build compat32 for x86_64 architecture support
  21. %package -n compat32-%{name}
  22. Summary: A tool for determining compilation options.
  23. Group: Development/Tools
  24. %description -n compat32-%{name}
  25. The pkgconfig tool determines compilation options. For each required
  26. library, it reads the configuration file and outputs the necessary
  27. compiler and linker flags.
  28. %prep
  29. %setup -q -n pkg-config-%{version}
  30. %build
  31. %configure
  32. make
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. %makeinstall
  36. mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
  37. #strip $RPM_BUILD_ROOT%{_bindir}/*
  38. %if %{build_compat32}
  39. %__cp -a %{buildroot}%{_bindir}/pkg-config %{buildroot}%{_bindir}/pkg-config-32
  40. %endif
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %files
  44. %defattr(-,root,root)
  45. %doc AUTHORS COPYING ChangeLog NEWS README
  46. %{_bindir}/pkg-config
  47. %dir %{_libdir}/pkgconfig
  48. %{_datadir}/aclocal/*.m4
  49. %{_mandir}/*/*
  50. %if %{build_compat32}
  51. %files -n compat32-%{name}
  52. %defattr(-,root,root)
  53. %{_bindir}/pkg-config-32
  54. %dir %{_libdir}/pkgconfig
  55. %endif
  56. %changelog
  57. * Mon Jul 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1:0.23-5
  58. - rebuild to fix the package built with broken environment.
  59. * Sun Jul 05 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1:0.23-4
  60. - corrected to copy pkg-config to pkg-config-32 for %%if %%{build_compat32} case
  61. * Sun Jul 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1:0.23-3
  62. - removed %%if !%%{build_compat32} case condition
  63. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1:0.23-2
  64. - spec in utf-8
  65. * Fri May 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.23-1
  66. - applied new versioning policy
  67. * Wed Mar 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.23-0vl1
  68. - new upstream release
  69. * Sun Aug 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.22-0vl1
  70. - new upstream release
  71. * Fri Aug 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1:0.20-0vl3
  72. - fix compat32 package
  73. - rename %%{_bindir}/pkg-config to %%{_bindir}/pkg-config-32
  74. - add %%{_bindir}/pkg-config-32
  75. - not srtip at %%install, it should be done by %__install_spec_post
  76. * Tue Feb 28 2006 Shu KONNO <owa@bg.wakwak.com>
  77. - added compat32-* packages for x86_64 architecture support
  78. * Wed Nov 16 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.20-0vl1
  79. - new upstream release
  80. * Wed Aug 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.19-0vl1
  81. - new upstream release
  82. * Sun Apr 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:0.17.2-0vl1
  83. - new upstream release
  84. - added Japanese description (from vinedocs.sourceforge.jp)
  85. * Thu Jun 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1:0.15.0-0vl2
  86. - add Epoch: 1 to be able to upgrade from VinePlus package.
  87. * Thu Jan 23 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.0-0vl1
  88. - new upstream release
  89. * Thu Dec 12 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.14.0-1vl1
  90. - rebuild for Vine Linux
  91. * Fri Nov 8 2002 Havoc Pennington <hp@redhat.com>
  92. - 0.14
  93. * Tue Oct 8 2002 Havoc Pennington <hp@redhat.com>
  94. - use libdir, so we do move .pc files to /usr/lib64
  95. * Tue Oct 8 2002 Havoc Pennington <hp@redhat.com>
  96. - use prefix/lib not libdir, so we don't move .pc files to /usr/lib64
  97. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  98. - automated rebuild
  99. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  100. - automated rebuild
  101. * Thu Mar 7 2002 Havoc Pennington <hp@redhat.com>
  102. - 0.12.0
  103. * Thu Feb 7 2002 Havoc Pennington <hp@redhat.com>
  104. - 0.11.0
  105. * Sun Feb 3 2002 Havoc Pennington <hp@redhat.com>
  106. - backbuild in gnomehide
  107. * Sun Feb 3 2002 Havoc Pennington <hp@redhat.com>
  108. - 0.10.0
  109. * Sun Feb 3 2002 Havoc Pennington <hp@redhat.com>
  110. - 0.9.0
  111. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  112. - automated rebuild
  113. * Wed Jun 13 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  114. - call libtoolize to make porting to new archs easier
  115. * Thu Jun 07 2001 Havoc Pennington <hp@redhat.com>
  116. - put pkg.m4 in file list
  117. * Wed Jun 06 2001 Havoc Pennington <hp@redhat.com>
  118. - Upgrade to 0.7
  119. - add man page
  120. * Wed Jan 03 2001 Havoc Pennington <hp@redhat.com>
  121. - Upgrade to 0.5
  122. * Thu Dec 14 2000 Bill Nottingham <notting@redhat.com>
  123. - rebuild because of broken fileutils
  124. * Wed Oct 04 2000 Owen Taylor <otaylor@redhat.com>
  125. - Initial package