File tla-load-dirs.spec of Package tla-load-dirs
#
# spec file for package tla-load-dirs (Version 0.0.46)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: tla-load-dirs
BuildRequires: docbook-utils python-devel
URL: http://arch.complete.org/
Summary: Import upstream archives into tla/arch
Version: 0.0.46
Release: 7
Source0: %{name}.tar.bz2
License: GPL
Group: Development/Tools/Version Control
Autoreqprov: on
Requires: tla
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%py_requires
%description
Tom Lord's tla (arch/tla system) is capable of importing upstream
directories into a tla archive for some archives, For situations where
the upstream renames or moves files and directories on a regular basis,
version information can be lost.
tla-load-dirs works with tla to import these things and preserve
changes. It works on a principle similar to Subversion's
svn_load_dirs.
Authors:
--------
John Goerzen <jgoerzen@complete.org>
%prep
%setup -n %{name}
%build
(cd docs && docbook2man tla_load_dirs.sgml)
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
install -m 755 -d $RPM_BUILD_ROOT/%{_mandir}/man1/
install -m 644 docs/tla_load_dirs.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc ChangeLog COPYING
%doc %{_mandir}/man1/*
%changelog -n tla-load-dirs
* Tue Feb 28 2006 - jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Feb 14 2005 - mcihar@suse.cz
- update to patch-46
* Mon Aug 09 2004 - mcihar@suse.cz
- initial packaging