add pkg-config file [release 5.6.2-4mamba;Sat Apr 30 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 04:02:25 +01:00
parent a80de4c136
commit 6679d1989c

View File

@ -1,7 +1,7 @@
%define realversion %(echo %version | tr -d .)
Name: libcryptopp
Version: 5.6.2
Release: 3mamba
Release: 4mamba
Summary: Free C++ class library of cryptographic schemes
Group: System/Libraries
Vendor: openmamba
@ -75,6 +75,23 @@ find . -type f -exec dos2unix {} \;
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall LIBDIR=%{_lib}
install -d -m0755 %{buildroot}%{_libdir}/pkgconfig
cat > %{buildroot}%{_libdir}/pkgconfig/cryptopp.pc << _EOF
prefix=%{_prefix}
exec_prefix=%{_libexecdir}
libdir=%{_libdir}
Name: Crypto++
Description: A free C++ class library of cryptographic schemes
Version: 5.6.2
URL: http://www.cryptopp.com
Requires:
Conflicts:
Libs: -lcryptopp
Libs.private:
Cflags:
_EOF
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -105,12 +122,16 @@ fi
%{_libdir}/libcrypto++.a
%{_libdir}/libcrypto++.la
%{_libdir}/libcrypto++.so
%{_libdir}/pkgconfig/cryptopp.pc
#%files tools
#%defattr(-,root,root,0755)
#%{_bindir}/cryptest
%changelog
* Sat Apr 30 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.2-4mamba
- add pkg-config file
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.2-3mamba
- rebuilt with gcc 5.3.0