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