diff --git a/.cvsignore b/.cvsignore index e69de29..130c0be 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +fsvs-1.1.13.tar.bz2 diff --git a/fsvs.spec b/fsvs.spec new file mode 100644 index 0000000..6514bac --- /dev/null +++ b/fsvs.spec @@ -0,0 +1,118 @@ +Name: fsvs +Version: 1.1.13 +Release: 4%{?dist} +Summary: Fast System VerSioning versioning for file trees using subversion +Group: Development/Tools +License: GPLv3 +URL: http://fsvs.tigris.org/ +Source0: http://www.tigris.org/files/documents/3133/41642/fsvs-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: apr-devel +BuildRequires: apr-util-devel +BuildRequires: pcre-devel +BuildRequires: subversion-devel +BuildRequires: gdbm-devel +BuildRequires: ctags + +%description +FSVS is the abbreviation for “Fast System VerSioning”. + +It is a complete backup/restore/versioning tool for all files +in a directory tree or whole filesystems, with a subversion +repository as the backend. +You may think of it as some kind of tar or rsync with versioned storage. + +It uses a different system for storing local version information +that doesn't clutter directories like /etc like .svn directories +in standard subversion would + +A nice capability is to cope with local adjustments for different +machines (using branching-like techniques), so that most of the +space needed for the backup of system-files (/bin, /usr, ...) +can be shared between machines. + + +%prep +%setup -q + + +%build +export CFLAGS="$RPM_OPT_FLAGS" +%configure --with-aprinc=/usr/include/apr-1/ +cd src +make %{?_smp_mflags} +cd .. + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_bindir} +cp -p src/fsvs $RPM_BUILD_ROOT%{_bindir} +mkdir -p $RPM_BUILD_ROOT/%{_docdir}/fsvs-%{version}/ +cp -p CHANGES README LICENSE $RPM_BUILD_ROOT/%{_docdir}/fsvs-%{version}/ +cp -p doc/PERFORMANCE doc/IGNORING doc/USAGE doc/FAQ $RPM_BUILD_ROOT/%{_docdir}/fsvs-%{version}/ +# cp -pr example/ $RPM_BUILD_ROOT/%{_docdir}/fsvs-%{version}//example/ +mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 +mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man5 +cp -p doc/fsvs.1 $RPM_BUILD_ROOT/%{_mandir}/man1/fsvs.1 +cp -p doc/fsvs-options.5 $RPM_BUILD_ROOT/%{_mandir}/man5/fsvs-options.5 +gzip $RPM_BUILD_ROOT/%{_mandir}/man1/fsvs.1 +gzip $RPM_BUILD_ROOT/%{_mandir}/man5/fsvs-options.5 +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/fsvs +mkdir -p $RPM_BUILD_ROOT/%{_var}/spool/fsvs + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%attr(755,root,root) %{_bindir}/fsvs +%config %{_sysconfdir}/fsvs/ +%config %{_var}/spool/fsvs/ +%doc +%doc %{_docdir}/fsvs-%{version}/ +# %{_docdir}/fsvs-%{version}//example/ +%{_mandir}/man1/fsvs.1.gz +%{_mandir}/man5/fsvs-options.5.gz + + +%changelog +* Wed Mar 26 2008 David Fraser 1.1.13-4 +- Removed unneccessary macros + +* Tue Mar 25 2008 David Fraser 1.1.13-3 +- Removed example directory +- Adjusted Makefile to take RPM_OPT_FLAGS + +* Tue Mar 25 2008 Manual "lonely wolf" Wolfshant 1.1.13-2 +- Fixed remaining /usr/bin, /etc and /var to use macros + +* Tue Mar 25 2008 David Fraser 1.1.13-1 +- Upgraded to latest release +- New man file locations +- New example in doc directory + +* Tue Mar 25 2008 David Fraser 1.1.12-7 +- Re-added doc_dir and man_dir, but make them use _docdir and _mandir +- Fixed version numbers in changelog + +* Mon Mar 24 2008 Manuel "lonely wolf" Wolfshant 1.1.12-6 +- Missing BR, consistent use of macros + +* Mon Mar 24 2008 David Fraser 1.1.12-5 +- Corrected rpmlint errors +- Removed manual doc_dir and man_dir definitions + +* Thu Feb 21 2008 David Fraser 1.1.12-4 +- Added pcre dependency + +* Thu Feb 21 2008 David Fraser 1.1.12-3 +- Added configuration and WAA directories + +* Thu Feb 21 2008 David Fraser 1.1.12-2 +- Added documentation directories + +* Sat Feb 16 2008 David Fraser 1.1.12-1 +- Initial build. + diff --git a/sources b/sources index e69de29..d3e8968 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f7f3e44b9545d28a6271cf94ba2899ec fsvs-1.1.13.tar.bz2