]>
Commit | Line | Data |
---|---|---|
d0c99c0a JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with system_sqlite # system SQLite 3 (required features: FTS4, JSON1, DBSTAT_VTAB) | |
4 | ||
3f1908b8 JB |
5 | Summary: Simple, high-reliability, distributed software configuration management |
6 | Summary(pl.UTF-8): Proste, wiarygodne, rozproszone zarządzanie konfiguracją oprogramowania | |
7 | Name: fossil | |
d0c99c0a JB |
8 | Version: 2.16 |
9 | Release: 1 | |
3f1908b8 JB |
10 | License: BSD |
11 | Group: 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 |
14 | Source0: https://www.fossil-scm.org/home/tarball/7aedd5675883d4412cf20917d340b6985e3ecb842e88a39f135df034b2d5f4d3/%{name}-src-%{version}.tar.gz | |
15 | # Source0-md5: 0872a4f1fa348b7d1736ed5d323aebec | |
16 | URL: https://www.fossil-scm.org/ | |
3f1908b8 JB |
17 | BuildRequires: openssl-devel |
18 | BuildRequires: readline-devel | |
d0c99c0a | 19 | %{?with_system_sqlite:BuildRequires: sqlite3-devel >= 3.35.0} |
3f1908b8 JB |
20 | BuildRequires: tcl >= 8.5 |
21 | BuildRequires: zlib-devel | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Fossil is simple, high-reliability, distributed software configuration | |
26 | management. In comparison to other distributed version control systems | |
27 | it has the following features: | |
28 | ||
29 | 1. Bug Tracking And Wiki - In addition to doing distributed version | |
30 | control like Git and Mercurial, Fossil also supports distributed bug | |
31 | tracking, distributed wiki, and a distributed blog mechanism all in a | |
32 | single integrated package. | |
33 | ||
34 | 2. Web Interface - Fossil has a built-in and easy-to-use web interface | |
35 | that simplifies project tracking and promotes situational awareness. | |
36 | Simply type "fossil ui" from within any check-out and Fossil | |
37 | automatically opens your web browser in a page that gives detailed | |
38 | graphical history and status information on that project. | |
39 | ||
40 | %description -l pl.UTF-8 | |
41 | Fossil to proste, wiarygodne, rozproszone zarządzanie konfiguracją | |
42 | oprogramowania. W porównaniu z innymi rozproszonymi systemami kontroli | |
43 | wersji ma następujące możliwości: | |
44 | ||
45 | 1. Śledzenie błędów i Wiki - poza rozproszoną kontrolą wersji, jak w | |
46 | systemach Git czy Mercurial, Fossil obsługuje rozproszone mechanizmy | |
47 | śledzenia błędów, wiki oraz bloga - wszystko w pojedynczym, | |
48 | zintegrowanym pakiecie. | |
49 | ||
50 | 2. Interfejs WWW - Fossil ma wbudowany i łatwy w użyciu interfejs WWW, | |
51 | upraszczający śledzenie projektu i promujący świadomość sytuacji. | |
52 | Wystarczy napisać "fossil ui" z poziomu dowolnego wyciągniętego stanu | |
53 | repozytorium, a Fossil automatycznie otworzy przeglądarkę WWW na | |
54 | stronie podającej szczegółową historię oraz informacje o stanie | |
55 | projektu 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 | |
66 | CC="%{__cc}" \ | |
67 | CFLAGS="%{rpmcflags}" \ | |
68 | CPPFLAGS="%{rpmcppflags}" \ | |
ceaa1eed | 69 | LIBS="-lresolv" \ |
01dc32ce | 70 | ./configure \ |
d0c99c0a | 71 | %{?with_system_sqlite:--disable-internal-sqlite} \ |
01dc32ce | 72 | --with-openssl=auto |
3f1908b8 JB |
73 | %{__make} |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
d0c99c0a | 77 | |
3f1908b8 JB |
78 | %{__make} install \ |
79 | INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} | |
80 | ||
81 | %clean | |
82 | rm -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 |