forked from pool/argon2
- ship libargon2.pc
OBS-URL: https://build.opensuse.org/package/show/security/argon2?expand=0&rev=8
This commit is contained in:
parent
e96d082061
commit
1ea687f932
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 18 14:01:09 UTC 2017 - meissner@suse.com
|
||||||
|
|
||||||
|
- ship libargon2.pc
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 23 22:32:49 UTC 2017 - adam@mizerski.pl
|
Thu Feb 23 22:32:49 UTC 2017 - adam@mizerski.pl
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ Group: Productivity/Networking/Security
|
|||||||
Url: https://github.com/P-H-C/phc-winner-argon2
|
Url: https://github.com/P-H-C/phc-winner-argon2
|
||||||
Source: https://github.com/P-H-C/phc-winner-argon2/archive/%{_version}.tar.gz#/phc-winner-argon2-%{_version}.tar.gz
|
Source: https://github.com/P-H-C/phc-winner-argon2/archive/%{_version}.tar.gz#/phc-winner-argon2-%{_version}.tar.gz
|
||||||
Patch1: optflags.patch
|
Patch1: optflags.patch
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: sed
|
BuildRequires: sed
|
||||||
ExclusiveArch: i686 x86_64
|
ExclusiveArch: i686 x86_64
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -83,6 +84,7 @@ mv %{buildroot}%{_libdir}/libargon2.so %{buildroot}%{_libdir}/libargon2.so.0
|
|||||||
ln -s %{_libdir}/libargon2.so.0 %{buildroot}%{_libdir}/libargon2.so
|
ln -s %{_libdir}/libargon2.so.0 %{buildroot}%{_libdir}/libargon2.so
|
||||||
|
|
||||||
install -D -m 644 man/argon2.1 %{buildroot}%{_mandir}/man1/argon2.1
|
install -D -m 644 man/argon2.1 %{buildroot}%{_mandir}/man1/argon2.1
|
||||||
|
install -D -m 644 libargon2.pc %{buildroot}/%{_libdir}/pkgconfig/libargon2.pc
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make CFLAGS="-pthread %{optflags} -Iinclude -Isrc" test
|
make CFLAGS="-pthread %{optflags} -Iinclude -Isrc" test
|
||||||
@ -108,5 +110,6 @@ make CFLAGS="-pthread %{optflags} -Iinclude -Isrc" test
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/argon2.h
|
%{_includedir}/argon2.h
|
||||||
%{_libdir}/libargon2.so
|
%{_libdir}/libargon2.so
|
||||||
|
%{_libdir}/pkgconfig/libargon2.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user