pkgconfig: provide lua5.2.pc as well as lua.pc [release 5.2.4-2mamba;Wed Nov 11 2015]
This commit is contained in:
parent
aafd6e6d5e
commit
71ee43b0cb
10
lua.spec
10
lua.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: lua
|
Name: lua
|
||||||
Version: 5.2.4
|
Version: 5.2.4
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A powerful light-weight and embeddable programming language
|
Summary: A powerful light-weight and embeddable programming language
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -108,7 +108,9 @@ Version: 5.2.4
|
|||||||
Requires:
|
Requires:
|
||||||
Libs: -L%{_libdir} -llua -lm -lreadline
|
Libs: -L%{_libdir} -llua -lm -lreadline
|
||||||
Cflags: -I%{_includedir}/lua%{libmajver}" > \
|
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
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
@ -137,9 +139,13 @@ Cflags: -I%{_includedir}/lua%{libmajver}" > \
|
|||||||
%{_libdir}/liblua.a
|
%{_libdir}/liblua.a
|
||||||
%{_libdir}/liblua.so
|
%{_libdir}/liblua.so
|
||||||
%{_libdir}/pkgconfig/lua.pc
|
%{_libdir}/pkgconfig/lua.pc
|
||||||
|
%{_libdir}/pkgconfig/lua%{libmajver}.pc
|
||||||
%doc README doc/*.html doc/*.css doc/*.gif doc/*.png
|
%doc README doc/*.html doc/*.css doc/*.gif doc/*.png
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Mar 21 2015 Automatic Build System <autodist@mambasoft.it> 5.2.4-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user