]>
Commit | Line | Data |
---|---|---|
6fee46c5 MB |
1 | Summary: NetworkManager VPN integration for openconnect |
2 | Summary(pl.UTF-8): Integracja NetworkManagera z openconnect | |
3 | Name: NetworkManager-openconnect | |
c7bde8ab MB |
4 | Version: 1.0.0 |
5 | Release: 1 | |
6fee46c5 MB |
6 | License: GPL v2+ |
7 | Group: X11/Applications | |
c7bde8ab MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openconnect/1.0/%{name}-%{version}.tar.xz |
9 | # Source0-md5: e1f682575d0995da35817e3c4427b520 | |
6fee46c5 | 10 | URL: http://projects.gnome.org/NetworkManager/ |
c7bde8ab | 11 | BuildRequires: NetworkManager-devel >= 2:1.0.0 |
6fee46c5 MB |
12 | BuildRequires: autoconf >= 2.52 |
13 | BuildRequires: automake | |
bcf35a17 | 14 | BuildRequires: dbus-glib-devel >= 0.74 |
3c567282 | 15 | BuildRequires: gettext-tools |
6564935f JB |
16 | BuildRequires: glib2-devel >= 1:2.32 |
17 | BuildRequires: gtk+3-devel >= 3.4 | |
6fee46c5 | 18 | BuildRequires: intltool >= 0.35.0 |
6564935f | 19 | BuildRequires: libsecret-devel |
6fee46c5 | 20 | BuildRequires: libtool |
95231f5f | 21 | BuildRequires: libxml2-devel >= 2.0 |
e72be328 | 22 | BuildRequires: openconnect-devel >= 3.02 |
f19ade5c | 23 | BuildRequires: pkgconfig |
95231f5f JB |
24 | BuildRequires: tar >= 1:1.22 |
25 | BuildRequires: xz | |
c7bde8ab | 26 | Requires: NetworkManager >= 2:1.0.0 |
95231f5f | 27 | Requires: dbus-glib >= 0.74 |
6564935f JB |
28 | Requires: glib2 >= 1:2.32 |
29 | Requires: gtk+3 >= 3.4 | |
e72be328 | 30 | Requires: openconnect >= 3.02 |
6fee46c5 MB |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | NetworkManager VPN integration for openconnect. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | Integracja NetworkManagera z openconnect. | |
38 | ||
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | %{__intltoolize} | |
44 | %{__libtoolize} | |
2294d166 | 45 | %{__aclocal} -I m4 |
6fee46c5 MB |
46 | %{__autoconf} |
47 | %{__autoheader} | |
48 | %{__automake} | |
95231f5f JB |
49 | %configure \ |
50 | --disable-static | |
6fee46c5 MB |
51 | %{__make} |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
95231f5f | 59 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/NetworkManager/*.la |
6fee46c5 MB |
60 | |
61 | %find_lang NetworkManager-openconnect | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %files -f NetworkManager-openconnect.lang | |
67 | %defattr(644,root,root,755) | |
68 | %doc AUTHORS ChangeLog | |
69 | %attr(755,root,root) %{_libdir}/NetworkManager/libnm-openconnect-properties.so | |
e72be328 | 70 | %attr(755,root,root) %{_libdir}/nm-openconnect-auth-dialog |
6fee46c5 MB |
71 | %attr(755,root,root) %{_libdir}/nm-openconnect-service |
72 | %attr(755,root,root) %{_libdir}/nm-openconnect-service-openconnect-helper | |
73 | %{_sysconfdir}/NetworkManager/VPN/nm-openconnect-service.name | |
e72be328 | 74 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/nm-openconnect-service.conf |
2294d166 | 75 | %dir %{_datadir}/gnome-vpn-properties/openconnect |
e72be328 | 76 | %{_datadir}/gnome-vpn-properties/openconnect/nm-openconnect-dialog.ui |