Name: spor Group: Applications/System Summary: Store file modes (permission/ownership) recursively Version: 1.0 Release: 3%{?dist} License: GPLv3+ URL: http://code.google.com/p/spor Source0: http://spor.googlecode.com/files/%{name}-%{version}.tar.bz2 # Build changes # http://code.google.com/p/spor/issues/detail?id=1 Patch0: spor.1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Spor recursively walks into a given directory, storing file mode & ownership information in a flat-file database for future retrievals. It was firstly intended to use with backup & version control scripts, and it provides a simple and safe method to save and restore particular meta-data information of a given directory. %prep %setup -q -n %{name} %patch0 -p1 -b .spor.1.man %build %{__make} %{?_smp_mflags} CFLAGS="%{optflags}" %install %{__rm} -rf %{buildroot} %{__install} -D -p -m 0755 %{name} %{buildroot}/%{_bindir}/%{name} %{__install} -D -p -m 0644 %{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1 %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc readme.txt LICENSE %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Tue Dec 21 2010 Rafael Azenha Aquini <aquini at linux dot com> - 1.0-3 - Fix rpmlint complaint on spor.spec file pointed by Markus Mayer's review BZ (650744#c7) * Mon Dec 20 2010 Rafael Azenha Aquini <aquini at linux dot com> - 1.0-2 - Fix rpmlint complaint on spor manpage pointed by Markus Mayer's review BZ (650744#c3) * Mon Nov 08 2010 Rafael Azenha Aquini <aquini at linux dot com> - 1.0-1 - initial packaging.