Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:SLE_12
libyajl
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package libyajl
--- libyajl.spec.orig +++ libyajl.spec @@ -62,6 +62,7 @@ BuildRequires: gcc-c++ BuildRequires: glibc-devel BuildRequires: libstdc++-devel BuildRequires: make +BuildRequires: pkgconfig %description YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a @@ -138,19 +139,29 @@ cmake \ .. %__make %{?_smp_flags} -popd +popd %install pushd build %makeinstall -popd +popd install -d -m 0755 $RPM_BUILD_ROOT%{_mandir}/man1 install -m644 %SOURCE2 %SOURCE3 $RPM_BUILD_ROOT/%{_mandir}/man1 -%check -cd test -./run_tests.sh +mkdir -vp %{buildroot}%{_libdir}/pkgconfig +tee %{buildroot}%{_libdir}/pkgconfig/yajl.pc <<_EOF_ +prefix=%{_prefix} +libdir=${_libdir} +includedir=${_includedir}/yajl + +Name: Yet Another JSON Library +Description: A Portable JSON parsing and serialization library in ANSI C +Version: 2.0.3 +Cflags: -I${includedir} +Libs: -L${libdir} -lyajl +_EOF_ + %post -n %{name}%{soname} -p /sbin/ldconfig %postun -n %{name}%{soname} -p /sbin/ldconfig @@ -165,6 +176,7 @@ cd test %defattr(-,root,root) %{_includedir}/yajl %{_libdir}/libyajl.so +%{_libdir}/pkgconfig %files -n %{name}-devel-static %defattr(-,root,root)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor