rpms/gitg/F-10 gitg.spec,NONE,1.1 sources,1.1,1.2

James Bowes jbowes at fedoraproject.org
Wed May 13 13:05:41 UTC 2009


Author: jbowes

Update of /cvs/pkgs/rpms/gitg/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2044/F-10

Modified Files:
	sources 
Added Files:
	gitg.spec 
Log Message:
initial commit of gitg


--- NEW FILE gitg.spec ---
Name:           gitg
Version:        0.0.3
Release:        1%{?dist}
Summary:        GTK+ graphical interface for the git revision control system

Group:          Development/Tools
License:        GPLv2+
URL:            http://trac.novowork.com/gitg
Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.0/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  desktop-file-utils
BuildRequires:  dbus-devel
BuildRequires:  GConf2-devel
BuildRequires:  gtk2-devel
BuildRequires:  gtksourceview2-devel
BuildRequires:  intltool

Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2

Requires:       git

%description
gitg is a GitX clone for GNOME/gtk+. It aims at being a small, fast and
convenient tool to visualize git history and actions that benefit from a
graphical presentation.


%prep
%setup -q


%build
%configure --disable-schemas
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

desktop-file-install                                       \
  --delete-original                                        \
  --dir=$RPM_BUILD_ROOT%{_datadir}/applications            \
  $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop

%find_lang %{name}


%clean
rm -rf $RPM_BUILD_ROOT


%pre
if [ "$1" -gt 1 ]; then
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gitg.schemas > /dev/null || :
fi


%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gitg.schemas >  /dev/null || :


%preun
if [ "$1" -eq 0 ]; then
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gitg.schemas > /dev/null || :
fi


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README ChangeLog

%{_bindir}/gitg
%{_datadir}/gitg
%{_datadir}/pixmaps/gitg*
%{_mandir}/man1/gitg.1*

%{_sysconfdir}/gconf/schemas/gitg.schemas
%{_datadir}/applications/gitg.desktop


%changelog
* Sat May 02 2009 James Bowes <jbowes at redhat.com> 0.0.3-1
- Initial packaging for Fedora.



Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gitg/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	13 May 2009 05:11:53 -0000	1.1
+++ sources	13 May 2009 13:05:11 -0000	1.2
@@ -0,0 +1 @@
+0a61a7b98a8b54500c81d206f608f2de  gitg-0.0.3.tar.bz2




More information about the scm-commits mailing list