%define name holland-script %define version 1.0.7a1 %define unmangled_version 1.0.7a1 %define unmangled_version 1.0.7a1 %define release 1 Summary: Perform backups with simple shell commands Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{unmangled_version}.tar.gz License: GPL2 Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: noarch BuildRequires: python python-setuptools Requires: holland-common Vendor: Andrew Garner Url: http://hollandbackup.org %description %prep %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} %build python setup.py build %install python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root)