]>
Commit | Line | Data |
---|---|---|
62775956 | 1 | # TODO: GTK4 variant for GNOME42 (--with-gtk4, requires libnma-gtk4 >= 1.8.33) |
d33eb75d MB |
2 | Summary: NetworkManager VPN integration for PPTP |
3 | Summary(pl.UTF-8): Integracja NetworkManagera z protokołem PPTP | |
4 | Name: NetworkManager-pptp | |
62775956 JB |
5 | Version: 1.2.10 |
6 | Release: 1 | |
75efe160 | 7 | License: GPL v2+ |
d33eb75d | 8 | Group: X11/Applications |
62775956 JB |
9 | Source0: https://download.gnome.org/sources/NetworkManager-pptp/1.2/%{name}-%{version}.tar.xz |
10 | # Source0-md5: 4cb83dbea925ca5ca3af9110b3949a21 | |
96802b3e | 11 | URL: https://wiki.gnome.org/Projects/NetworkManager |
d4475670 MB |
12 | BuildRequires: NetworkManager-devel >= 2:1.2.0 |
13 | BuildRequires: NetworkManager-gtk-lib-devel >= 1.2.0 | |
d33eb75d MB |
14 | BuildRequires: autoconf >= 2.59 |
15 | BuildRequires: automake >= 1:1.9 | |
6a9cf97c | 16 | BuildRequires: gettext-tools |
62775956 | 17 | BuildRequires: glib2-devel >= 1:2.34 |
fd35b249 | 18 | BuildRequires: gtk+3-devel >= 3.4 |
d33eb75d | 19 | BuildRequires: intltool >= 0.35.0 |
be7f0d08 | 20 | BuildRequires: libsecret-devel >= 0.18 |
d33eb75d MB |
21 | BuildRequires: libtool |
22 | BuildRequires: pkgconfig | |
f2e2e550 | 23 | BuildRequires: ppp-plugin-devel >= 3:2.4.5 |
8b7a44f7 MB |
24 | BuildRequires: tar >= 1:1.22 |
25 | BuildRequires: xz | |
3872c468 | 26 | Requires: NetworkManager >= 2:1.0.0 |
22b957a9 | 27 | Requires: NetworkManager-gtk-lib >= 1.0.6 |
62775956 | 28 | Requires: glib2 >= 1:2.34 |
fd35b249 | 29 | Requires: gtk+3 >= 3.4 |
be7f0d08 | 30 | Requires: libsecret >= 0.18 |
5c94514b | 31 | %requires_eq ppp |
d33eb75d MB |
32 | Requires: pptp |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | NetworkManager VPN integration for PPTP. | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | Integracja NetworkManagera z protokołem PPTP. | |
40 | ||
41 | %prep | |
42 | %setup -q | |
43 | ||
44 | %build | |
45 | %{__intltoolize} | |
46 | %{__libtoolize} | |
4921fa3d | 47 | %{__aclocal} -I m4 |
d33eb75d MB |
48 | %{__autoconf} |
49 | %{__autoheader} | |
50 | %{__automake} | |
bde63cc6 | 51 | %configure \ |
4cf7fe7e | 52 | --disable-silent-rules \ |
75efe160 | 53 | --disable-static \ |
5e8adff7 JP |
54 | --with-pppd-plugin-dir=%{_libdir}/pppd/plugins \ |
55 | --without-libnm-glib | |
d33eb75d MB |
56 | %{__make} |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
75efe160 | 64 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/NetworkManager/*.la |
643f4ff2 | 65 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pppd/plugins/*.la |
d33eb75d MB |
66 | |
67 | %find_lang %{name} | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
d33eb75d MB |
72 | %files -f %{name}.lang |
73 | %defattr(644,root,root,755) | |
74 | %doc AUTHORS ChangeLog README TODO | |
d4475670 | 75 | %attr(755,root,root) %{_libdir}/NetworkManager/libnm-vpn-plugin-pptp.so |
1a042acc | 76 | %attr(755,root,root) %{_libdir}/NetworkManager/libnm-vpn-plugin-pptp-editor.so |
f2e2e550 | 77 | %attr(755,root,root) %{_libdir}/pppd/plugins/nm-pptp-pppd-plugin.so |
4cf7fe7e MB |
78 | %attr(755,root,root) %{_libexecdir}/nm-pptp-auth-dialog |
79 | %attr(755,root,root) %{_libexecdir}/nm-pptp-service | |
0feea86d | 80 | %{_prefix}/lib/NetworkManager/VPN/nm-pptp-service.name |
62775956 JB |
81 | %{_datadir}/dbus-1/system.d/nm-pptp-service.conf |
82 | %{_datadir}/metainfo/network-manager-pptp.metainfo.xml |