]>
Commit | Line | Data |
---|---|---|
65d362fc ER |
1 | # TODO |
2 | # - use fonts-TTF-freefont | |
3 | Summary: Software version control visualization | |
4 | Name: gource | |
5 | Version: 0.18 | |
6 | Release: 0.1 | |
7 | URL: http://gource.googlecode.com/ | |
8 | Source0: http://gource.googlecode.com/files/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: c9f1617468e1ac232d57cd91fa2fa656 | |
10 | License: GPL v3+ | |
11 | Group: X11/Applications | |
12 | BuildRequires: OpenGL-GLU-devel | |
13 | BuildRequires: OpenGL-GLX-devel | |
14 | BuildRequires: SDL-devel >= 1.2 | |
15 | BuildRequires: SDL_image-devel >= 1.2 | |
16 | BuildRequires: freetype-devel | |
17 | BuildRequires: ftgl-devel >= 2.1.3 | |
18 | BuildRequires: libjpeg-devel | |
19 | BuildRequires: libpng-devel | |
20 | BuildRequires: pcre-devel | |
21 | BuildRequires: xorg-lib-libX11-devel | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | OpenGL-based 3D visualisation tool for source control repositories. | |
26 | The repository is displayed as a tree where the root of the repository | |
27 | is the centre, directories are branches and files are leaves. | |
28 | Contributors to the source code appear and disappear as they | |
29 | contribute to specific files and directories. | |
30 | ||
31 | %prep | |
32 | %setup -q | |
33 | ||
34 | %build | |
35 | %configure | |
36 | %{__make} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %attr(755,root,root) %{_bindir}/gource | |
49 | %dir %{_datadir}/gource | |
50 | %{_datadir}/gource/*.png | |
51 | %dir %{_datadir}/gource/fonts | |
52 | %doc %{_datadir}/gource/fonts/README | |
53 | %{_datadir}/gource/fonts/FreeSans.ttf | |
54 | %{_mandir}/man1/gource.1* |