]>
Commit | Line | Data |
---|---|---|
7d14e0f0 | 1 | Summary: tla arch - revision control system |
9eceae38 | 2 | Summary(pl.UTF-8): tla arch - system kontroli wersji |
76a1dc91 | 3 | Name: tla |
756f1ee2 | 4 | Version: 1.3.5 |
43287772 | 5 | Release: 9 |
4fff02ba | 6 | Epoch: 1 |
7d14e0f0 | 7 | License: GPL v2 |
8 | Group: Development/Version Control | |
0e8db7eb | 9 | Source0: http://ftp.gnu.org/gnu/gnu-arch/%{name}-%{version}.tar.gz |
756f1ee2 | 10 | # Source0-md5: db31ee89bc4788eef1eba1cee6c176ef |
e5330411 | 11 | Patch0: %{name}-neon.patch |
9f10b1e0 | 12 | URL: http://www.gnu.org/software/gnu-arch/ |
756f1ee2 | 13 | BuildRequires: libtool |
a834dbc5 | 14 | BuildRequires: neon-devel |
c1f8c638 | 15 | # required by the configure script |
16 | BuildRequires: patch | |
17 | BuildRequires: which | |
f05be5f8 AM |
18 | Requires: diffutils |
19 | Requires: patch | |
20 | Requires: tar | |
7d14e0f0 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f26d5fdc | 22 | |
23 | %description | |
76a1dc91 JB |
24 | tla arch is a revision control system: a program that lets programmers |
25 | archive a history of changes made to the software they maintain and | |
26 | that, more importantly, helps programmers to coordinate, synchronize, | |
27 | and combine multiple lines of development for a single project. | |
f26d5fdc | 28 | |
29 | arch version tla is a C version of the reference arch concepts. | |
30 | ||
1a1dc655 JR |
31 | %description -l pl.UTF-8 |
32 | tla arch jest systemem kontroli wersji - programem, który pozwala | |
33 | programistom archiwizować historię zmian wykonanych w rozwijanym przez | |
34 | nich oprogramowaniu oraz, co ważniejsze, pomaga programistom | |
35 | koordynować, synchronizować i łączyć wiele linii kodu podczas rozwoju | |
76a1dc91 JB |
36 | projektu. |
37 | ||
38 | arch w wersji tla to wersja w C wzorcowych idei arch. | |
39 | ||
f26d5fdc | 40 | %prep |
1cb5f52d | 41 | %setup -q |
e5330411 | 42 | %patch0 -p1 |
756f1ee2 JB |
43 | |
44 | rm -rf src/libneon src/expat | |
f26d5fdc | 45 | |
f26d5fdc | 46 | %build |
76a1dc91 | 47 | cd src |
f26d5fdc | 48 | mkdir =build |
49 | cd =build | |
e5330411 AM |
50 | |
51 | CFLAGS="%{rpmcflags}" | |
52 | CXXFLAGS="%{rpmcflags}" | |
53 | FFLAGS="%{rpmcflags}" | |
54 | export CFLAGS CXXFLAGS FFLAGS | |
55 | ||
56 | # custom configure script | |
57 | ../configure \ | |
e5330411 | 58 | --destdir=$RPM_BUILD_ROOT \ |
756f1ee2 JB |
59 | --prefix=%{_prefix} \ |
60 | --with-cc="%{__cc}" \ | |
61 | --with-ssh-type=openssh | |
e5330411 | 62 | %{__make} -j1 |
76a1dc91 | 63 | |
f26d5fdc | 64 | # ok, I tested already |
e5330411 | 65 | %{__make} -j1 test |
f26d5fdc | 66 | |
f26d5fdc | 67 | %install |
7d14e0f0 | 68 | rm -rf $RPM_BUILD_ROOT |
76a1dc91 | 69 | |
e5330411 | 70 | %{__make} -j1 -C src/=build install |
76a1dc91 | 71 | |
a2b5f10e AM |
72 | rm -rf html |
73 | cp -a src/docs-tla html | |
74 | find html -type f ! -name "*.html" -exec rm -rf "{}" ";" | |
75 | find html -type d -name ".arch-ids" -exec rm -rf "{}" ";" || : | |
76 | find html -type d -name "{arch}" -exec rm -rf "{}" ";" || : | |
77 | ||
76a1dc91 JB |
78 | rm -rf $RPM_BUILD_ROOT%{_libdir} |
79 | rm -rf $RPM_BUILD_ROOT%{_prefix}/src | |
f26d5fdc | 80 | |
81 | %clean | |
76a1dc91 | 82 | rm -rf $RPM_BUILD_ROOT |
f26d5fdc | 83 | |
84 | %files | |
7d14e0f0 | 85 | %defattr(644,root,root,755) |
e5330411 | 86 | %doc html |
9166629a | 87 | %attr(755,root,root) %{_bindir}/* |