[packages/git-core-bzr] Initial (now developed separately)

arekm arekm at pld-linux.org
Tue Jan 30 23:02:24 CET 2024


commit 3578dddb32709dd1917aa41f2bde022f4f2a98f1
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jan 30 22:59:19 2024 +0100

    Initial (now developed separately)

 git-core-bzr.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
---
diff --git a/git-core-bzr.spec b/git-core-bzr.spec
new file mode 100644
index 0000000..286087f
--- /dev/null
+++ b/git-core-bzr.spec
@@ -0,0 +1,52 @@
+%bcond_with	tests
+
+Summary:	Git tools for working with mercurial repositories
+Name:		git-core-bzr
+Version:	0.3
+Release:	1
+Epoch:		1
+License:	GPL v2
+Group:		Development/Tools
+Source0:	https://github.com/felipec/git-remote-bzr/archive/refs/tags/v%{version}.tar.gz
+# Source0-md5:	8cd2a654e9ef928bb89ff8524faaa8a1
+URL:		https://github.com/felipec/git-remote-bzr
+BuildRequires:	rpm-pythonprov
+Requires:	bzr
+Requires:	git-core
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Git tools for working with mercurial repositories.
+
+%define         gitcoredir      %{_libexecdir}/git-core
+
+%prep
+%setup -q -n git-remote-bzr-%{version}
+
+%{__sed} -i -e '1s,/usr/bin/env python2$,%{__python2},' git-remote-bzr
+
+%build
+%{__make} \
+	V=1
+
+%if %{with tests}
+%{__make} test
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{gitcoredir},%{_mandir}/man1}
+
+cp -p git-remote-bzr $RPM_BUILD_ROOT%{gitcoredir}
+cp -p doc/git-remote-bzr.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.asciidoc
+%attr(755,root,root) %{gitcoredir}/git-remote-bzr
+%{_mandir}/man1/git-remote-bzr.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-core-bzr.git/commitdiff/3578dddb32709dd1917aa41f2bde022f4f2a98f1



More information about the pld-cvs-commit mailing list