diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2022-01-24 13:29:47 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2022-01-24 13:30:29 +0900 |
commit | 848ca68802c813f846f2aadea3be6cd934e3edb4 (patch) | |
tree | 0eff0937e054e359613208410ec9cf6f118b6d95 | |
parent | 07afa81fd8e671737c2dc2f59c6dc3b89786d4e6 (diff) | |
download | pkg-config-848ca68802c813f846f2aadea3be6cd934e3edb4.tar.gz pkg-config-848ca68802c813f846f2aadea3be6cd934e3edb4.tar.bz2 pkg-config-848ca68802c813f846f2aadea3be6cd934e3edb4.zip |
Bump to pkg-config 0.29.2tizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen_base/20220302.072438submit/tizen_base/20220302.071146submit/tizen_base/20220225.000918submit/tizen_base/20220224.235902submit/tizen_base/20220223.054316submit/tizen_base/20220218.061747submit/tizen_base/20220214.044457submit/tizen_base/20220206.231727submit/tizen_base/20220124.224418submit/tizen_7.0_base_hotfix/20221115.161601submit/tizen_7.0_base/20221028.201101accepted/tizen/base/tool/20220302.074001accepted/tizen/base/20230714.003452accepted/tizen/8.0/base/20231005.045050accepted/tizen/7.0/base/tool/hotfix/20221115.090124accepted/tizen/7.0/base/tool/20221028.121553accepted/tizen/7.0/base/hotfix/20230714.003854accepted/tizen/7.0/base/20230714.003043tizen_7.0_base_hotfixtizen_7.0_basesandbox/dh0128.kwak/pkg-config-0.29.2-20220124accepted/tizen_base_toolaccepted/tizen_7.0_base_tool_hotfixaccepted/tizen_7.0_base_toolaccepted/tizen_7.0_base_hotfixaccepted/tizen_7.0_base
Change-Id: I1e3e5d598076bfc31f1038a0eb83dd37677e95a3
-rw-r--r-- | packaging/pkg-config.manifest | 5 | ||||
-rw-r--r-- | packaging/pkg-config.spec | 48 |
2 files changed, 53 insertions, 0 deletions
diff --git a/packaging/pkg-config.manifest b/packaging/pkg-config.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/pkg-config.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/pkg-config.spec b/packaging/pkg-config.spec new file mode 100644 index 0000000..e4903a8 --- /dev/null +++ b/packaging/pkg-config.spec @@ -0,0 +1,48 @@ +Name: pkg-config +Version: 0.29.2 +Release: 0 +Summary: A library management system +License: GPL-2.0+ +Group: Base/Tools +Url: http://pkgconfig.freedesktop.org/ +Source: http://pkgconfig.freedesktop.org/releases/%{name}-%{version}.tar.gz +Source1001: pkg-config.manifest +Provides: pkgconfig = %{version} + +# pkg-config has a virtual internal pkg-config.pc file, so we should provide it +Provides: pkgconfig(pkg-config) = %{version} + +%description +The pkg-config program is used to retrieve information about installed +libraries in the system. It is typically used to compile and link +against one or more libraries. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +CFLAGS+=" -fPIE" +LDFLAGS+=" -pie" +%reconfigure\ + --with-internal-glib \ +%if "%{_lib}" == "lib" + --with-pc_path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:%{_libdir}/pkgconfig:%{_datadir}/pkgconfig:/opt/kde3/%{_lib}/pkgconfig +%else + --with-pc_path=/usr/local/%{_lib}/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:%{_libdir}/pkgconfig:%{_datadir}/pkgconfig:/opt/kde3/%{_lib}/pkgconfig +%endif +make %{?_smp_mflags} + +%install +%make_install +rm %{buildroot}%{_datadir}/doc/pkg-config/pkg-config-guide.html +%remove_docs + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%license COPYING +%{_bindir}/pkg-config +%{_bindir}/*-pkg-config +%dir %{_datadir}/aclocal +%{_datadir}/aclocal/pkg.m4 |