pkgconfig-vl.spec 6.0 KB

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