%global _localstatedir %_var
%global fullver 0.30.216-pre2883
+%global modulever 0.30.216
%global ver %( echo %fullver | sed 's/-.*//' )
%global subver %( s=`echo %fullver | grep -- - | sed 's/.*-/./'`; echo ${s:-.1} )
# for module-tools
-%global module_version_varname fullver
-%global taglevel 0
+%global module_version_varname modulever
+%global taglevel 1
%{!?release_func:%global release_func() %1%{?dist}}
%{!?_without_beecrypt:BuildRequires: beecrypt-devel}
%{?_without_beecrypt:BuildRequires: nss-devel}
BuildRequires: e2fsprogs
-#%%{!?_without_doc:BuildRequires: doxygen tetex-latex}
+%{!?_without_doc:BuildRequires: doxygen tetex-latex}
%{!?_without_python:BuildRequires: python python-devel ctags}
Requires(post): %name-core
Requires(pre): %pkglibdir
%prep
%setup -q -n %name-%fullver
%patch1 -p0
+autoreconf -fi
%build
%configure --with-initrddir=%_initrddir --enable-release \
%{?_without_python:--without-python}
%__make %{?_smp_mflags} all
-#%%{!?_without_doc:%__make %{?_smp_mflags} doc}
+%{!?_without_doc:%__make %{?_smp_mflags} doc}
%install
%files devel -f %name-devel.list
%defattr(-,root,root,-)
-#%%{!?_without_doc:%doc lib/apidoc/latex/refman.pdf}
-#%%{!?_without_doc:%doc lib/apidoc/html}
+%{!?_without_doc:%doc lib/apidoc/latex/refman.pdf}
+%{!?_without_doc:%doc lib/apidoc/html}
%files python
%changelog
+* Tue May 11 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - util-vserver-0.30.216-1
+
* Mon Jun 25 2007 Daniel Hokka Zakrisson <daniel@hozac.com> - 0.30.214-0
- updated URLs
- get rid of e2fsprogs requirement