diff --git a/bgrive/CMakeLists.txt b/bgrive/CMakeLists.txt index 074ab383..5190e91a 100644 --- a/bgrive/CMakeLists.txt +++ b/bgrive/CMakeLists.txt @@ -40,4 +40,5 @@ set_target_properties( bgrive_executable ) install(TARGETS bgrive_executable RUNTIME DESTINATION bin) -install(FILES doc/grive.1 DESTINATION share/man/man1 ) +# The man package is missing. +#install(FILES doc/grive.1 DESTINATION share/man/man1 )diff --git a/package/fedora16/grive.spec b/package/fedora16/grive.spec diff --git a/cmake/Modules/FindJSONC.cmake b/cmake/Modules/FindJSONC.cmake index f72e8ea1..ed6f0f09 100644 --- a/cmake/Modules/FindJSONC.cmake +++ b/cmake/Modules/FindJSONC.cmake @@ -7,7 +7,7 @@ # JSONC_LIBRARY - The JSON-C library to link against. FIND_PATH(JSONC_INCLUDE_DIR json/json.h) -FIND_LIBRARY(JSONC_LIBRARY NAMES json) +FIND_LIBRARY(JSONC_LIBRARY NAMES json-c json) IF (JSONC_INCLUDE_DIR AND JSONC_LIBRARY) SET(JSONC_FOUND TRUE) diff --git a/package/fedora16/grive.spec b/package/fedora16/grive.spec index 03770b9d..556cdc80 100644 --- a/package/fedora16/grive.spec +++ b/package/fedora16/grive.spec @@ -36,6 +36,7 @@ BuildRequires: expat-devel BuildRequires: openssl-devel BuildRequires: boost-devel BuildRequires: binutils-devel +BuildRequires: yajl-devel %description The purpose of this project is to provide an independent implementation @@ -63,19 +64,24 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -%post -p /sbin/ldconfig +# As long as no dynamic libs are build omit ldconfig and the glob for them. +#%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +#%postun -p /sbin/ldconfig %files -%doc COPYING README +%doc COPYING README %{_bindir}/%{name} -%{_libdir}/libgrive.so.* +%{_bindir}/b%{name} +%{_mandir}/man1/%{name}.1.gz -%files devel -%{_includedir}/%{name}* -%{_libdir}/libgrive.so +#%{_libdir}/libgrive.so.* + +# Files are not installed by cmake currently. +#%files devel +#%{_includedir}/%{name}* +#%{_libdir}/libgrive.so