From 65d362fca20135df630e61d504a4b588a481df5b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 14 Jan 2010 11:03:57 +0000 Subject: [PATCH] - new, based on http://people.redhat.com/spoyarek/gource/gource.spec Changed files: gource.spec -> 1.1 --- gource.spec | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 gource.spec diff --git a/gource.spec b/gource.spec new file mode 100644 index 0000000..1588172 --- /dev/null +++ b/gource.spec @@ -0,0 +1,54 @@ +# TODO +# - use fonts-TTF-freefont +Summary: Software version control visualization +Name: gource +Version: 0.18 +Release: 0.1 +URL: http://gource.googlecode.com/ +Source0: http://gource.googlecode.com/files/%{name}-%{version}.tar.gz +# Source0-md5: c9f1617468e1ac232d57cd91fa2fa656 +License: GPL v3+ +Group: X11/Applications +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: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: pcre-devel +BuildRequires: xorg-lib-libX11-devel +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. + +%prep +%setup -q + +%build +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%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 +%{_mandir}/man1/gource.1* -- 2.43.0