]>
Commit | Line | Data |
---|---|---|
bbaa16e4 KK |
1 | Summary: VCS repository manipulation tool |
2 | Name: reposurgeon | |
3 | Version: 3.6 | |
4 | Release: 1 | |
5 | License: BSD | |
6 | Group: Development/Tools | |
bbaa16e4 KK |
7 | Source0: http://www.catb.org/~esr/reposurgeon/%{name}-%{version}.tar.gz |
8 | # Source0-md5: a582cdf942d756deb7b78b7676797640 | |
7b49fba0 | 9 | URL: http://www.catb.org/~esr/reposurgeon/ |
bbaa16e4 KK |
10 | BuildRequires: asciidoc |
11 | BuildRequires: docbook-dtd412-xml | |
12 | BuildRequires: xmlto | |
7b49fba0 | 13 | Requires: python >= 1:2.7.2 |
bbaa16e4 KK |
14 | BuildArch: noarch |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Reposurgeon enables risky operations that version-control systems | |
19 | don't want to let you do, such as (a) editing past comments and | |
20 | metadata, (b) excising commits, (c) coalescing commits, and (d) | |
21 | removing files and subtrees from repo history. The original motivation | |
22 | for reposurgeon was to clean up artifacts created by repository | |
23 | conversions. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | ||
28 | %build | |
29 | %{__make} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
bbaa16e4 | 33 | %{__make} install \ |
7b49fba0 ER |
34 | prefix=%{_prefix} \ |
35 | DESTDIR=$RPM_BUILD_ROOT | |
bbaa16e4 KK |
36 | |
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc AUTHORS COPYING NEWS README TODO features.html repodiffer.html repopuller.html reposurgeon.html | |
7b49fba0 | 43 | %attr(755,root,root) %{_bindir}/reposurgeon |
bbaa16e4 KK |
44 | %attr(755,root,root) %{_bindir}/repopuller |
45 | %attr(755,root,root) %{_bindir}/repodiffer | |
7b49fba0 | 46 | %{_mandir}/man1/reposurgeon.1* |
bbaa16e4 KK |
47 | %{_mandir}/man1/repodiffer.1* |
48 | %{_mandir}/man1/repopuller.1* |