mirror of
https://abf.rosa.ru/djam/i2pd.git
synced 2025-02-23 09:12:48 +00:00
update spec. add miniupnpc-devel deps, install prefix
This commit is contained in:
parent
08dd71885f
commit
2156c8ae67
1 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
Name: i2pd
|
Name: i2pd
|
||||||
Version: 2.12.0
|
Version: 2.12.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: I2P router
|
Summary: I2P router
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://bitbucket.org/orignal/i2pd/src
|
URL: https://bitbucket.org/orignal/i2pd/src
|
||||||
|
@ -12,7 +12,8 @@ BuildRequires: boost-devel
|
||||||
BuildRequires: cjdns
|
BuildRequires: cjdns
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
#BuildRequires: upnp-devel
|
BuildRequires: miniupnpc-devel
|
||||||
|
|
||||||
Requires(post): /sbin/chkconfig
|
Requires(post): /sbin/chkconfig
|
||||||
Requires(preun): /sbin/chkconfig, /sbin/service
|
Requires(preun): /sbin/chkconfig, /sbin/service
|
||||||
Requires(postun): /sbin/service
|
Requires(postun): /sbin/service
|
||||||
|
@ -33,13 +34,14 @@ to test and report problems, you should install the 'i2p' package instead.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cmake -DCMAKE_BUILD_TYPE="Release" \
|
cmake -DCMAKE_BUILD_TYPE="Release" \
|
||||||
|
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
||||||
-DWITH_BINARY=ON \
|
-DWITH_BINARY=ON \
|
||||||
-DWITH_LIBRARY=ON \
|
-DWITH_LIBRARY=ON \
|
||||||
-DWITH_AESNI=OFF \
|
-DWITH_AESNI=OFF \
|
||||||
-DWITH_PCH=ON \
|
-DWITH_PCH=ON \
|
||||||
-DWITH_MESHNET=ON \
|
-DWITH_MESHNET=ON \
|
||||||
-DWITH_UPNP=ON \
|
-DWITH_UPNP=ON \
|
||||||
./build
|
.
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
Loading…
Add table
Reference in a new issue