Summary: Configuration Versioning system Name: cfvers Version: 0.5.4 Release: 1 License: GPL Group: Applications/System Source: cfvers-0.5.4.tar.gz BuildArch: noarch BuildRoot: /var/tmp/%{name}-buildroot URL: http://www.nongnu.org/cfvers/ Vendor: Iustin Pop %description cfvers is a versioning system for configuration files. It is similar to cvs and subversion, but different in its orientation toward system configuration files (think /etc), dealing with all file types and attributes. %prep %setup %build %configure make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr "$RPM_BUILD_ROOT" make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.pyo' -o -name '*.pyc'|xargs rm %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr "$RPM_BUILD_ROOT" %files %defattr(-, root, root) %{_bindir}/cfv %{_bindir}/cfvadmin %{_sbindir}/cfversd %dir %{_libdir}/python2.3/site-packages/cfvers %dir %{_libdir}/python2.3/site-packages/cfvers/repository %{_libdir}/python2.3/site-packages/cfvers/*.py %{_libdir}/python2.3/site-packages/cfvers/repository/*.py %{_mandir}/man1/* %{_mandir}/man5/* %doc README NOTES INSTALL ChangeLog BUGS %defattr(-, root, root) %doc doc/manual.html %doc doc/examples %post if [ $1 -eq 1 ]; then python2.3 /usr/lib/python2.3/compileall.py -q /usr/lib/python2.3/site-packages/cfvers fi %preun if [ $1 -eq 0 ]; then find /usr/lib/python2.3/site-packages/cfvers -name '*.pyc' -o -name '*.pyo'|xargs rm fi