]> git.pld-linux.org Git - packages/guake.git/blob - guake.spec
bea6e57293ced370f3b967f35e35506807eb08cf
[packages/guake.git] / guake.spec
1 Summary:        guake - a drop-down terminal
2 Summary(pl.UTF-8):      guake - wyskakujący terminal
3 Name:           guake
4 Version:        0.4.0
5 Release:        2
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://guake.org/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  9e04de9c05c031d763f4c9bdc194223b
10 Patch0:         %{name}-desktop.patch
11 URL:            http://guake-terminal.org/
12 BuildRequires:  GConf2-devel
13 BuildRequires:  autoconf >= 2.53
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  python-pygtk-devel
17 BuildRequires:  python-vte
18 BuildRequires:  sed >= 4.0
19 Requires(post,postun):  desktop-file-utils
20 Requires(post,postun):  scrollkeeper
21 Requires(post,preun):   GConf2
22 Requires:       dbus(org.freedesktop.Notifications)
23 Requires:       python-gnome-gconf
24 Requires:       python-pygtk-glade
25 Requires:       python-pynotify
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Guake is a drop-down terminal for Gnome Desktop Environment, so you
30 just need to press a key to invoke him, and press again to hide.
31
32 %description -l pl.UTF-8
33 Guake to wyskakujący terminal dla Gnome, a więc wystarczy nacisnąć
34 przycisk aby go wywołać i nacisnąć ponownie by schować.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 %{__libtoolize}
42 %{__aclocal} -I m4
43 %{__autoconf}
44 %{__autoheader}
45 %{__automake}
46 %configure \
47         --disable-static
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 rm -f $RPM_BUILD_ROOT%{_libdir}/guake/*.la
57
58 # fix/update locale names
59 mv $RPM_BUILD_ROOT%{_datadir}/locale/{no_NB,nb}
60 mv $RPM_BUILD_ROOT%{_datadir}/locale/ru{_RU,}
61
62 %find_lang %{name}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post
68 %update_desktop_database
69 %gconf_schema_install guake.schemas
70
71 %preun
72 %gconf_schema_uninstall guake.schemas
73
74 %postun
75 %update_desktop_database_postun
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_bindir}/*
80 %dir %{_libdir}/guake
81 %attr(755,root,root) %{_libdir}/guake/*.so
82 %{_libdir}/guake/*.py
83 %{_datadir}/guake
84 %{_pixmapsdir}/guake
85 %{_desktopdir}/*.desktop
86 %{_datadir}/dbus-1/services/org.gnome.Guake.service
87 %{_sysconfdir}/gconf/schemas/guake.schemas
88 %{_mandir}/man1/guake.1*
This page took 0.03153 seconds and 3 git commands to generate.