lokthare 41ae1fa
Name:           guake
53daa0f
Version:        0.4.2
53daa0f
Release:        1%{?dist}
lokthare 41ae1fa
Summary:        Drop-down terminal for GNOME
lokthare 41ae1fa
lokthare 41ae1fa
Group:          Applications/System
lokthare 41ae1fa
License:        GPLv2+
fa53786
URL:            http://www.guake.org/
fa53786
Source0:        http://guake.org/files/%{name}-%{version}.tar.gz
119abb9
119abb9
# Not used here -- official release --
119abb9
#Source0:        %{name}-%{version}.20090321git.tar.gz
7e6b180
# Source generated from
7e6b180
# git clone git://repos.guake-terminal.org/guake
7e6b180
# cd guake
7e6b180
# ./autogen.sh
7e6b180
# cd ../
ab9bce8
# tar zcvf guake-0.3.1.20090321git.tar.gz guake/
119abb9
# ---------------------------------------------
1e88735
lokthare 41ae1fa
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
lokthare 41ae1fa
d825588
BuildRequires:  python-devel gtk2-devel gettext desktop-file-utils perl(XML::Parser) GConf2-devel
d825588
BuildRequires:  pygtk2-devel >= 2.10 intltool vte
lokthare 41ae1fa
Requires:       pygtk2 >= 2.10 vte notify-python pygtk2-libglade gnome-python2-gconf dbus-python
lokthare 41ae1fa
lokthare 41ae1fa
Requires(pre):   GConf2
lokthare 41ae1fa
Requires(post):  GConf2
lokthare 41ae1fa
Requires(preun): GConf2
lokthare 41ae1fa
lokthare 41ae1fa
%description
lokthare 41ae1fa
Guake is a drop-down terminal for Gnome Desktop Environment,
lokthare 41ae1fa
so you just need to press a key to invoke him,
lokthare 41ae1fa
and press again to hide.
lokthare 41ae1fa
lokthare 41ae1fa
%prep
119abb9
%setup -q 
119abb9
#-n %{name}
1e88735
4156340
# Enables to pass the configure without problem concerning python vte library
4156340
sed -i -e 's|if test -z "$ac_pvte_result"; then|if test -z "" ; then|g' configure
4156340
lokthare 41ae1fa
%build
lokthare 41ae1fa
%configure --disable-schemas-install --disable-static
lokthare 41ae1fa
make %{?_smp_mflags}
lokthare 41ae1fa
lokthare 41ae1fa
lokthare 41ae1fa
%install
lokthare 41ae1fa
rm -rf $RPM_BUILD_ROOT
lokthare 41ae1fa
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
lokthare 41ae1fa
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
119abb9
119abb9
desktop-file-install --vendor=""                           \
lokthare 41ae1fa
  --delete-original                                        \
lokthare 41ae1fa
  --dir=%{buildroot}%{_datadir}/applications               \
lokthare 41ae1fa
  %{buildroot}%{_datadir}/applications/%{name}.desktop
119abb9
119abb9
119abb9
desktop-file-install --vendor=""                           \
119abb9
  --delete-original                                        \
119abb9
  --dir=%{buildroot}%{_datadir}/applications               \
119abb9
  %{buildroot}%{_datadir}/applications/%{name}-prefs.desktop
119abb9
119abb9
lokthare 41ae1fa
%find_lang %{name}
lokthare 41ae1fa
rm -f %{buildroot}%{_libdir}/%{name}/globalhotkeys.la
lokthare 41ae1fa
 
