X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgource.git;a=blobdiff_plain;f=gource.spec;h=e3581007ca037c16390251bbd011a64a70024ee5;hp=5de603dad0c9ec8a2949c9a7c833dd49bb64dc2b;hb=ea85b7fada476725b8eac176a50c3b64a24f9908;hpb=1edfce253f2b1bf87349390636db7e51fb7d1536 diff --git a/gource.spec b/gource.spec index 5de603d..e358100 100644 --- a/gource.spec +++ b/gource.spec @@ -1,39 +1,61 @@ -# TODO -# - use fonts-TTF-freefont Summary: Software version control visualization +Summary(pl.UTF-8): Narzędzie wizualizujące kontrolę wersji Name: gource -Version: 0.24 -Release: 0.1 -URL: http://gource.googlecode.com/ -Source0: http://gource.googlecode.com/files/%{name}-%{version}.tar.gz -# Source0-md5: f896ebc6efbe3deed47dccf6c768dba5 +Version: 0.43 +Release: 3 License: GPL v3+ +Source0: https://github.com/acaudwell/Gource/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz +# Source0-md5: d2b601782692301f6d8ecc97dc85d3f7 +Patch0: gl-ac.patch +URL: http://gource.googlecode.com/ Group: X11/Applications +BuildRequires: GLM BuildRequires: OpenGL-GLU-devel BuildRequires: OpenGL-GLX-devel BuildRequires: SDL-devel >= 1.2 BuildRequires: SDL_image-devel >= 1.2 BuildRequires: freetype-devel BuildRequires: ftgl-devel >= 2.1.3 +BuildRequires: glew-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: pcre-devel BuildRequires: pkgconfig +BuildRequires: tinyxml-devel BuildRequires: xorg-lib-libX11-devel +Requires: fonts-TTF-freefont BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -OpenGL-based 3D visualisation tool for source control repositories. -The repository is displayed as a tree where the root of the repository -is the centre, directories are branches and files are leaves. -Contributors to the source code appear and disappear as they -contribute to specific files and directories. +Software projects are displayed by Gource as an animated tree with the +root directory of the project at its centre. Directories appear as +branches with files as leaves. Developers can be seen working on the +tree at the times they contributed to the project. + +Currently there is first party support for Git and Mercurial, and +third party (using additional steps) for CVS and SVN. + +%description -l pl.UTF-8 +Gource wyświetla projekty software'owe jako animowane drzewo z +katalogiem głównym projektu w centrum. Podkatalogi przedstawione są w +postaci gałęzi, a pliki to liście. Developerzy widoczni są przy pracy +nad drzewem w czasie gdy rzeczywiście pracowali. + +Na chwilę obecną Gource natywnie wspiera repozytoria Git i Mercurial. +Przy pomocy zewnętrznych narzędzi można również oglądać repozytoria +CVS i SVN. %prep %setup -q +%patch0 -p1 %build -%configure +%{__aclocal} +%{__autoconf} +%configure \ + CC=%{__cxx} \ + --with-tinyxml \ + --enable-ttf-font-dir=%{_datadir}/fonts/TTF %{__make} %install @@ -46,10 +68,11 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc ChangeLog README THANKS %attr(755,root,root) %{_bindir}/gource -%dir %{_datadir}/gource -%{_datadir}/gource/*.png -%dir %{_datadir}/gource/fonts -%doc %{_datadir}/gource/fonts/README -%{_datadir}/gource/fonts/FreeSans.ttf +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/*.png +%{_datadir}/%{name}/*.tga +%{_datadir}/%{name}/*.style +%{_datadir}/%{name}/shaders %{_mandir}/man1/gource.1*