]> git.pld-linux.org Git - packages/vinagre.git/blame - vinagre.spec
- updated Source URL and glib2 version
[packages/vinagre.git] / vinagre.spec
CommitLineData
1f2c6980
JB
1#
2# Conditional build:
35d79705 3%bcond_with rdp # RDP support
1f2c6980
JB
4%bcond_without spice # Spice support
5%bcond_without ssh # SSH support
6
bd292ddf 7Summary: VNC client for the GNOME desktop
095b36c7 8Summary(pl.UTF-8): Klient VNC dla środowiska GNOME
bd292ddf 9Name: vinagre
ee70e236 10Version: 3.22.0
35d79705 11Release: 2
bd292ddf
PZ
12License: GPL v2+
13Group: X11/Applications
91dd5ac7 14Source0: https://download.gnome.org/sources/vinagre/3.22/%{name}-%{version}.tar.xz
ee70e236 15# Source0-md5: 451554ddf46636105cd5f0330e98d254
1f2c6980
JB
16Patch0: %{name}-freerdp.patch
17URL: https://wiki.gnome.org/Apps/Vinagre
18BuildRequires: appstream-glib-devel
6c97ef5e 19BuildRequires: autoconf >= 2.64
2a592b5b
MB
20BuildRequires: automake >= 1:1.11.1
21BuildRequires: avahi-gobject-devel >= 0.6.26
22BuildRequires: avahi-ui-gtk3-devel >= 0.6.26
c4f0eec2 23BuildRequires: dbus-glib-devel
1f2c6980 24%{?with_rdp:BuildRequires: freerdp-devel >= 1.0}
50694f70 25BuildRequires: gettext-tools >= 0.17
91dd5ac7 26BuildRequires: glib2-devel >= 1:2.32.0
b626644d 27BuildRequires: gnome-common >= 2.24.0
75e552c9 28BuildRequires: gtk+3-devel >= 3.9.6
2a592b5b 29BuildRequires: gtk3-vnc-devel >= 0.4.3
0d52af28 30BuildRequires: intltool >= 0.50.0
d4956db5 31BuildRequires: itstool
1f2c6980 32BuildRequires: libsecret-devel
2a592b5b 33BuildRequires: libtool >= 2:2.2.6
6c97ef5e 34BuildRequires: libxml2-devel >= 1:2.6.31
bd292ddf 35BuildRequires: perl-XML-Parser
9e81a81a 36BuildRequires: pkgconfig >= 1:0.24
b626644d
MB
37BuildRequires: rpmbuild(find_lang) >= 1.23
38BuildRequires: rpmbuild(macros) >= 1.311
c4f0eec2 39BuildRequires: spice-gtk-devel >= 0.5
5a24f798 40BuildRequires: tar >= 1:1.22
2a592b5b 41BuildRequires: telepathy-glib-devel >= 0.12.0
2b209146 42BuildRequires: vala >= 2:0.12.0
1f2c6980 43%{?with_ssh:BuildRequires: vte-devel >= 0.28.0}
5a24f798 44BuildRequires: xz
9e81a81a 45BuildRequires: yelp-tools
bd292ddf 46Requires(post,postun): desktop-file-utils
91dd5ac7 47Requires(post,postun): glib2 >= 1:2.32.0
ce9fba63 48Requires(post,postun): gtk-update-icon-cache
bd292ddf 49Requires(post,postun): shared-mime-info
91dd5ac7 50Requires: glib2 >= 1:2.32.0
1f2c6980
JB
51Requires: gtk+3 >= 3.9.6
52Requires: gtk3-vnc >= 0.4.3
2a592b5b 53Requires: hicolor-icon-theme
1f2c6980
JB
54Requires: libxml2 >= 1:2.6.31
55%{?with_ssh:Requires: vte >= 0.28.0}
ec4dd6e6 56Suggests: openssh-clients
1fe14332
AF
57Obsoletes: gnome-applet-vinagre
58Obsoletes: vinagre-devel
bd292ddf
PZ
59BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
60
61%description
62Vinagre is a VNC client for the GNOME desktop environment.
63
095b36c7
JB
64%description -l pl.UTF-8
65Vinagre to klient VNC dla środowiska graficznego GNOME.
66
bd292ddf
PZ
67%prep
68%setup -q
1f2c6980 69%patch0 -p1
bd292ddf
PZ
70
71%build
72%{__intltoolize}
56a22ae7 73%{__libtoolize}
bd292ddf
PZ
74%{__aclocal}
75%{__autoconf}
b626644d 76%{__autoheader}
bd292ddf
PZ
77%{__automake}
78%configure \
9e81a81a 79 SSH_PROGRAM=%{_bindir}/ssh \
2a592b5b
MB
80 --with-avahi \
81 --with-telepathy \
1f2c6980 82 %{!?with_rdp:--disable-rdp} \
6c97ef5e 83 --disable-silent-rules \
1f2c6980
JB
84 --disable-schemas-compile \
85 %{!?with_spice:--disable-spice} \
86 %{!?with_ssh:--disable-ssh}
87
bd292ddf
PZ
88%{__make}
89
90%install
91rm -rf $RPM_BUILD_ROOT
92
93%{__make} install \
2a592b5b 94 DESTDIR=$RPM_BUILD_ROOT
bd292ddf 95
9e81a81a 96%find_lang vinagre --with-gnome
bd292ddf
PZ
97
98%clean
99rm -rf $RPM_BUILD_ROOT
100
101%post
2a592b5b 102%glib_compile_schemas
bd292ddf
PZ
103%update_desktop_database_post
104%update_mime_database
105%update_icon_cache hicolor
106
107%postun
2a592b5b 108%glib_compile_schemas
bd292ddf
PZ
109%update_desktop_database_postun
110%update_mime_database
111%update_icon_cache hicolor
112
113%files -f vinagre.lang
114%defattr(644,root,root,755)
1f2c6980 115%doc AUTHORS ChangeLog NEWS README
6c97ef5e 116%attr(755,root,root) %{_bindir}/vinagre
5a24f798 117%{_datadir}/GConf/gsettings/org.gnome.Vinagre.convert
35d79705 118%{_datadir}/metainfo/vinagre.appdata.xml
6c97ef5e 119%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Vinagre.service
2a592b5b 120%{_datadir}/glib-2.0/schemas/org.gnome.Vinagre.gschema.xml
1f2c6980 121%{_datadir}/mime/packages/vinagre-mime.xml
6c97ef5e
MB
122%{_datadir}/telepathy/clients/Vinagre.client
123%{_datadir}/vinagre
1f2c6980
JB
124%{_desktopdir}/vinagre-file.desktop
125%{_desktopdir}/vinagre.desktop
126%{_iconsdir}/hicolor/*x*/mimetypes/application-x-remote-connection.png
127%{_iconsdir}/hicolor/*x*/mimetypes/application-x-vnc.png
128%{_iconsdir}/hicolor/*x*/status/view-minimize.png
129%{_iconsdir}/hicolor/scalable/mimetypes/application-x-remote-connection.svg
130%{_iconsdir}/hicolor/scalable/mimetypes/application-x-vnc.svg
131%{_mandir}/man1/vinagre.1*
This page took 0.188094 seconds and 4 git commands to generate.