[packages/git-core-hg] - restored pl from git-core.spec, BR: asciidoctor for man page
qboosh
qboosh at pld-linux.org
Fri Mar 29 20:28:59 CET 2024
commit a5ca16ecd46c6457b4252a7d967bc38380186186
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 29 20:15:00 2024 +0100
- restored pl from git-core.spec, BR: asciidoctor for man page
git-core-hg.spec | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/git-core-hg.spec b/git-core-hg.spec
index f0b78c2..0bf0e16 100644
--- a/git-core-hg.spec
+++ b/git-core-hg.spec
@@ -1,26 +1,38 @@
-%bcond_with tests
+#
+# Conditional build:
+%bcond_with tests # functional tests (require some setup before?)
-Summary: Git tools for working with mercurial repositories
+Summary: Git tools for working with Mercurial repositories
+Summary(pl.UTF-8): Narzędzia Gita do pracy z repozytoriami Mercuriala
Name: git-core-hg
Version: 0.6
Release: 1
Epoch: 1
License: GPL v2
Group: Development/Tools
-Source0: https://github.com/felipec/git-remote-hg/archive/refs/tags/v%{version}.tar.gz
+#Source0Download: https://github.com/felipec/git-remote-hg/tags
+# TODO use:
+#Source0: https://github.com/felipec/git-remote-hg/archive/v%{version}/git-remote-hg-%{version}.tar.gz
+Source0: https://github.com/felipec/git-remote-hg/archive/v%{version}.tar.gz
# Source0-md5: 8a1acaba6d5f2acd453870b136695eba
URL: https://github.com/felipec/git-remote-hg
BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.680
+BuildRequires: ruby-asciidoctor
Requires: git-core
Requires: mercurial >= 1.8
%if %{with tests}
+BuildRequires: git-core
BuildRequires: mercurial >= 1.8
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Git tools for working with mercurial repositories.
+Git tools for working with Mercurial repositories.
+
+%description -l pl.UTF-8
+Narzędzia Gita do pracy z repozytoriami Mercuriala.
%define gitcoredir %{_libexecdir}/git-core
@@ -39,7 +51,6 @@ Git tools for working with mercurial repositories.
%install
rm -rf $RPM_BUILD_ROOT
-
install -d $RPM_BUILD_ROOT{%{gitcoredir},%{_mandir}/man1}
cp -p git-remote-hg $RPM_BUILD_ROOT%{gitcoredir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/git-core-hg.git/commitdiff/a5ca16ecd46c6457b4252a7d967bc38380186186
More information about the pld-cvs-commit
mailing list