pkgconfig: provide lua5.2.pc as well as lua.pc [release 5.2.4-2mamba;Wed Nov 11 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 06:31:23 +01:00
parent aafd6e6d5e
commit 71ee43b0cb

View File

@ -3,7 +3,7 @@
Name: lua
Version: 5.2.4
Release: 1mamba
Release: 2mamba
Summary: A powerful light-weight and embeddable programming language
Group: Applications/Development
Vendor: openmamba
@ -108,7 +108,9 @@ Version: 5.2.4
Requires:
Libs: -L%{_libdir} -llua -lm -lreadline
Cflags: -I%{_includedir}/lua%{libmajver}" > \
%{buildroot}%{_libdir}/pkgconfig/lua.pc
%{buildroot}%{_libdir}/pkgconfig/lua%{libmajver}.pc
ln -s lua%{libmajver}.pc %{buildroot}%{_libdir}/pkgconfig/lua.pc
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -137,9 +139,13 @@ Cflags: -I%{_includedir}/lua%{libmajver}" > \
%{_libdir}/liblua.a
%{_libdir}/liblua.so
%{_libdir}/pkgconfig/lua.pc
%{_libdir}/pkgconfig/lua%{libmajver}.pc
%doc README doc/*.html doc/*.css doc/*.gif doc/*.png
%changelog
* Wed Nov 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.4-2mamba
- pkgconfig: provide lua5.2.pc as well as lua.pc
* Sat Mar 21 2015 Automatic Build System <autodist@mambasoft.it> 5.2.4-1mamba
- automatic version update by autodist