]> git.pld-linux.org Git - packages/tla.git/blame - tla.spec
- release 9
[packages/tla.git] / tla.spec
CommitLineData
7d14e0f0 1Summary: tla arch - revision control system
9eceae38 2Summary(pl.UTF-8): tla arch - system kontroli wersji
76a1dc91 3Name: tla
756f1ee2 4Version: 1.3.5
43287772 5Release: 9
4fff02ba 6Epoch: 1
7d14e0f0 7License: GPL v2
8Group: Development/Version Control
0e8db7eb 9Source0: http://ftp.gnu.org/gnu/gnu-arch/%{name}-%{version}.tar.gz
756f1ee2 10# Source0-md5: db31ee89bc4788eef1eba1cee6c176ef
e5330411 11Patch0: %{name}-neon.patch
9f10b1e0 12URL: http://www.gnu.org/software/gnu-arch/
756f1ee2 13BuildRequires: libtool
a834dbc5 14BuildRequires: neon-devel
c1f8c638 15# required by the configure script
16BuildRequires: patch
17BuildRequires: which
f05be5f8
AM
18Requires: diffutils
19Requires: patch
20Requires: tar
7d14e0f0 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
f26d5fdc 22
23%description
76a1dc91
JB
24tla arch is a revision control system: a program that lets programmers
25archive a history of changes made to the software they maintain and
26that, more importantly, helps programmers to coordinate, synchronize,
27and combine multiple lines of development for a single project.
f26d5fdc 28
29arch version tla is a C version of the reference arch concepts.
30
1a1dc655
JR
31%description -l pl.UTF-8
32tla arch jest systemem kontroli wersji - programem, który pozwala
33programistom archiwizować historię zmian wykonanych w rozwijanym przez
34nich oprogramowaniu oraz, co ważniejsze, pomaga programistom
35koordynować, synchronizować i łączyć wiele linii kodu podczas rozwoju
76a1dc91
JB
36projektu.
37
38arch 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
44rm -rf src/libneon src/expat
f26d5fdc 45
f26d5fdc 46%build
76a1dc91 47cd src
f26d5fdc 48mkdir =build
49cd =build
e5330411
AM
50
51CFLAGS="%{rpmcflags}"
52CXXFLAGS="%{rpmcflags}"
53FFLAGS="%{rpmcflags}"
54export 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 68rm -rf $RPM_BUILD_ROOT
76a1dc91 69
e5330411 70%{__make} -j1 -C src/=build install
76a1dc91 71
a2b5f10e
AM
72rm -rf html
73cp -a src/docs-tla html
74find html -type f ! -name "*.html" -exec rm -rf "{}" ";"
75find html -type d -name ".arch-ids" -exec rm -rf "{}" ";" || :
76find html -type d -name "{arch}" -exec rm -rf "{}" ";" || :
77
76a1dc91
JB
78rm -rf $RPM_BUILD_ROOT%{_libdir}
79rm -rf $RPM_BUILD_ROOT%{_prefix}/src
f26d5fdc 80
81%clean
76a1dc91 82rm -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}/*
This page took 0.073558 seconds and 4 git commands to generate.