%define name tla %define version 1.3 %define release 1mdk Name: %name Version: %version Release: %release Summary: TLA revision control system License: GPL Group: Development/Other URL: http://www.gnu.org/software/gnu-arch/ # Source: ftp://ftp.gnu.org/gnu/gnu-arch/%{name}-%{version}.tar.gz # Source: http://releases.gnuarch.org/tla/%{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-libneon0.24.patch.bz2 BuildRequires: libneon0.24-devel Requires: gawk tar gzip patch diffutils BuildRoot: %{_tmppath}/%{name}-buildroot %description Also known as GNU Arch. A modern replacement for CVS, specifically designed for the distributed development needs of open source projects. It has uniquely good support for development on branches (especially good merging tools), distributed repositories (every developer can have branches in their own repository), changeset-oriented project management (arch commits changes to multiple files at once), and, of course, file and directory renaming. %prep rm -rf %{buildroot} %setup -q -n %{name}-%{version} # remove id files we don't want to distribute find src/docs-tla -name .arch-ids | xargs rm -fr # don't want to use embedded libneon (see also Patch0) rm -rf src/tla/libneon echo "%{name}-%{version} (%{name}-%{version}-%{release})" > \=RELEASE-ID %patch -p1 -E %build mkdir \=build cd \=build export CFLAGS="${RPM_OPT_FLAGS}" ../src/configure --prefix=%{_prefix} --destdir=%{buildroot} make make test %install rm -rf %{buildroot} cd \=build make install destdir=%{buildroot} cd .. cp -r src/docs-tla/html html cp -r src/docs-tla/ps ps cp -r src/docs-tla/texi texi sed 's,^#![[:space:]]*/.*$,#! /usr/bin/gawk -f,' src/tla/\=gpg-check.awk > %{buildroot}/%{_prefix}/bin/tla-gpg-check chmod 0755 %{buildroot}/%{_prefix}/bin/tla-gpg-check %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc COPYING =INSTALL =RELEASE-ID =README html ps texi %{_bindir}/* %changelog * Sun Jan 2 2005 Yann Droneaud <ydroneaud@mandrakesoft.com> 1.3-1mdk - New release 1.3 - Use libneon provided by the system - Provide tla-gpg-check script to be use to check signed archives * Tue Sep 7 2004 Götz Waschk <waschk@linux-mandrake.com> 1.2.1-1mdk - fix rpmlint warning about hidden doc files - New release 1.2.1 * Sat Feb 28 2004 Frederic Lepied <flepied@mandrakesoft.com> 1.2-1mdk - New release 1.2 * Fri Feb 13 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.2-0.pre2.1mdk - 1.2pre2 * Fri Feb 13 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.1-0.pre7.2mdk - add requires (Fix Bug #7790) * Tue Oct 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.1-0.pre7.1mdk - 1.1pre7 * Thu Jul 10 2003 Angles <angles@aminvestments.com> - bump to version tls 1.0.6 * Mon Jun 30 2003 Angles <angles@aminvestments.com> - this is c version of larch called tls - bump to version tls 1.0.4 * Sun May 21 2002 Angles <angles@aminvestments.com> - bump to version 1.0pre16 * Sun May 05 2002 Angles <angles@aminvestments.com> - bump to version 1.0pre15 * Thu Apr 11 2002 Angles <angles@aminvestments.com> - bump to version 1.0pre14 - automate patch2 to match build hosts actual vars * Mon Mar 27 2002 Angles <angles@phpgroupware.org> - bump to version 1.0pre13 - redo patches so no version-name strings are in the patch paths * Mon Mar 11 2002 Angles <angles@phpgroupware.org> - initial package release, version 1.0pre11 - make symlinks in linexec tree relative to remove hard coded rpm buildroot path - find useful docs and assemble for the rpm doc macro