diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-02-17 11:38:30 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-02-17 11:38:30 +0900 |
commit | 765ac78dd31fbacc24b207b52bfa4b26c8fb36ae (patch) | |
tree | 0b4cb64f72bd6eba3eda052bc230e62f1581fa6e | |
parent | 1585c565595f64b312716f9e0ae248e9c538500d (diff) | |
download | boost-accepted/tizen/wearable/20160217.080315.tar.gz boost-accepted/tizen/wearable/20160217.080315.tar.bz2 boost-accepted/tizen/wearable/20160217.080315.zip |
Add boost.pc filesubmit/tizen_common/20160218.142243submit/tizen/20160217.032316accepted/tizen/wearable/20160217.080315accepted/tizen/tv/20160217.080258accepted/tizen/mobile/20160217.080241
Change-Id: I91465b117d1b3db8c4a0e5652d322e5bcb4bd4f8
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r-- | packaging/boost.pc | 11 | ||||
-rw-r--r-- | packaging/boost.spec | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/packaging/boost.pc b/packaging/boost.pc new file mode 100644 index 0000000000..d71a28285d --- /dev/null +++ b/packaging/boost.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=/usr +libdir=/usr/lib +includedir=/usr/include/boost + +Name: Boost +Description: Boost C++ libraries (@TEST_LIBRARY@) +Version: @BOOST_VERSION@ +Libs: -L${libdir} -lboost_chrono -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_prg_exec_monitor -lboost_program_options -lboost_random -lboost_regex -lboost_serialization -lboost_system -lboost_thread -lboost_unit_test_framework -lboost_wserialization +Cflags: -I/usr/include/boost + diff --git a/packaging/boost.spec b/packaging/boost.spec index e0aad2c39a..84d6441488 100644 --- a/packaging/boost.spec +++ b/packaging/boost.spec @@ -69,6 +69,7 @@ Source0: %{name}_%{file_version}.tar.bz2 Source1: boost-rpmlintrc Source4: existing_extra_docs Source1001: boost.manifest +Source1002: boost.pc %define _docdir %{_datadir}/doc/packages/boost-%{version} @@ -353,6 +354,7 @@ This package contains the Boost::Timer runtime library. %prep %setup -q -n %{name}_%{file_version} cp %{SOURCE1001} . +cp %{SOURCE1002} . #everything in the tarball has the executable flag set ... find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} + @@ -470,6 +472,10 @@ for lib in ${blibs}; do done popd +# install pkgconfig file +mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig +install -D -m 644 %{SOURCE1002} $RPM_BUILD_ROOT%{_libdir}/pkgconfig + # install the man pages # rm -rf doc/man/man3/boost::units::operator # mv doc/man/man3/path.3 doc/man/man3/boost::property_tree::path.3 @@ -713,6 +719,7 @@ rm -f %{buildroot}%{_libdir}/*.a %defattr(-, root, root, -) %{_includedir}/boost %{_libdir}/*.so +%{_libdir}/pkgconfig/boost.pc #%%{_datadir}/aclocal/*.m4 %files doc-html |