]> git.pld-linux.org Git - packages/git-filter-repo.git/commitdiff
new, version 2.24.0 auto/th/git-filter-repo-2.24.0-1
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 9 Nov 2019 20:23:06 +0000 (22:23 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 9 Nov 2019 20:23:42 +0000 (22:23 +0200)
git-filter-repo.spec [new file with mode: 0644]

diff --git a/git-filter-repo.spec b/git-filter-repo.spec
new file mode 100644 (file)
index 0000000..cefdda2
--- /dev/null
@@ -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
This page took 0.0759 seconds and 4 git commands to generate.