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