add pkg-config file [release 5.6.2-4mamba;Sat Apr 30 2016]
This commit is contained in:
parent
a80de4c136
commit
6679d1989c
@ -1,7 +1,7 @@
|
|||||||
%define realversion %(echo %version | tr -d .)
|
%define realversion %(echo %version | tr -d .)
|
||||||
Name: libcryptopp
|
Name: libcryptopp
|
||||||
Version: 5.6.2
|
Version: 5.6.2
|
||||||
Release: 3mamba
|
Release: 4mamba
|
||||||
Summary: Free C++ class library of cryptographic schemes
|
Summary: Free C++ class library of cryptographic schemes
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -75,6 +75,23 @@ find . -type f -exec dos2unix {} \;
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall LIBDIR=%{_lib}
|
%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
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -105,12 +122,16 @@ fi
|
|||||||
%{_libdir}/libcrypto++.a
|
%{_libdir}/libcrypto++.a
|
||||||
%{_libdir}/libcrypto++.la
|
%{_libdir}/libcrypto++.la
|
||||||
%{_libdir}/libcrypto++.so
|
%{_libdir}/libcrypto++.so
|
||||||
|
%{_libdir}/pkgconfig/cryptopp.pc
|
||||||
|
|
||||||
#%files tools
|
#%files tools
|
||||||
#%defattr(-,root,root,0755)
|
#%defattr(-,root,root,0755)
|
||||||
#%{_bindir}/cryptest
|
#%{_bindir}/cryptest
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.2-3mamba
|
||||||
- rebuilt with gcc 5.3.0
|
- rebuilt with gcc 5.3.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user