From 2156c8ae67e7f0d3e6601866459375e677339b77 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoitel Date: Mon, 20 Feb 2017 15:52:19 +0300 Subject: [PATCH] update spec. add miniupnpc-devel deps, install prefix --- i2pd.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/i2pd.spec b/i2pd.spec index 9246ebc..7b41a0a 100644 --- a/i2pd.spec +++ b/i2pd.spec @@ -1,6 +1,6 @@ Name: i2pd Version: 2.12.0 -Release: 1 +Release: 2 Summary: I2P router License: BSD URL: https://bitbucket.org/orignal/i2pd/src @@ -12,7 +12,8 @@ BuildRequires: boost-devel BuildRequires: cjdns BuildRequires: systemd BuildRequires: cmake -#BuildRequires: upnp-devel +BuildRequires: miniupnpc-devel + Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig, /sbin/service Requires(postun): /sbin/service @@ -33,13 +34,14 @@ to test and report problems, you should install the 'i2p' package instead. %build cmake -DCMAKE_BUILD_TYPE="Release" \ + -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DWITH_BINARY=ON \ -DWITH_LIBRARY=ON \ -DWITH_AESNI=OFF \ -DWITH_PCH=ON \ -DWITH_MESHNET=ON \ -DWITH_UPNP=ON \ - ./build + . %make %install