]> git.pld-linux.org Git - packages/fossil.git/blame - fossil.spec
- updated to 2.16; use internal sqlite3 for now (no required FTS4 and JSON1 in system...
[packages/fossil.git] / fossil.spec
CommitLineData
d0c99c0a
JB
1#
2# Conditional build:
3%bcond_with system_sqlite # system SQLite 3 (required features: FTS4, JSON1, DBSTAT_VTAB)
4
3f1908b8
JB
5Summary: Simple, high-reliability, distributed software configuration management
6Summary(pl.UTF-8): Proste, wiarygodne, rozproszone zarządzanie konfiguracją oprogramowania
7Name: fossil
d0c99c0a
JB
8Version: 2.16
9Release: 1
3f1908b8
JB
10License: BSD
11Group: Development/Version Control
12# see URL below for mapping between Version and date
d0c99c0a
JB
13#Source0Download: https://www.fossil-scm.org/home/uv/download.html
14Source0: https://www.fossil-scm.org/home/tarball/7aedd5675883d4412cf20917d340b6985e3ecb842e88a39f135df034b2d5f4d3/%{name}-src-%{version}.tar.gz
15# Source0-md5: 0872a4f1fa348b7d1736ed5d323aebec
16URL: https://www.fossil-scm.org/
3f1908b8
JB
17BuildRequires: openssl-devel
18BuildRequires: readline-devel
d0c99c0a 19%{?with_system_sqlite:BuildRequires: sqlite3-devel >= 3.35.0}
3f1908b8
JB
20BuildRequires: tcl >= 8.5
21BuildRequires: zlib-devel
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Fossil is simple, high-reliability, distributed software configuration
26management. In comparison to other distributed version control systems
27it has the following features:
28
291. Bug Tracking And Wiki - In addition to doing distributed version
30control like Git and Mercurial, Fossil also supports distributed bug
31tracking, distributed wiki, and a distributed blog mechanism all in a
32single integrated package.
33
342. Web Interface - Fossil has a built-in and easy-to-use web interface
35that simplifies project tracking and promotes situational awareness.
36Simply type "fossil ui" from within any check-out and Fossil
37automatically opens your web browser in a page that gives detailed
38graphical history and status information on that project.
39
40%description -l pl.UTF-8
41Fossil to proste, wiarygodne, rozproszone zarządzanie konfiguracją
42oprogramowania. W porównaniu z innymi rozproszonymi systemami kontroli
43wersji ma następujące możliwości:
44
451. Śledzenie błędów i Wiki - poza rozproszoną kontrolą wersji, jak w
46systemach Git czy Mercurial, Fossil obsługuje rozproszone mechanizmy
47śledzenia błędów, wiki oraz bloga - wszystko w pojedynczym,
48zintegrowanym pakiecie.
49
502. Interfejs WWW - Fossil ma wbudowany i łatwy w użyciu interfejs WWW,
51upraszczający śledzenie projektu i promujący świadomość sytuacji.
52Wystarczy napisać "fossil ui" z poziomu dowolnego wyciągniętego stanu
53repozytorium, a Fossil automatycznie otworzy przeglądarkę WWW na
54stronie podającej szczegółową historię oraz informacje o stanie
55projektu w postaci graficznej.
56
57%prep
d0c99c0a 58%setup -q -n %{name}-src-%{version}
01dc32ce 59
d0c99c0a
JB
60%if %{with system_sqlite}
61%{__rm} src/sqlite3.[ch]
62%endif
3f1908b8
JB
63
64%build
65# some tcl-based strangeness, not autoconf configure
66CC="%{__cc}" \
67CFLAGS="%{rpmcflags}" \
68CPPFLAGS="%{rpmcppflags}" \
ceaa1eed 69LIBS="-lresolv" \
01dc32ce 70./configure \
d0c99c0a 71 %{?with_system_sqlite:--disable-internal-sqlite} \
01dc32ce 72 --with-openssl=auto
3f1908b8
JB
73%{__make}
74
75%install
76rm -rf $RPM_BUILD_ROOT
d0c99c0a 77
3f1908b8
JB
78%{__make} install \
79 INSTALLDIR=$RPM_BUILD_ROOT%{_bindir}
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%files
85%defattr(644,root,root,755)
d0c99c0a 86%doc COPYRIGHT-BSD2.txt README.md
3f1908b8 87%attr(755,root,root) %{_bindir}/fossil
This page took 0.112808 seconds and 4 git commands to generate.