pkgconfig-vl.spec 5.8 KB

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