commit 8dde3977cedd2b9f608a5b5cd353fcc8e4558aff
Author: Elan Ruusamäe <[email protected]>
Date:   Sat Nov 9 22:23:06 2019 +0200

    new, version 2.24.0

 git-filter-repo.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
---
diff --git a/git-filter-repo.spec b/git-filter-repo.spec
new file mode 100644
index 0000000..cefdda2
--- /dev/null
+++ b/git-filter-repo.spec
@@ -0,0 +1,42 @@
+Summary:       Distributed version control system focused on speed, 
effectivity and usability
+Summary(pl.UTF-8):     Rozproszony system śledzenia treści skupiony na 
szybkości, wydajności i użyteczności
+Name:          git-filter-repo
+Version:       2.24.0
+Release:       1
+License:       GPL v2
+Group:         Development/Tools
+Source0:       
https://github.com/newren/git-filter-repo/releases/download/v%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: 948cd14ec2e5773d43355fb63616ca55
+URL:           https://github.com/newren/git-filter-repo
+Requires:      git-core
+Requires:      python3
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+filter-repo is a single-file Python script, depending only on the
+Python standard library (and execution of git commands).
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d 
$RPM_BUILD_ROOT{%{_prefix}/libexec/git-core,%{py3_sitescriptdir},%{_mandir}/man1,%{_docdir}/%{name}}
+%{__make} install \
+       htmldir=$RPM_BUILD_ROOT%{_docdir}/%{name} \
+       pythondir=$RPM_BUILD_ROOT%{py3_sitescriptdir} \
+       prefix=$RPM_BUILD_ROOT%{_prefix}
+
+ln -sf %{_prefix}/libexec/git-core/git-filter-repo 
$RPM_BUILD_ROOT%{py3_sitescriptdir}/git_filter_repo.py
+rm $RPM_BUILD_ROOT%{_docdir}/git-filter-repo/git-filter-repo.html
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md Documentation/html/git-filter-repo.html
+%attr(755,root,root) %{_libexecdir}/git-core/git-filter-repo
+%{_mandir}/man1/git-filter-repo.1*
+%{py3_sitescriptdir}/git_filter_repo.py
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-filter-repo.git/commitdiff/8dde3977cedd2b9f608a5b5cd353fcc8e4558aff

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to