lokthare 41ae1fa
%clean
lokthare 41ae1fa
rm -rf $RPM_BUILD_ROOT
lokthare 41ae1fa
lokthare 41ae1fa
%pre
b0019eb
%gconf_schema_prepare %{name}
lokthare 41ae1fa
lokthare 41ae1fa
%post
b0019eb
%gconf_schema_upgrade %{name}
lokthare 41ae1fa
lokthare 41ae1fa
%preun
b0019eb
%gconf_schema_remove %{name}
lokthare 41ae1fa
1e88735
%posttrans
1e88735
killall -HUP gconfd-2 > /dev/null || :
lokthare 41ae1fa
lokthare 41ae1fa
%files -f %{name}.lang
lokthare 41ae1fa
%defattr(-,root,root,-)
lokthare 41ae1fa
%doc AUTHORS ChangeLog COPYING README TODO
lokthare 41ae1fa
%{_sysconfdir}/gconf/schemas/%{name}.schemas
lokthare 41ae1fa
%{_bindir}/%{name}
119abb9
%{_bindir}/%{name}-prefs
lokthare 41ae1fa
%{_libdir}/%{name}
119abb9
%{_datadir}/applications/%{name}.desktop
119abb9
%{_datadir}/applications/%{name}-prefs.desktop
cf967d1
%{_datadir}/dbus-1/services/org.guake.Guake.service
lokthare 41ae1fa
%{_datadir}/%{name}
lokthare 41ae1fa
%{_datadir}/pixmaps/%{name}
1d35f0d
%{_mandir}/man1/guake.1.gz
fa53786
%{_sysconfdir}/xdg/autostart/%{name}.desktop
lokthare 41ae1fa
lokthare 41ae1fa
%changelog
53daa0f
* Tue Aug 03 2010 pingou <pingou@pingoured.fr> - 0.4.2-1
53daa0f
- Update to 0.4.2
53daa0f
a03ea39
* Tue Jul 27 2010 David Malcolm <dmalcolm@redhat.com> - 0.4.1-5
a03ea39
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
a03ea39
b0019eb
* Sat May 08 2010 pingou <pingou@pingoured.fr> - 0.4.1-4
b0019eb
- Change the name.schema to name for the gconf macro
b0019eb
1e88735
* Sat May 08 2010 pingou <pingou@pingoured.fr> - 0.4.1-3
1e88735
- Use the gconf_schema macro instead of the former code
1e88735
- Add the posttrans part
1e88735
0336024
* Thu Feb 04 2010 pingou <pingou@pingoured.fr> - 0.4.1-2
0336024
- Rebuild to include French translations
0336024
fa53786
* Tue Feb 02 2010 pingou <pingou@pingoured.fr> - 0.4.1-1
fa53786
- Update to 0.4.1
fa53786
c5bd187
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
c5bd187
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c5bd187
119abb9
* Tue Apr 07 2009 pingou <pingou@pingoured.fr> - 0.4.0-1
119abb9
- Update to version 0.4.0
119abb9
ab9bce8
* Sat Mar 21 2009 pingou <pingou@pingoured.fr> - 0.3.1-10.20090321git
ab9bce8
- New version from git
ab9bce8
6b5bafb
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-9.20090210git
6b5bafb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6b5bafb
f0bc2ee
* Tue Feb 10 2009 pingou <pingou@pingoured.fr> - 0.3.1-8.20090210git
f0bc2ee
- Correct setup -n
f0bc2ee
ee1ffcd
* Tue Feb 10 2009 pingou <pingou@pingoured.fr> - 0.3.1-7.20090210git
ee1ffcd
- Correct typo in the release number
ee1ffcd
7e6b180
* Tue Feb 10 2009 pingou <pingou@pingoured.fr> - 0.3.1-6.20090210git
ee1ffcd
- Add a .desktop file for the preferences (see: http://trac.guake-terminal.org/ticket/86 )
7e6b180
- New version from git
7e6b180
- Correct the tab
7e6b180
fde4614
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.3.1-5
fde4614
- Rebuild for Python 2.6
fde4614
ee1ffcd
* Wed Nov 26 2008 pingou <pingou@pingoured.fr> - 0.3.1-4
4156340
- Quick and dirty trick before upstream patch
4156340
ee1ffcd
* Thu Nov 20 2008 pingou <pingou@pingoured.fr> - 0.3.1-3
f6117ae
- Correct the Source0
f6117ae
ee1ffcd
* Mon Aug 25 2008 pingou <pingou@pingoured.fr> - 0.3.1-2
d825588
- Add pygtk2 >= 2.10 in the BR
d825588
ee1ffcd
* Mon Aug 25 2008 pingou <pingou@pingoured.fr> - 0.3.1-1
1d35f0d
- New owner
1d35f0d
- New upstream release 0.3.1
1d35f0d
lokthare 41ae1fa
* Thu Jul 10 2008  <lokthare@gmail.com> - 0.2.2-5
lokthare 41ae1fa
- Remove NEWS from the doc
lokthare 41ae1fa
- Add dbus-python in Requires 
lokthare 41ae1fa
lokthare 41ae1fa
* Tue Jul  1 2008  <lokthare@gmail.com> - 0.2.2-4
lokthare 41ae1fa
- Add BR for GConf
lokthare 41ae1fa
- Fix schemas file
lokthare 41ae1fa
lokthare 41ae1fa
* Sun Jun  8 2008 Jean-François Martin <lokthare@gmail.com> 0.2.2-3
lokthare 41ae1fa
- Don't own /etc/gconf/schemas/
lokthare 41ae1fa
- Don't replace /etc/gconf/schemas/guake.schemas config file
lokthare 41ae1fa
- Remove globalhotkeys.la
lokthare 41ae1fa
lokthare 41ae1fa
* Fri Jun  6 2008 Jean-François Martin <lokthare@gmail.com> 0.2.2-2
lokthare 41ae1fa
- Fix gconf schema install
lokthare 41ae1fa
- Disable static library
lokthare 41ae1fa
lokthare 41ae1fa
* Wed Jun  4 2008 Jean-François Martin <lokthare@gmail.com> 0.2.2-1
lokthare 41ae1fa
- Initial release