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