--- freeradius.spec.orig 2004-05-14 20:25:43 +0300 +++ freeradius.spec 2004-09-08 16:56:57 +0300 @@ -103,14 +103,14 @@ sqlcounter is module for counting all sessions of users and disabling account if total time of all sessions is greater than limit. -#%package -n freenibs-%nibs_version -#Summary: NIBS is Neon Internet Billing System -#Group: System/Servers -#Provides: %name-freenibs billing nibs -#Requires: %name-sql +%package -n freenibs-%nibs_version +Summary: NIBS is Neon Internet Billing System +Group: System/Servers +Provides: %name-freenibs billing nibs +Requires: %name-sql -#%description -n freenibs-%nibs_version -#FreeNIBS is billing and accounting system for FreeRADIUS +%description -n freenibs-%nibs_version +FreeNIBS is billing and accounting system for FreeRADIUS %prep %setup -q -n %name-%version @@ -118,9 +118,9 @@ %patch2 -p1 #%setup -q -n %SOURCE5 -#%__tar -jxf %SOURCE5 -#%__cp -r freenibs-0.0.3-release_freeradius-0.9.1/src/modules/rlm_nibs src/modules -#echo "rlm_nibs" >> src/modules/stable +%__tar -jxf %SOURCE5 +%__cp -r freenibs-0.0.3-release_freeradius-0.9.3/src/modules/rlm_nibs src/modules +echo "rlm_nibs" >> src/modules/stable #%patch -p1 %build @@ -163,10 +163,10 @@ install -d -p -m0755 %buildroot%_docdir/%name-%version/rfc rm -rf doc/00-OLD cp -R doc %buildroot%_docdir/%name-%version -#mkdir freenibs_doc -#cp -R src/modules/rlm_nibs/doc freenibs_docs -#cp -R src/modules/rlm_nibs/utils freenibs_docs -#cp -R freenibs-0.0.3-release_freeradius-0.9.1/raddb freenibs_docs +mkdir freenibs_doc +cp -R src/modules/rlm_nibs/doc freenibs_docs +cp -R src/modules/rlm_nibs/utils freenibs_docs +cp -R freenibs-0.0.3-release_freeradius-0.9.3/raddb freenibs_docs %pre /usr/sbin/groupadd -r -f radius @@ -246,9 +246,9 @@ %files sqlcounter %_libdir/%name/rlm_sqlcounter*.so -#%files -n freenibs-%nibs_version -#%doc freenibs_docs/* -#%_libdir/%name/rlm_nibs*.so +%files -n freenibs-%nibs_version +%doc freenibs_docs/* +%_libdir/%name/rlm_nibs*.so %changelog * Fri May 14 2004 Dmitry V. Levin 0.9.3-alt4