fix pkgconfig and cmake files installation path [release 3.0.8-2mamba;Mon Jul 12 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 06:32:16 +01:00
parent 25641e8458
commit 89adbc7160

View File

@ -1,6 +1,6 @@
Name: luceneplusplus
Version: 3.0.8
Release: 1mamba
Release: 2mamba
Summary: An up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine
Group: System/Libraries
Vendor: openmamba
@ -65,6 +65,10 @@ This package contains libraries and header files for developing applications tha
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
# Fix pkgconfig and cmake install path
mv %{buildroot}%{_includedir}/pkgconfig %{buildroot}%{_libdir}/
mv %{buildroot}%{_includedir}/cmake %{buildroot}%{_libdir}/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -81,14 +85,17 @@ This package contains libraries and header files for developing applications tha
%defattr(-,root,root)
%dir %{_includedir}/lucene++
%{_includedir}/lucene++/*.h
%{_includedir}/pkgconfig/liblucene++-contrib.pc
%{_includedir}/pkgconfig/liblucene++.pc
%{_libdir}/liblucene++-contrib.so
%{_libdir}/liblucene++.so
%{_includedir}/cmake/liblucene++*.cmake
%{_libdir}/pkgconfig/liblucene++-contrib.pc
%{_libdir}/pkgconfig/liblucene++.pc
%{_libdir}/cmake/liblucene++*.cmake
%doc README.PACKAGE
%changelog
* Mon Jul 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.8-2mamba
- fix pkgconfig and cmake files installation path
* Sat May 15 2021 Automatic Build System <autodist@mambasoft.it> 3.0.8-1mamba
- automatic version update by autodist