]> git.pld-linux.org Git - packages/guake.git/blob - guake.spec
Release 3 (by relup.sh)
[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:        3.10
5 Release:        3
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        https://github.com/Guake/guake/archive/%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  d06eb4b40645f6d71552418102ccc04e
10 Patch0:         set_scripts_path.patch
11 Patch1:         dont_try_compile_schemas.patch
12 Patch2:         dont_use_pip_to_build.patch
13 Patch3:         fix_manpage_name.patch
14 URL:            http://guake.org/
15 BuildRequires:  glib2
16 BuildRequires:  gettext-tools
17 BuildRequires:  intltool >= 0.35
18 BuildRequires:  pkgconfig
19 BuildRequires:  python3-pygobject3-devel
20 BuildRequires:  python3-setuptools
21 BuildRequires:  python3-pbr
22 BuildRequires:  python3-pip
23 BuildRequires:  python3-reno
24 BuildRequires:  python3-sphinxcontrib-programoutput
25 BuildRequires:  python3-wheel
26 BuildRequires:  rpm-pythonprov
27 BuildRequires:  sed >= 4.0
28 Requires(post,postun):  desktop-file-utils
29 Requires:       dbus(org.freedesktop.Notifications)
30 Requires:       python3-pygobject3
31 Requires:       python3-notify2
32 Requires:       python3-pbr
33 BuildArch:      noarch
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Guake is a drop-down terminal for Gnome Desktop Environment, so you
38 just need to press a key to invoke him, and press again to hide.
39
40 %description -l pl.UTF-8
41 Guake to wyskakujący terminal dla Gnome, a więc wystarczy nacisnąć
42 przycisk aby go wywołać i nacisnąć ponownie by schować.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48 %patch2 -p1
49 %patch3 -p1
50
51 %build
52 %{__make}
53 %{__make} -C docs man
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_datadir}/glib-2.0/schemas,%{_mandir}/man1}
58
59 PBR_VERSION=%{version} \
60 SETUPTOOLS_SCM_PRETEND_VERSION=%{version} \
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT \
63         PREFIX=%{_prefix}
64
65 cp -p docs/_build/man/guake.1 $RPM_BUILD_ROOT%{_mandir}/man1
66 %find_lang %{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 %update_desktop_database
73 %glib_compile_schemas
74
75 %postun
76 %update_desktop_database_postun
77 %glib_compile_schemas
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_bindir}/*
82 %{py3_sitescriptdir}/guake
83 %{py3_sitescriptdir}/guake-%{version}-py*.egg-info
84 %{_datadir}/guake
85 %{_pixmapsdir}/guake.png
86 %{_desktopdir}/*.desktop
87 %{_datadir}/glib-2.0/schemas/org.guake.gschema.xml
88 %{_mandir}/man1/guake.1*
89 %{_metainfodir}/guake.desktop.metainfo.xml
This page took 0.099122 seconds and 4 git commands to generate.