X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgource.git;a=blobdiff_plain;f=gource.spec;h=6fb234b6cb18ff68a93319fae40b0d53b5b89485;hp=e3d39ea8db3c5a2f3f2612cc06a166f9b2378720;hb=330bfe7;hpb=69c24cb1c7d706c6da9243df046413259b4770cf;ds=sidebyside diff --git a/gource.spec b/gource.spec index e3d39ea..6fb234b 100644 --- a/gource.spec +++ b/gource.spec @@ -1,24 +1,33 @@ Summary: Software version control visualization Summary(pl.UTF-8): Narzędzie wizualizujące kontrolę wersji Name: gource -Version: 0.24 -Release: 1 -URL: http://gource.googlecode.com/ -Source0: http://gource.googlecode.com/files/%{name}-%{version}.tar.gz -# Source0-md5: f896ebc6efbe3deed47dccf6c768dba5 +Version: 0.51 +Release: 2 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) @@ -43,21 +52,22 @@ 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 rm -rf $RPM_BUILD_ROOT %{__make} install \ - gourcefontdir=%{_datadir}/fonts/TTF \ DESTDIR=$RPM_BUILD_ROOT -# remove by file, to note when upstream bundles different font -%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts/README -%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts/FreeSans.ttf - %clean rm -rf $RPM_BUILD_ROOT @@ -69,4 +79,5 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/%{name}/*.png %{_datadir}/%{name}/*.tga %{_datadir}/%{name}/*.style +%{_datadir}/%{name}/shaders %{_mandir}/man1/gource.1*