SPECS: bazaar.spec (NEW) - initial pld release

arekm arekm at pld-linux.org
Mon Sep 19 21:33:48 CEST 2005


Author: arekm                        Date: Mon Sep 19 19:33:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial pld release

---- Files affected:
SPECS:
   bazaar.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/bazaar.spec
diff -u /dev/null SPECS/bazaar.spec:1.1
--- /dev/null	Mon Sep 19 21:33:48 2005
+++ SPECS/bazaar.spec	Mon Sep 19 21:33:41 2005
@@ -0,0 +1,93 @@
+# $Revision$, $Date$
+%bcond_with	tests
+Summary:	Implementation of the GNU Arch protocol
+Name:		bazaar
+Version:	1.4.2
+Release:	1
+License:	GPL v2
+Group:		Development/Version Control
+Source0:	http://bazaar.canonical.com/releases/src/%{name}_%{version}.tar.gz
+# Source0-md5:	6e61d7aeec990a801977ee6cdc3958d5
+URL:		http://bazaar.canonical.com/
+Requires:	diffutils
+Requires:	patch
+Requires:	tar
+BuildRequires:	gpgme-devel
+BuildRequires:	neon-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Bazaar 1 (baz) is an implementation of the GNU Arch protocol, designed
+for usability and performance. Features include:
+
+- all the transparent and robust storage features of GNU Arch
+- direct support for URLs - one command can check out or merge from
+  remote locations
+- integrated GPG support - zero setup for most signed archive
+  situations
+- full compatibility with tla - drop in and start using
+- faster than tla for checkouts, commits, and most local operations
+- svn-like diff, switch, import, export, and log commands
+- explicit tracking of conflicts, preventing accidental commits of
+  files with conflicts
+- a single merge command, allowing merging between arbitrary branches
+- support for Debian version numbers in branch names
+- annotate support
+- internationalisation, via gettext and Rosetta
+- Python bindings
+- a seamless upgrade path to Bazaar 2.0.
+
+%prep
+%setup -q -c
+
+%build
+cd *bazaar*/src
+mkdir =build
+cd =build
+
+CFLAGS="%{rpmcflags}"
+CXXFLAGS="%{rpmcflags}"
+FFLAGS="%{rpmcflags}"
+export CFLAGS CXXFLAGS FFLAGS
+
+# custom configure script
+../configure \
+	--prefix=%{_prefix} \
+	--destdir=$RPM_BUILD_ROOT \
+	--with-ssh-is-openssh=1 \
+	--with-cc="%{__cc}"
+%{__make} -j1
+
+%if %{with tests}
+sed -i -e 's#1>&2>#1>\&2 >#g' ../baz/tests/test*.sh
+%{__make} -j1 test
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd *bazaar*
+
+%{__make} -j1 -C src/=build install
+
+rm -rf $RPM_BUILD_ROOT%{_libdir}
+rm -rf $RPM_BUILD_ROOT%{_prefix}/src
+
+cd ..
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/09/19 19:33:41  arekm
+- initial pld release
+
================================================================



More information about the pld-cvs-commit mailing list