]> git.pld-linux.org Git - packages/gource.git/blobdiff - gource.spec
- updated URL
[packages/gource.git] / gource.spec
index 3cd0f443df994b9c7e712e2300e16b07747bb075..053a9c7bf716e51b97c0a20d6d206a57b630c745 100644 (file)
@@ -1,26 +1,34 @@
-# TODO
-# - use fonts-TTF-freefont
 Summary:       Software version control visualization
-Summary(pl.UTF-8):      Narzędzie wizualizujące kontrolę wersji
+Summary(pl.UTF-8):     Narzędzie wizualizujące kontrolę wersji
 Name:          gource
-Version:       0.24
+Version:       0.51
 Release:       1
-URL:           http://gource.googlecode.com/
-Source0:       http://gource.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5: f896ebc6efbe3deed47dccf6c768dba5
 License:       GPL v3+
+#Source0Download: https://github.com/acaudwell/Gource/releases
+Source0:       https://github.com/acaudwell/Gource/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 957723684373e6d9493c4820e9c53399
+Patch0:                gl-ac.patch
+URL:           https://github.com/acaudwell/Gource
 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: SDL2-devel >= 2
+BuildRequires: SDL2_image-devel >= 2
+BuildRequires: autoconf >= 2.61
+BuildRequires: automake
+BuildRequires: boost-devel >= 1.46
+BuildRequires: freetype-devel >= 2.0.9
 BuildRequires: ftgl-devel >= 2.1.3
+BuildRequires: glew-devel
 BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
+BuildRequires: libpng-devel >= 1.2
 BuildRequires: pcre-devel
 BuildRequires: pkgconfig
+BuildRequires: tinyxml-devel
 BuildRequires: xorg-lib-libX11-devel
+Requires:      freetype >= 2.0.9
+Requires:      fonts-TTF-freefont
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,8 +37,8 @@ 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.
+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
@@ -39,14 +47,20 @@ 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.
+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}
+%{__automake}
+%configure \
+       --with-tinyxml \
+       --enable-ttf-font-dir=%{_datadir}/fonts/TTF
 %{__make}
 
 %install
@@ -60,6 +74,10 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README THANKS
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/gource
-%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/gource
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/*.png
+%{_datadir}/%{name}/*.tga
+%{_datadir}/%{name}/*.style
+%{_datadir}/%{name}/shaders
+%{_mandir}/man1/gource.1*
This page took 0.028387 seconds and 4 git commands to generate.