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