]> git.pld-linux.org Git - packages/git-core-hg.git/commitdiff
- restored pl from git-core.spec, BR: asciidoctor for man page master
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Mar 2024 19:15:00 +0000 (20:15 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Mar 2024 19:15:00 +0000 (20:15 +0100)
git-core-hg.spec

index f0b78c22036d0bb47b9f7f19e67e6e0e390982da..0bf0e164756c89bfe2e33c1b5c98dc8685ca4631 100644 (file)
@@ -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}
This page took 0.171445 seconds and 4 git commands to generate.