diff --git a/.cvsignore b/.cvsignore index e69de29..27fbfa4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gource-0.24.tar.gz diff --git a/gource.spec b/gource.spec new file mode 100644 index 0000000..fe08191 --- /dev/null +++ b/gource.spec @@ -0,0 +1,92 @@ +%global ftgl_version 2.1.3 + +Summary: Software version control visualization +Name: gource +Version: 0.24 +Release: 1%{?dist} +URL: http://gource.googlecode.com/ +Source: http://gource.googlecode.com/files/%{name}-%{version}.tar.gz + +License: GPLv3+ +Group: Applications/Productivity + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: SDL_image-devel +BuildRequires: SDL-devel +BuildRequires: libpng-devel +BuildRequires: libjpeg-devel +BuildRequires: ftgl-devel >= %{ftgl_version} +BuildRequires: pcre-devel +BuildRequires: libX11-devel +BuildRequires: libGL-devel +BuildRequires: libGLU-devel +BuildRequires: freetype-devel + +Requires: gnu-free-sans-fonts + +%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 +sed -i.cp -e 's|cp |cp -p |' Makefile.in + +%build +%configure --enable-ttf-font-dir=%{_datadir}/fonts/gnu-free/ +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} +rm -rf %{buildroot}/%{_datadir}/%{name}/fonts + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) + +%{_bindir}/gource +%{_mandir}/man1/gource.1.gz +%doc COPYING README THANKS ChangeLog + +%dir %{_datadir}/gource +%{_datadir}/gource/* + +%changelog +* Thu Feb 18 2010 Siddhesh Poyarekar - 0.24-1 +- New upstream release +- Added COPYING, README, THANKS and ChangeLog in docs + +* Sun Jan 17 2010 Siddhesh Poyarekar - 0.23-2 +- Modified Makefile.in in %%prep section to preserve timestamps +- Require gnu-free-sans-fonts and use the --enable-ttf-font-dir configure option +- Updated %%files section in spec file based on suggestions in review request + +* Tue Dec 29 2009 Siddhesh Poyarekar - 0.23-1 +- Rebase to new upstream release version 0.23 +- Spec file updates: use parallel make and %%global instead of %%define + +* Wed Dec 05 2009 Siddhesh Poyarekar - 0.18-3 +- Fixed unowned directory in .spec files section +- Dropped package version patch since it's not really breaking anything +- Replace RPM_BUILD_ROOT with buildroot to maintain consistency +- Removed unnecessary Requires from spec +- Removed unnecessary --prefix in configure section +- Preserve timestamps during install +- Added freetype-devel as a build dependency +- Fixed BuildRoot +- Clean buildroot in the install section + +* Wed Dec 02 2009 Siddhesh Poyarekar - 0.18-2 +- Fixed spec and rpm warnings from rpmlint + +* Wed Dec 02 2009 Siddhesh Poyarekar - 0.18-1 +- New package +- Fixed version number in configure.ac to reflect the released version + diff --git a/import.log b/import.log new file mode 100644 index 0000000..185ed0f --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +gource-0_24-1_fc13:F-12:gource-0.24-1.fc13.src.rpm:1266473969 diff --git a/sources b/sources index e69de29..79728ba 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f896ebc6efbe3deed47dccf6c768dba5 gource-0.24.tar.gz