Change-Id: I8d640dfd72c72cf9a33e2a737cec987da7a5a447
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3101
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Xiaolin Li <xiaolinl@vmware.com>
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,42 @@ |
| 0 |
+Summary: Pretty stack trace printer for C++. |
|
| 1 |
+Name: backward-cpp |
|
| 2 |
+Version: 1.3 |
|
| 3 |
+Release: 1%{?dist}
|
|
| 4 |
+License: MIT |
|
| 5 |
+URL: https://github.com/bombela/backward-cpp |
|
| 6 |
+Source0: %{name}-v%{version}.tar.gz
|
|
| 7 |
+%define sha1 backward-cpp=c5e2672604bbe231bf489ce20369af095fe13fdf |
|
| 8 |
+Group: Development/Tools |
|
| 9 |
+Vendor: VMware, Inc. |
|
| 10 |
+Distribution: Photon |
|
| 11 |
+BuildRequires: automake |
|
| 12 |
+BuildRequires: autoconf |
|
| 13 |
+BuildRequires: cmake |
|
| 14 |
+BuildRequires: gcc |
|
| 15 |
+ |
|
| 16 |
+%description |
|
| 17 |
+Backward is a beautiful stack trace pretty printer for C++. |
|
| 18 |
+ |
|
| 19 |
+%prep |
|
| 20 |
+%setup -q |
|
| 21 |
+ |
|
| 22 |
+%build |
|
| 23 |
+mkdir -p build |
|
| 24 |
+cd build |
|
| 25 |
+cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DBUILD_SHARED_LIBS=ON ..
|
|
| 26 |
+make %{?_smp_mflags}
|
|
| 27 |
+ |
|
| 28 |
+%install |
|
| 29 |
+cd build |
|
| 30 |
+make DESTDIR=%{buildroot} install
|
|
| 31 |
+install -vm644 libbackward.so %{buildroot}%{_libdir}/
|
|
| 32 |
+ |
|
| 33 |
+%files |
|
| 34 |
+%defattr(-,root,root) |
|
| 35 |
+%{_includedir}/backward.hpp
|
|
| 36 |
+%{_libdir}/backward/BackwardConfig.cmake
|
|
| 37 |
+%{_libdir}/libbackward.so
|
|
| 38 |
+ |
|
| 39 |
+%changelog |
|
| 40 |
+* Tue Jun 13 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.3-1 |
|
| 41 |
+- Initial version of backward-cpp package for Photon. |
| 0 | 42 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,45 @@ |
| 0 |
+Summary: C based http parser for high performance applications. |
|
| 1 |
+Name: http-parser |
|
| 2 |
+Version: 2.7.1 |
|
| 3 |
+Release: 1%{?dist}
|
|
| 4 |
+License: MIT |
|
| 5 |
+URL: https://github.com/nodejs/http-parser |
|
| 6 |
+Source0: %{name}-v%{version}.tar.gz
|
|
| 7 |
+%define sha1 http-parser=e122b1178ec5c9920186cc8293aca9eca7584b12 |
|
| 8 |
+Group: Development/Tools |
|
| 9 |
+Vendor: VMware, Inc. |
|
| 10 |
+Distribution: Photon |
|
| 11 |
+BuildRequires: gcc |
|
| 12 |
+ |
|
| 13 |
+%description |
|
| 14 |
+This is a parser for HTTP messages written in C. It parses both requests and responses. The parser is designed to be used in performance HTTP applications. It does not make any syscalls nor allocations, it does not buffer data, it can be interrupted at anytime. |
|
| 15 |
+ |
|
| 16 |
+%package devel |
|
| 17 |
+Summary: http-parser devel |
|
| 18 |
+Group: Development/Tools |
|
| 19 |
+Requires: %{name} = %{version}
|
|
| 20 |
+%description devel |
|
| 21 |
+This contains development tools and libraries for http-parser. |
|
| 22 |
+ |
|
| 23 |
+%prep |
|
| 24 |
+%setup -q |
|
| 25 |
+sed -i 's/ln -s \$(LIBDIR)\/\$(SONAME) \$(LIBDIR)\/libhttp_parser.\$(SOEXT)/pushd \$(LIBDIR) \&\& ln -s \$(SONAME) libhttp_parser.\$(SOEXT) \&\& popd/g' Makefile |
|
| 26 |
+ |
|
| 27 |
+%build |
|
| 28 |
+make PREFIX=%{_prefix} %{?_smp_mflags}
|
|
| 29 |
+ |
|
| 30 |
+%install |
|
| 31 |
+make PREFIX="%{buildroot}%{_prefix}" DESTDIR="%{buildroot}" install
|
|
| 32 |
+ |
|
| 33 |
+%files |
|
| 34 |
+%defattr(-,root,root) |
|
| 35 |
+%{_libdir}/libhttp_parser.so.*
|
|
| 36 |
+ |
|
| 37 |
+%files devel |
|
| 38 |
+%defattr(-,root,root) |
|
| 39 |
+%{_includedir}/http_parser.h
|
|
| 40 |
+%{_libdir}/libhttp_parser.so
|
|
| 41 |
+ |
|
| 42 |
+%changelog |
|
| 43 |
+* Fri Jun 09 2017 Vinay Kulkarni <kulkarniv@vmware.com> 2.7.1-1 |
|
| 44 |
+- Initial version of http-parser package for Photon. |
| 0 | 45 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,40 @@ |
| 0 |
+Summary: Very fast, header only, C++ logging library. |
|
| 1 |
+Name: spdlog |
|
| 2 |
+Version: 0.13.0 |
|
| 3 |
+Release: 1%{?dist}
|
|
| 4 |
+License: MIT |
|
| 5 |
+URL: https://github.com/gabime/spdlog |
|
| 6 |
+Source0: %{name}-v%{version}.tar.gz
|
|
| 7 |
+%define sha1 spdlog=e9968ab555f9f7bb86d6257e98d7a92313a91297 |
|
| 8 |
+Group: Development/Tools |
|
| 9 |
+Vendor: VMware, Inc. |
|
| 10 |
+Distribution: Photon |
|
| 11 |
+BuildRequires: automake |
|
| 12 |
+BuildRequires: cmake |
|
| 13 |
+BuildRequires: gcc |
|
| 14 |
+ |
|
| 15 |
+%description |
|
| 16 |
+Very fast, header only, C++ logging library. |
|
| 17 |
+ |
|
| 18 |
+%prep |
|
| 19 |
+%setup -q |
|
| 20 |
+ |
|
| 21 |
+%build |
|
| 22 |
+mkdir -p build |
|
| 23 |
+cd build |
|
| 24 |
+cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DBUILD_SHARED_LIBS=ON ..
|
|
| 25 |
+make %{?_smp_mflags}
|
|
| 26 |
+ |
|
| 27 |
+%install |
|
| 28 |
+cd build |
|
| 29 |
+make DESTDIR=%{buildroot} install
|
|
| 30 |
+ |
|
| 31 |
+%files |
|
| 32 |
+%defattr(-,root,root) |
|
| 33 |
+%{_includedir}/%{name}/*
|
|
| 34 |
+%{_libdir}/cmake/%{name}/*.cmake
|
|
| 35 |
+%{_libdir}/pkgconfig/spdlog.pc
|
|
| 36 |
+ |
|
| 37 |
+%changelog |
|
| 38 |
+* Fri Jun 09 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.13.0-1 |
|
| 39 |
+- Initial version of spdlog package for Photon. |